Returns: bool

class aiogram.methods.add_sticker_to_set.AddStickerToSet(*, user_id: int, name: str, sticker: InputSticker, **extra_data: Any)[source]#

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.


user_id: int#

User identifier of sticker set owner

name: str#

Sticker set name

sticker: InputSticker#

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.


As bot method#

result: bool = await bot.add_sticker_to_set(...)

Method as object#


  • from aiogram.methods.add_sticker_to_set import AddStickerToSet

  • alias: from aiogram.methods import AddStickerToSet

With specific bot#

result: bool = await bot(AddStickerToSet(...))

As reply into Webhook in handler#

return AddStickerToSet(...)