Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/3_functions.ts>bots_getBotCommands_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class bots_getBotCommands_
extends Function_<enums.BotCommand[]>
import { bots_getBotCommands_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

Obtain a list of bot commands for the specified bot scope and language code

Constructors

new
bots_getBotCommands_(params: { scope: enums.BotCommandScope; lang_code: string; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
lang_code: string

Language code

scope: enums.BotCommandScope

Command scope

Static Properties

__F: (params: { scope: enums.BotCommandScope; lang_code: string; }) => enums.BotCommand[]
readonly
[name]: string
readonly
[paramDesc]: ParamDesc