Sticker¶
- class pyrogram.types.Sticker¶
A sticker.
- Parameters:
file_id (
str) – Identifier for this file, which can be used to download or reuse the file.file_unique_id (
str) – Unique identifier for this file, which is supposed to be the same over time and for different accounts. Can’t be used to download or reuse the file.type (
StickerType) – Type of the sticker.width (
int) – Sticker width.height (
int) – Sticker height.is_animated (
bool) – True, if the sticker is animated.is_video (
bool) – True, if the sticker is a video sticker.file_name (
str, optional) – Sticker file name.mime_type (
str, optional) – MIME type of the file as defined by sender.file_size (
int, optional) – File size.date (
datetime, optional) – Date the sticker was sent.emoji (
str, optional) – Emoji associated with the sticker.set_name (
str, optional) – Name of the sticker set to which the sticker belongs.premium_animation (
Animation, optional) – For premium regular stickers, premium animation for the sticker.mask_position (
MaskPosition, optional) – For mask stickers, the position where the mask should be placed.custom_emoji_id (
str, optional) – For custom emoji stickers, unique identifier of the custom emoji.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.thumbs (List of
Thumbnail, optional) – Sticker thumbnails in the .webp or .jpg format.raw (
Document, optional) – The raw sticker.