stickers.SetStickerSetThumb
- class pyrogram.raw.functions.stickers.SetStickerSetThumb
Set stickerset thumbnail
- Details:
Layer:
223ID:
A76A5392
- Parameters:
stickerset (
InputStickerSet) – Stickersetthumb (
InputDocument, optional) – Thumbnail (only for normal stickersets, not custom emoji stickersets).thumb_document_id (
int64-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:
TL Schema
stickers.setStickerSetThumb#a76a5392
flags:#
stickerset:InputStickerSet
thumb:flags.0?InputDocument
thumb_document_id:flags.1?long
= messages.StickerSet
Parameter Tree
SetStickerSetThumb
├── stickerset →
InputStickerSet│ ├──
InputStickerSetEmpty│ ├──
InputStickerSetID│ │ ├── id →
long│ │ └── access_hash →
long│ ├──
InputStickerSetShortName│ │ └── short_name →
string│ ├──
InputStickerSetDice│ │ └── emoticon →
string│ └──
InputStickerSetTonGifts├── thumb →
InputDocument (optional)│ ├──
InputDocumentEmpty│ └──
InputDocument│ ├── id →
long│ ├── access_hash →
long│ └── file_reference →
bytes└── thumb_document_id →
long (optional)Example
await app.invoke(
SetStickerSetThumb(
stickerset=InputStickerSetEmpty(),
thumb=InputDocumentEmpty(),
thumb_document_id=0,
)
)