BotCommand
- class pyrogram.raw.base.BotCommand
Describes a bot command that can be used in a chat
- Constructors:
This base type has 1 constructor available.
Describes a bot command that can be used in a chat
- Functions:
This object can be returned by 1 function.
Obtain a list of bot commands for the specified bot scope and language code
TL Schema
botCommand#c27ac8c7
command:string
description:string
= BotCommand
Parameter Tree
BotCommand
├── command →
string└── description →
stringExample
BotCommand(
command="text",
description="text",
)