Add FileUniqueID to ChatAnimation (ref. https://core.telegram.org/bots/api#animation)

bot-api-6.1
Alessandro Pomponio 2020-02-08 09:02:23 +01:00
parent 3635031d74
commit e18071bed1
1 changed files with 9 additions and 8 deletions

View File

@ -353,14 +353,15 @@ type MaskPosition struct {
// ChatAnimation contains information about an animation.
type ChatAnimation struct {
FileID string `json:"file_id"`
Width int `json:"width"`
Height int `json:"height"`
Duration int `json:"duration"`
Thumbnail *PhotoSize `json:"thumb"` // optional
FileName string `json:"file_name"` // optional
MimeType string `json:"mime_type"` // optional
FileSize int `json:"file_size"` // optional
FileID string `json:"file_id"`
FileUniqueID string `json:"file_unique_id"`
Width int `json:"width"`
Height int `json:"height"`
Duration int `json:"duration"`
Thumbnail *PhotoSize `json:"thumb"` // optional
FileName string `json:"file_name"` // optional
MimeType string `json:"mime_type"` // optional
FileSize int `json:"file_size"` // optional
}
// Video contains information about a video.