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.

BotCommand

Describes a bot command that can be used in a chat

Functions:

This object can be returned by 1 function.

bots.GetBotCommands

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
├── commandstring
└── descriptionstring

Example

BotCommand(
    command="text",
    description="text",
)