from __future__ import annotations

from .base import TelegramMethod


class DeleteStickerSet(TelegramMethod[bool]):
    """
    Use this method to delete a sticker set that was created by the bot. Returns :code:`True` on success.

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

    __returning__ = bool
    __api_method__ = "deleteStickerSet"

    name: str
    """Sticker set name"""
