BotCommand
- class pyrogram.raw.types.BotCommand
Describes a bot command that can be used in a chat
Constructor of
BotCommand.- Details:
Layer:
223ID:
C27AC8C7
- Parameters:
command (
str) – /command namedescription (
str) – Description of the command
- 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",
)