RichTextBotCommand¶
- class aiogram.types.rich_text_bot_command.RichTextBotCommand(*, type: Literal[RichTextType.BOT_COMMAND] = RichTextType.BOT_COMMAND, text: RichTextUnion, bot_command: str, **extra_data: Any)[source]¶
A bot command.
Source: https://core.telegram.org/bots/api#richtextbotcommand
- type: Literal[RichTextType.BOT_COMMAND]¶
Type of the rich text, always ‘bot_command’
- text: RichTextUnion¶
The text
- bot_command: str¶
The bot command