import { tl } from '../../../tl/index.js'; import { ITelegramClient } from '../../client.types.js'; import { BotCommands } from '../../types/index.js'; /** * Set or delete commands for the current bot and the given scope * * Learn more about scopes in the [Bot API docs](https://core.telegram.org/bots/api#botcommandscope) */ export declare function setMyCommands(client: ITelegramClient, params: { /** * New list of bot commands for the given scope. * * Pass empty array or `null` to delete them. */ commands: tl.RawBotCommand[] | null; /** * Scope of the commands. * * @default `BotScope.default_` (i.e. `botCommandScopeDefault`) */ scope?: tl.TypeBotCommandScope | BotCommands.IntermediateScope; /** * User language applied to the scope. */ langCode?: string; }): Promise;