BotCommand¶
- class ftmgram.types.BotCommand(command: str, description: str, is_ephemeral: bool | None = None)¶
A bot command with the standard slash “/” prefix.
- Parameters:
command (
str) – Text of the command; 1-32 characters. Can contain only lowercase English letters, digits and underscores.description (
str) – Description of the command; 1-256 characters.is_ephemeral (
bool, optional) – True, if the command is ephemeral and visible only to the specific user (Bot API 10.2).