@@ -1986,6 +1986,10 @@ type Sticker struct {
1986
1986
//
1987
1987
// optional
1988
1988
IsAnimated bool `json:"is_animated,omitempty"`
1989
+ // IsVideo true, if the sticker is a video sticker
1990
+ //
1991
+ // optional
1992
+ IsVideo bool `json:"is_video,omitempty"`
1989
1993
// Thumbnail sticker thumbnail in the .WEBP or .JPG format
1990
1994
//
1991
1995
// optional
@@ -1998,11 +2002,19 @@ type Sticker struct {
1998
2002
//
1999
2003
// optional
2000
2004
SetName string `json:"set_name,omitempty"`
2005
+ // PremiumAnimation for premium regular stickers, premium animation for the sticker
2006
+ //
2007
+ // optional
2008
+ PremiumAnimation * File `json:"premium_animation,omitempty"`
2001
2009
// MaskPosition is for mask stickers, the position where the mask should be
2002
2010
// placed
2003
2011
//
2004
2012
// optional
2005
2013
MaskPosition * MaskPosition `json:"mask_position,omitempty"`
2014
+ // CustomEmojiID for custom emoji stickers, unique identifier of the custom emoji
2015
+ //
2016
+ // optional
2017
+ CustomEmojiID string `json:"custom_emoji_id,omitempty"`
2006
2018
// FileSize
2007
2019
//
2008
2020
// optional
@@ -2015,8 +2027,12 @@ type StickerSet struct {
2015
2027
Name string `json:"name"`
2016
2028
// Title sticker set title
2017
2029
Title string `json:"title"`
2030
+ // StickerType of stickers in the set, currently one of “regular”, “mask”, “custom_emoji”
2031
+ StickerType string `json:"sticker_type"`
2018
2032
// IsAnimated true, if the sticker set contains animated stickers
2019
2033
IsAnimated bool `json:"is_animated"`
2034
+ // IsVideo true, if the sticker set contains video stickers
2035
+ IsVideo bool `json:"is_video"`
2020
2036
// ContainsMasks true, if the sticker set contains masks
2021
2037
ContainsMasks bool `json:"contains_masks"`
2022
2038
// Stickers list of all set stickers
0 commit comments