Interface BotCommands

Contains a list of bot commands.

interface BotCommands {
    @type: "botCommands";
    bot_user_id: number;
    commands: BotCommand[];
}

Properties

@type: "botCommands"
bot_user_id: number

Bot's user identifier.

commands: BotCommand[]

List of bot commands.