BotCommand

class pyrogram.types.BotCommand

A bot command with the standard slash “/” prefix.

Parameters
  • command (str) – The bot command, for example: “/start”.

  • description (str) – Description of the bot command.