all repos — telegram-bot-api @ 047d7356559ea551e9d3dff3933c4c2aa9fd67ad

Golang bindings for the Telegram Bot API

Merge pull request #305 from AlessandroPomponio/animation-unique-id

Add FileUniqueID to ChatAnimation
Kirill Zhuharev zhuharev@users.noreply.github.com
Sun, 16 Feb 2020 19:02:04 +0300
commit

047d7356559ea551e9d3dff3933c4c2aa9fd67ad

parent

b16df76f2eb1f7a91d953450401afa1ba4a93add

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

jump to
M types.gotypes.go

@@ -403,14 +403,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.