BotCommand

class pyrogram.raw.types.BotCommand

Telegram API type.

Constructor of BotCommand.

Details:
  • Layer: 228

  • ID: 9852D6D2

Parameters:
  • command (str) – N/A

  • description (str) – N/A

  • ephemeral (bool, optional) – N/A

Functions:

This object can be returned by 1 function.

bots.GetBotCommands

Telegram API function.