peyk.platforms.telegram.methods.add_sticker_to_set¶
- async peyk.platforms.telegram.methods.add_sticker_to_set(self, user_id: int, name: str, sticker: InputSticker) bool¶
Use this method to add a new sticker to a set created by the bot. Emoji sticker sets can have up to 200 stickers. Other sticker sets can have up to 120 stickers. Returns True on success.
- Parameters:
user_id – User identifier of sticker set owner
name – Sticker set name
sticker – 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.
- Returns:
Result returned by Telegram on successful execution.
- Return type:
bool