Implement Bot API 6.3 changes.

This commit is contained in:
OvyFlash 2022-11-06 01:32:26 +02:00
parent 4126fa6112
commit 797f683a71
3 changed files with 246 additions and 9 deletions

View file

@ -178,7 +178,9 @@ func NewVoice(chatID int64, file RequestFileData) VoiceConfig {
// two to ten InputMediaPhoto or InputMediaVideo.
func NewMediaGroup(chatID int64, files []interface{}) MediaGroupConfig {
return MediaGroupConfig{
ChatID: chatID,
BaseChat: BaseChat{
ChatID: chatID,
},
Media: files,
}
}