class BotCommand

This object represents a bot command.

Methods

__construct(string $command, string $description)

No description

string
getCommand()

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

string
getDescription()

Description of the command; 1-256 characters.

Details

at line 14
__construct(string $command, string $description)

No description

Parameters

string $command
string $description

at line 23
string getCommand()

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

Return Value

string

at line 31
string getDescription()

Description of the command; 1-256 characters.

Return Value

string