RichTextBotCommand

class pyrogram.types.RichTextBotCommand[source]

A bot command.

Parameters:
  • text (RichText) – The text.

  • bot_command (str) – The bot command.