Use this method to add a new sticker to a set created by the bot. The format of the added sticker must match the format of the other stickers in the set. Emoji sticker sets can have up to 200 stickers. Animated and video sticker sets can have up to 50 stickers. Static sticker sets can have up to 120 stickers. Returns True on success.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | array | Sticker set name | yes |
| sticker | inputSticker | stdClass | A JSON-serialized object with information about the added sticker. If exactly the same sticker had already been added to the set, then the set isn't changed. | yes |
| user_id | int | null | User identifier of sticker set owner | 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
request::addStickerToSet(name: string, sticker: InputSticker, user_id: int | null, token: String | null, forgot: Boolean | null, answer: Boolean | null);request::addStickerToSet(['name' => string, 'sticker' => InputSticker, 'user_id' => int | null, 'token' => String | null, 'forgot' => Boolean | null, 'answer' => Boolean | null]);request::addStickerToSet(name: string, sticker: InputSticker);request::addStickerToSet(['name' => string, 'sticker' => InputSticker]);