Interface BotCommand

This object represents a bot command.

interface BotCommand {
    command: string;
    description: string;
}

Properties

Properties

command: string

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

description: string

Description of the command; 1-256 characters.