deleteStickerSet#

Returns: bool

class aiogram.methods.delete_sticker_set.DeleteStickerSet(*, name: str, **extra_data: Any)[source]#

Use this method to delete a sticker set that was created by the bot. Returns True on success.

Source: https://core.telegram.org/bots/api#deletestickerset

name: str#

Sticker set name

model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

Usage#

As bot method#

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

Method as object#

Imports:

  • from aiogram.methods.delete_sticker_set import DeleteStickerSet

  • alias: from aiogram.methods import DeleteStickerSet

With specific bot#

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

As reply into Webhook in handler#

return DeleteStickerSet(...)