BotCommand¶
- class pyrogram.types.BotCommand[source]¶
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.ephemeral (
bool, optional) – True, if the command is ephemeral and will be removed from the user’s command list after the first use.