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

x/mtkruto/2_tl.ts>types.AttachMenuBot

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class types.AttachMenuBot
import { types } from "https://deno.land/x/mtkruto@0.1.104/2_tl.ts";
const { AttachMenuBot } = types;

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