add_sticker_to_set()¶
- async Client.add_sticker_to_set()¶
Add a new sticker to a sticker set. Emoji sticker sets can have up to 200 stickers; other sticker sets can have up to 120 stickers.
Usable by Users Bots- Parameters:
user_id (
int|str) – Unique identifier (int) or username (str) of the sticker set owner.name (
str) – Name of the sticker set.sticker (
InputSticker) – Sticker to be added to the set.
- Returns:
StickerSet– The updated sticker set is returned.
Example
from wzgram import enums, types await app.add_sticker_to_set( "me", "my_sticker_set", types.InputSticker( sticker="sticker.png", format=enums.StickerFormat.STATIC, emoji_list=["👍"] ) )