Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/mod.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.6.3/mod.ts";

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

Parameters

optional
params: GetMyCommandsParams

Returns

Promise<BotCommand[]>

The current bot's commands in the specified language.