BotCommand#

class pyrogram.types.BotCommand#

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.