all repos — telegram-bot-api @ 194446470b3786f7e02286afd073eab15c96eed8

Golang bindings for the Telegram Bot API

Merge pull request #297 from chuhlomin/patch-1

Add `is_animated` field to Sticker struct
Syfaro syfaro@huefox.com
Mon, 13 Jan 2020 00:29:58 -0600
commit

194446470b3786f7e02286afd073eab15c96eed8

parent

b33efeebc78563cfeddf19563781cffb16aaabdf

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

jump to
M types.gotypes.go

@@ -338,13 +338,14 @@ }

// Sticker contains information about a sticker. type Sticker struct { - FileID string `json:"file_id"` - Width int `json:"width"` - Height int `json:"height"` - Thumbnail *PhotoSize `json:"thumb"` // optional - Emoji string `json:"emoji"` // optional - FileSize int `json:"file_size"` // optional - SetName string `json:"set_name"` // optional + FileID string `json:"file_id"` + Width int `json:"width"` + Height int `json:"height"` + Thumbnail *PhotoSize `json:"thumb"` // optional + Emoji string `json:"emoji"` // optional + FileSize int `json:"file_size"` // optional + SetName string `json:"set_name"` // optional + IsAnimated bool `json:"is_animated"` // optional } // ChatAnimation contains information about an animation.