Sticker
This object represents a sticker.
Поля
file_idString
Identifier for this file, which can be used to download or reuse the file
file_unique_idString
Unique 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.
typeString
Type 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.
widthInteger
Sticker width
heightInteger
Sticker height
is_animatedBoolean
True, if the sticker is animated
is_videoBoolean
True, if the sticker is a video sticker
Emoji associated with the sticker
Name of the sticker set to which the sticker belongs
For mask stickers, the position where the mask should be placed
For custom emoji stickers, unique identifier of the custom emoji
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 size in bytes
Минимальный JSON
JSON
{
"file_id": "...",
"file_unique_id": "...",
"type": "private",
"width": 1,
"height": 1,
"is_animated": true,
"is_video": true
}