Class BotCommandType.

This object represents a bot command.

see
package Default

 Methods

create()

create(\TgBotApi\BotApiBase\Type\string $command, \TgBotApi\BotApiBase\Type\string $description) 
Static

Parameters

$command

$description

 Properties

 

Text of the command, 1-32 characters. Can contain only lowercase English letters, digits and underscores.

$command : string

Default

 

Description of the command, 3-256 characters.

$description : string

Default