createNewStickerSet
Create a new sticker set for a user with a unique name, title, and initial stickers, enabling the bot to manage it. Specify sticker type and repainting options as needed.
Instructions
Create a new sticker set owned by a user. The bot will be able to edit the sticker set. Returns True on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Short name of sticker set, to be used in t.me/addstickers/ URLs (e.g., animals). Can contain only English letters, digits and underscores. Must begin with a letter, can't contain consecutive underscores and must end in '_by_<bot_username>'. <bot_username> is case insensitive. 1-64 characters. | |
| title | Yes | Sticker set title, 1-64 characters. | |
| user_id | Yes | User identifier of created sticker set owner. | |
| stickers | Yes | A list of 1-50 initial stickers to be added to the sticker set. Each object is an InputSticker with sticker, format, emoji_list, mask_position (optional), and keywords (optional). | |
| sticker_type | No | Type of stickers in the set: "regular", "mask", or "custom_emoji". By default, a regular sticker set is created. | |
| needs_repainting | No | Pass True if stickers in the sticker set must be repainted to the color of text when used in messages, the accent color if used as emoji status, white on chat photos, or another appropriate color based on context. For custom emoji sticker sets only. |