aiogram.api.types.bot_command

aiogram/api/types/bot_command.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from __future__ import annotations

from .base import MutableTelegramObject


class BotCommand(MutableTelegramObject):
    """
    This object represents a bot command.

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

    command: str
    """Text of the command, 1-32 characters. Can contain only lowercase English letters, digits
    and underscores."""
    description: str
    """Description of the command, 3-256 characters."""