Sticker
This object represents a sticker.
Fields
file_idStringRequiredIdentifier for this file, which can be used to download or reuse the file
file_unique_idStringRequiredUnique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.
typeStringRequiredValues:
regularmaskcustom_emojiType of the sticker, currently one of "regular", "mask", "custom\emoji". The type of the sticker is independent from its format, which is determined by the fields is\animated and is\_video.
widthIntegerRequiredSticker width
heightIntegerRequiredSticker height
is_animatedBooleanRequiredTrue, if the sticker is animated
is_videoBooleanRequiredTrue, if the sticker is a video sticker
Optional. Sticker thumbnail in the .WEBP or .JPG format
emojiStringOptionalOptional. Emoji associated with the sticker
set_nameStringOptionalOptional. Name of the sticker set to which the sticker belongs
Optional. For premium regular stickers, premium animation for the sticker
Optional. For mask stickers, the position where the mask should be placed
custom_emoji_idStringOptionalOptional. For custom emoji stickers, unique identifier of the custom emoji
needs_repaintingTrueOptionalOptional. True, if the sticker must be repainted to a text color in messages, the color of the Telegram Premium badge in emoji status, white color on chat photos, or another appropriate color in other places
file_sizeIntegerOptionalOptional. File size in bytes