createNewStickerSet

Use this method to create a new sticker set owned by a user. The bot will be able to edit the sticker set thus created. Returns True on success.

Arguments
Name Type Description Required
name string | array 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_". is case insensitive. 1-64 characters. yes
title string Sticker set title, 1-64 characters yes
stickers inputSticker[] | stdClass[] A JSON-serialized list of 1-50 initial stickers to be added to the sticker set yes
sticker_format string Format of stickers in the set, must be one of “static”, “animated”, “video” yes
user_id int | null User identifier of created sticker set owner no
sticker_type string | null Type of stickers in the set, pass “regular”, “mask”, or “custom_emoji”. By default, a regular sticker set is created. no
needs_repainting bool | null 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 no
token string | null You can use this method on another bot with specify this parameter no
forgot bool | null You can set to not receive request result, dont set it or pass null for turn it off no
answer bool | null You can set to answer to webhook, dont set it or pass null for turn it off no

Output : bool | BPT\types\responseError

Static or normal : Static

Examples :

request::createNewStickerSet(name: string, title: string, stickers: Array, sticker_format: string, user_id: int | null, sticker_type: string | null, needs_repainting: bool | null, token: String | null, forgot: Boolean | null, answer: Boolean | null);
request::createNewStickerSet(['name' => string, 'title' => string, 'stickers' => Array, 'sticker_format' => string, 'user_id' => int | null, 'sticker_type' => string | null, 'needs_repainting' => bool | null, 'token' => String | null, 'forgot' => Boolean | null, 'answer' => Boolean | null]);
request::createNewStickerSet(name: string, title: string, stickers: Array, sticker_format: string);
request::createNewStickerSet(['name' => string, 'title' => string, 'stickers' => Array, 'sticker_format' => string]);