StickerSet

class pyrogram.raw.types.StickerSet

Represents a stickerset (stickerpack)

Constructor of StickerSet.

Details:
  • Layer: 223

  • ID: 2DD14EDC

Parameters:
  • id (int 64-bit) – ID of the stickerset

  • access_hash (int 64-bit) – Access hash of stickerset

  • title (str) – Title of stickerset

  • short_name (str) – Short name of stickerset, used when sharing stickerset using stickerset deep links.

  • count (int 32-bit) – Number of stickers in pack

  • hash (int 32-bit) – Hash

  • archived (bool, optional) – Whether this stickerset was archived (due to too many saved stickers in the current account)

  • official (bool, optional) – Is this stickerset official

  • masks (bool, optional) – Is this a mask stickerset

  • emojis (bool, optional) – This is a custom emoji stickerset

  • text_color (bool, optional) – Whether the color of this TGS custom emoji stickerset should be changed to the text color when used in messages, the accent color if used as emoji status, white on chat photos, or another appropriate color based on context.

  • channel_emoji_status (bool, optional) – If set, this custom emoji stickerset can be used in channel/supergroup emoji statuses.

  • creator (bool, optional) – Whether we created this stickerset

  • installed_date (int 32-bit, optional) – When was this stickerset installed

  • thumbs (List of PhotoSize, optional) – Stickerset thumbnail

  • thumb_dc_id (int 32-bit, optional) – DC ID of thumbnail

  • thumb_version (int 32-bit, optional) – Thumbnail version

  • thumb_document_id (int 64-bit, optional) – Document ID of custom emoji thumbnail, fetch the document using messages.getCustomEmojiDocuments

TL Schema

stickerSet#2dd14edc
flags:#
archived:flags.1?true
official:flags.2?true
masks:flags.3?true
emojis:flags.7?true
text_color:flags.9?true
channel_emoji_status:flags.10?true
creator:flags.11?true
installed_date:flags.0?int
id:long
access_hash:long
title:string
short_name:string
thumbs:flags.4?Vector<PhotoSize>
thumb_dc_id:flags.4?int
thumb_version:flags.4?int
thumb_document_id:flags.8?long
count:int
hash:int

= StickerSet

Parameter Tree

StickerSet
├── archivedtrue (optional)
├── officialtrue (optional)
├── maskstrue (optional)
├── emojistrue (optional)
├── text_colortrue (optional)
├── channel_emoji_statustrue (optional)
├── creatortrue (optional)
├── installed_dateint (optional)
├── idlong
├── access_hashlong
├── titlestring
├── short_namestring
├── thumbsVector < PhotoSize > (optional)
│ ├── PhotoSizeEmpty
│ │ └── typestring
│ ├── PhotoSize
│ │ ├── typestring
│ │ ├── wint
│ │ ├── hint
│ │ └── sizeint
│ ├── PhotoCachedSize
│ │ ├── typestring
│ │ ├── wint
│ │ ├── hint
│ │ └── bytesbytes
│ ├── PhotoStrippedSize
│ │ ├── typestring
│ │ └── bytesbytes
│ ├── PhotoSizeProgressive
│ │ ├── typestring
│ │ ├── wint
│ │ ├── hint
│ │ └── sizesVector < int >
│ └── PhotoPathSize
│ ├── typestring
│ └── bytesbytes
├── thumb_dc_idint (optional)
├── thumb_versionint (optional)
├── thumb_document_idlong (optional)
├── countint
└── hashint

Example

StickerSet(
    id=0,
    access_hash=0,
    title="text",
    short_name="text",
    count=0,
    hash=0,
)