Skip to main content
Module

x/mtkruto/client/5_client.ts>Client#getMyCommands

Cross-runtime JavaScript library for building Telegram clients
Latest
method Client.prototype.getMyCommands
import { Client } from "https://deno.land/x/mtkruto@0.2.30/client/5_client.ts";

Get the bot's commands in the given scope and/or language. Bot-only.

Returns

Promise<BotCommand[]>

The current bot's commands in the specified language.