Merge pull request #301 from blasphemy/sticker-unique-id

add file_unique_id to Sticker struct
bot-api-6.1
Kirill Zhuharev 2020-03-19 07:26:09 +03:00 committed by GitHub
commit 5e339ed016
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
} }
type StickerSet struct { type StickerSet struct {