stickers.setStickerSetThumb

Set stickerset thumbnail

messages.stickerSet#b60a24a6 set:StickerSet packs:Vector<StickerPack> documents:Vector<Document> = messages.StickerSet;
---functions---
stickers.setStickerSetThumb#9a364e30 stickerset:InputStickerSet thumb:InputDocument = messages.StickerSet;

Parameters

Name Type Description
stickerset InputStickerSet Stickerset
thumb InputDocument Thumbnail

Result

messages.StickerSet

Possible errors

Code Type Description
400 STICKERSET_INVALID The provided sticker set is invalid.
400 STICKER_THUMB_PNG_NOPNG Incorrect stickerset thumb file provided, PNG / WEBP expected.
400 STICKER_THUMB_TGS_NOTGS Incorrect stickerset TGS thumb file provided.

Bots can use this method