BotCommand¶
- class pyrogram.raw.types.BotCommand[source]¶
Describes a bot command that can be used in a chat
Constructor of
BotCommand.- Details:
Layer:
229ID:
9852D6D2
- Parameters:
command (
str) –/commandnamedescription (
str) – Description of the commandephemeral (
bool, optional) – N/A
- Functions:
This object can be returned by 1 function.
Obtain a list of bot commands for the specified bot scope and language code