Interface BotCommand

Represents a command supported by a bot.

interface BotCommand {
    @type: "botCommand";
    command: string;
    description: string;
    is_ephemeral?: boolean;
}

Properties

@type: "botCommand"
command: string

Text of the bot command.

description: string

Represents a command supported by a bot.

is_ephemeral?: boolean

True, if the command must send an ephemeral message instead of a regular one.