add file_unique_id

bot-api-6.1
Daniel Leining 2020-01-23 23:41:44 -05:00
parent aa124ef1e8
commit fd860fdd66
1 changed files with 9 additions and 8 deletions

View File

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