Create a stickerset, bots only.
messages.stickerSet#b60a24a6 set:StickerSet packs:Vector<StickerPack> documents:Vector<Document> = messages.StickerSet;
---functions---
stickers.createStickerSet#9021ab67 flags:# masks:flags.0?true animated:flags.1?true user_id:InputUser title:string short_name:string thumb:flags.2?InputDocument stickers:Vector<InputStickerSetItem> software:flags.3?string = messages.StickerSet;
Parameters
Result
messages.StickerSet
Possible errors
Code |
Type |
Description |
400 |
BOT_MISSING |
This method can only be run by a bot. |
400 |
PACK_SHORT_NAME_INVALID |
Short pack name invalid. |
400 |
PACK_SHORT_NAME_OCCUPIED |
A stickerpack with this name already exists. |
400 |
PACK_TITLE_INVALID |
The stickerpack title is invalid. |
400 |
PEER_ID_INVALID |
The provided peer id is invalid. |
400 |
SHORTNAME_OCCUPY_FAILED |
An internal error occurred. |
400 |
STICKERS_EMPTY |
No sticker provided. |
400 |
STICKER_EMOJI_INVALID |
Sticker emoji invalid. |
400 |
STICKER_FILE_INVALID |
Sticker file invalid. |
400 |
STICKER_PNG_DIMENSIONS |
Sticker png dimensions invalid. |
400 |
STICKER_PNG_NOPNG |
One of the specified stickers is not a valid PNG file. |
400 |
STICKER_TGS_NODOC |
Incorrect document type for sticker. |
400 |
STICKER_TGS_NOTGS |
Invalid TGS sticker provided. |
400 |
STICKER_THUMB_PNG_NOPNG |
Incorrect stickerset thumb file provided, PNG / WEBP expected. |
400 |
STICKER_THUMB_TGS_NOTGS |
Incorrect stickerset TGS thumb file provided. |
400 |
USER_ID_INVALID |
The provided user ID is invalid. |
Bots can use this method