Sticker
This object represents a sticker.
Properties
file_id
(str
): Identifier for this file, which can be used to download or reuse the filefile_unique_id
(str
): 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.type
(str
): 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.width
(int
): Sticker widthheight
(int
): Sticker heightis_animated
(bool
): True, if the sticker is animatedis_video
(bool
): True, if the sticker is a video stickerthumbnail
(PhotoSize): Optional. Sticker thumbnail in the .WEBP or .JPG formatemoji
(str
): Optional. Emoji associated with the stickerset_name
(str
): Optional. Name of the sticker set to which the sticker belongspremium_animation
(File): Optional. Premium animation for the sticker, if the sticker is premiummask_position
(MaskPosition): Optional. For mask stickers, the position where the mask should be placedcustom_emoji_id
(str
): Optional. For custom emoji stickers, unique identifier of the custom emojineeds_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 placesfile_size
(int
): Optional. File size in bytes