Skip to content

Commit

Permalink
Merge pull request go-telegram-bot-api#301 from blasphemy/sticker-uni…
Browse files Browse the repository at this point in the history
…que-id

add file_unique_id to Sticker struct
  • Loading branch information
zhuharev authored Mar 19, 2020
2 parents b401ef0 + fd860fd commit 5e339ed
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions types.go
Original file line number Diff line number Diff line change
Expand Up @@ -338,14 +338,15 @@ type Document struct {

// 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
IsAnimated bool `json:"is_animated"` // optional
FileUniqueID string `json:"file_unique_id"`
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
}

type StickerSet struct {
Expand Down

0 comments on commit 5e339ed

Please sign in to comment.