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.

  • 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

  • needs_repainting (bool, optional) – True, if the sticker needs repainting. if the sticker can 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. Only applicable to custom emoji stickers.

  • 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.

  • thumbs (List of Thumbnail, optional) – Sticker thumbnails in the .webp or .jpg format.