22 typedef std::shared_ptr<Sticker>
Ptr;
std::shared_ptr< File > Ptr
std::shared_ptr< MaskPosition > Ptr
std::shared_ptr< PhotoSize > Ptr
This object represents a sticker.
Type type
Type of the sticker, currently one of “regular”, “mask”, “custom_emoji”. The type of the sticker is i...
bool needsRepainting
Optional. True, if the sticker must be repainted to a text color in messages, the color of the Telegr...
PhotoSize::Ptr thumbnail
Optional. Sticker thumbnail in the .WEBP or .JPG format.
std::int32_t fileSize
Optional. File size in bytes.
MaskPosition::Ptr maskPosition
Optional. For mask stickers, the position where the mask should be placed.
std::int32_t width
Sticker width.
std::shared_ptr< Sticker > Ptr
bool isVideo
True, if the sticker is a video sticker.
std::int32_t height
Sticker height.
Type
Enum of possible types of a sticker.
File::Ptr premiumAnimation
Optional. For premium regular stickers, premium animation for the sticker.
std::string emoji
Optional. Emoji associated with the sticker.
bool isAnimated
True, if the sticker is animated.
std::string fileUniqueId
Unique identifier for this file, which is supposed to be the same over time and for different bots....
std::string setName
Optional. Name of the sticker set to which the sticker belongs.
std::string fileId
Identifier for this file, which can be used to download or reuse the file.
std::string customEmojiId
Optional. For custom emoji stickers, unique identifier of the custom emoji.