StickerSet
class StickerSet
This object represents a sticker set.
Methods
__construct(string $name, string $title, string $sticker_type, bool $is_animated, bool $is_video, Sticker[] $stickers, PhotoSize|null $thumb = null)
No description
string
getName()
Sticker set name.
string
getTitle()
Sticker set title.
string
getStickerType()
Type of stickers in the set, currently one of “regular”, “mask”, “custom_emoji”.
bool
getIsAnimated()
True, if the sticker set contains animated stickers.
bool
getIsVideo()
True, if the sticker set contains video stickers.
array
getStickers()
List of all set stickers.
PhotoSize|null
getThumb()
Optional. Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format.
Details
at line 19
__construct(string $name, string $title, string $sticker_type, bool $is_animated, bool $is_video, Sticker[] $stickers, PhotoSize|null $thumb = null)
No description
at line 33
string
getName()
Sticker set name.
at line 41
string
getTitle()
Sticker set title.
at line 49
string
getStickerType()
Type of stickers in the set, currently one of “regular”, “mask”, “custom_emoji”.
at line 57
bool
getIsAnimated()
True, if the sticker set contains animated stickers.
at line 65
bool
getIsVideo()
True, if the sticker set contains video stickers.
at line 75
array
getStickers()
List of all set stickers.
at line 83
PhotoSize|null
getThumb()
Optional. Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format.