Layer 220
BotCommand
Describes a bot command that can be used in a chat
constructor
botCommand#c27ac8c7 command:string description:string = BotCommand;
Parameters
| Name | Type | Description |
|---|---|---|
| Command | string | /command name |
| Description | string | Description of the command |
Returns
BotCommandGogram Example
// Creating BotCommand constructor obj := &tg.BotCommand{ Command: "...", Description: "...", }