messages.AllStickers

class pyrogram.raw.types.messages.AllStickers

Info about all installed stickers

Constructor of AllStickers.

Details:
  • Layer: 227

  • ID: CDBBCEBB

Parameters:
  • hash (int 64-bit) – Hash used for caching, for more info click here

  • sets (List of StickerSet) – All stickersets

Functions:

This object can be returned by 3 functions.

messages.GetAllStickers

Get all installed stickers

messages.GetMaskStickers

Get installed mask stickers

messages.GetEmojiStickers

Gets the list of currently installed custom emoji stickersets.

TL Schema

messages.allStickers#cdbbcebb
hash:long
sets:Vector<StickerSet>

= messages.AllStickers

Parameter Tree

AllStickers
├── hash → long
└── sets → Vector < StickerSet >
└── StickerSet
├── archived → true (optional)
├── official → true (optional)
├── masks → true (optional)
├── emojis → true (optional)
├── text_color → true (optional)
├── channel_emoji_status → true (optional)
├── creator → true (optional)
├── installed_date → int (optional)
├── id → long
├── access_hash → long
├── title → string
├── short_name → string
├── thumbs → Vector < PhotoSize > (optional)
│ ├── PhotoSizeEmpty
│ │ └── type → string
│ ├── PhotoSize
│ │ ├── type → string
│ │ ├── w → int
│ │ ├── h → int
│ │ └── size → int
│ ├── PhotoCachedSize
│ │ ├── type → string
│ │ ├── w → int
│ │ ├── h → int
│ │ └── bytes → bytes
│ ├── PhotoStrippedSize
│ │ ├── type → string
│ │ └── bytes → bytes
│ ├── PhotoSizeProgressive
│ │ ├── type → string
│ │ ├── w → int
│ │ ├── h → int
│ │ └── sizes → Vector < int >
│ └── PhotoPathSize
│ ├── type → string
│ └── bytes → bytes
├── thumb_dc_id → int (optional)
├── thumb_version → int (optional)
├── thumb_document_id → long (optional)
├── count → int
└── hash → int

Example

AllStickers(
    hash=0,
    sets=[
            StickerSet(
                id=0,
                access_hash=0,
                title="text",
                short_name="text",
                count=0,
                hash=0
            )
        ],
)