Skip to main content
Module

x/mtkruto/mod.ts>Client#getMyCommands

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
method Client.prototype.getMyCommands
import { Client } from "https://deno.land/x/mtkruto@0.2.24/mod.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.