From 613005ba7b6d21b9362271e69af5f0e584c80ecb Mon Sep 17 00:00:00 2001 From: Konstantin Chukhlomin Date: Sun, 12 Jan 2020 23:54:08 -0500 Subject: [PATCH] Update types.go Added IsAnimated to Sticker struct --- types.go | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/types.go b/types.go index 52cb36c..abfb3a9 100644 --- a/types.go +++ b/types.go @@ -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.