Layer 228
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 BotCommandObj constructor
obj := &tg.BotCommandObj{
    Command: "example",
    Description: "Example description",
}