Interface DeleteCommands

Deletes commands supported by the bot for the given user scope and language; for bots only. Request type for Tdjson#deleteCommands.

interface DeleteCommands {
    @type: "deleteCommands";
    language_code: string;
    scope: BotCommandScope;
}

Properties

@type: "deleteCommands"
language_code: string

A two-letter ISO 639-1 language code or an empty string.

The scope to which the commands are relevant; pass null to delete commands in the default bot command scope.