all repos — telegram-bot-api @ e18071bed13e0f44b64762883b8a4e3e178bc91b

Golang bindings for the Telegram Bot API

Add FileUniqueID to ChatAnimation (ref. https://core.telegram.org/bots/api#animation)
Alessandro Pomponio pomponio.alessandro@hotmail.it
Sat, 08 Feb 2020 09:02:23 +0100
commit

e18071bed13e0f44b64762883b8a4e3e178bc91b

parent

3635031d7473f14e6fbdbd8d2837bb26de087650

1 files changed, 9 insertions(+), 8 deletions(-)

jump to
M types.gotypes.go

@@ -353,14 +353,15 @@ }

// 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.