BotCommand

class pyrogram.raw.types.BotCommand

Describes a bot command that can be used in a chat.

Constructor type of BotCommand.

Details
  • Layer: 126

  • ID: 0xc27ac8c7

Parameters
  • command (str) – /command name.

  • description (str) – Description of the command.