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

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