Layer 220
constructor
botCommand#c27ac8c7 command:string description:string = BotCommand;

Parameters

Name Type Description
Command string /command name
Description string Description of the command

Returns

BotCommand

Gogram Example

// Creating BotCommand constructor
obj := &tg.BotCommand{
    Command: "...",
    Description: "...",
}