Layer 224
BotCommandObj
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 BotCommandObj constructor obj := &tg.BotCommandObj{ Command: "Hello, World!", Description: "Hello, World!", }