BPT\types\sticker

Extended by : BPT\types\types

This object represents a sticker.

Properties
Name Type Description Kind
file_id string Identifier for this file, which can be used to download or reuse the file normal
file_unique_id string 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. normal
type string 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. normal
width int Sticker width normal
height int Sticker height normal
is_animated bool True, if the sticker is animated normal
is_video bool True, if the sticker is a video sticker normal
thumbnail BPT\types\photoSize Optional. Sticker thumbnail in the .WEBP or .JPG format normal
emoji string Optional. Emoji associated with the sticker normal
set_name string Optional. Name of the sticker set to which the sticker belongs normal
premium_animation BPT\types\file Optional. For premium regular stickers, premium animation for the sticker normal
mask_position BPT\types\maskPosition Optional. For mask stickers, the position where the mask should be placed normal
custom_emoji_id string Optional. For custom emoji stickers, unique identifier of the custom emoji normal
needs_repainting bool Optional. 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 normal
file_size int Optional. File size in bytes normal

See methods list : methods