Skip to content

Commit

Permalink
Update types.go
Browse files Browse the repository at this point in the history
Added IsAnimated to Sticker struct
  • Loading branch information
chuhlomin authored Jan 13, 2020
1 parent b33efee commit 613005b
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions types.go
Original file line number Diff line number Diff line change
Expand Up @@ -338,13 +338,14 @@ 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
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.
Expand Down

0 comments on commit 613005b

Please sign in to comment.