method ApiMethods.deleteMyCommands
ApiMethods.deleteMyCommands(args: { scope?: BotCommandScope; language_code?: LanguageCode; }): true

Use this method to delete the list of the bot's commands for the given scope and user language. After deletion, higher level commands will be shown to affected users. Returns True on success.

Parameters

args: { scope?: BotCommandScope; language_code?: LanguageCode; }

Return Type

true

Usage

import { type ApiMethods } from "types";