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_setBotCommands_

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

Set bot command list

Constructors

new
bots_setBotCommands_(params: { scope: enums.BotCommandScope; lang_code: string; commands: Array<enums.BotCommand>; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
commands: Array<enums.BotCommand>

Bot commands

lang_code: string

Language code

scope: enums.BotCommandScope

Command scope

Static Properties

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