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

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

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

Constructors

new
AttachMenuBot(params: { inactive?: true; hasSettings?: true; requestWriteAccess?: true; botId: bigint; shortName: string; peerTypes: Array<TypeAttachMenuPeerType>; icons: Array<TypeAttachMenuBotIcon>; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
botId: bigint
optional
hasSettings: true
icons: Array<TypeAttachMenuBotIcon>
optional
inactive: true
peerTypes: Array<TypeAttachMenuPeerType>
optional
requestWriteAccess: true
shortName: string

Static Properties

readonly
[paramDesc]: ParamDesc