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

x/mtkruto/tl/2_types.ts>UpdateBotCommands_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class UpdateBotCommands_
extends _Update_
import { UpdateBotCommands_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

The command set of a certain bot in a certain chat has changed.

Constructors

new
UpdateBotCommands_(params: { peer: enums.Peer; bot_id: bigint; commands: Array<enums.BotCommand>; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
bot_id: bigint

ID of the bot that changed its command set

commands: Array<enums.BotCommand>

New bot commands

peer: enums.Peer

The affected chat

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc