stickers.SetStickerSetThumb

class pyrogram.raw.functions.stickers.SetStickerSetThumb

Set stickerset thumbnail

Details:
  • Layer: 223

  • ID: A76A5392

Parameters:
  • stickerset (InputStickerSet) – Stickerset

  • thumb (InputDocument, optional) – Thumbnail (only for normal stickersets, not custom emoji stickersets).

  • thumb_document_id (int 64-bit, optional) – Only for custom emoji stickersets, ID of a custom emoji present in the set to use as thumbnail; pass 0 to fallback to the first custom emoji of the set.

Returns:

messages.StickerSet

TL Schema

stickers.setStickerSetThumb#a76a5392
flags:#
stickerset:InputStickerSet
thumb:flags.0?InputDocument
thumb_document_id:flags.1?long

= messages.StickerSet

Parameter Tree

SetStickerSetThumb
├── stickersetInputStickerSet
│ ├── InputStickerSetEmpty
│ ├── InputStickerSetID
│ │ ├── idlong
│ │ └── access_hashlong
│ │ └── short_namestring
│ ├── InputStickerSetDice
│ │ └── emoticonstring
├── thumbInputDocument (optional)
│ ├── InputDocumentEmpty
│ └── InputDocument
│ ├── idlong
│ ├── access_hashlong
│ └── file_referencebytes
└── thumb_document_idlong (optional)

Example

await app.invoke(
    SetStickerSetThumb(
        stickerset=InputStickerSetEmpty(),
        thumb=InputDocumentEmpty(),
        thumb_document_id=0,
    )
)