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

x/mtkruto/mod.ts>types.AttachMenuBot

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

Constructors

new
AttachMenuBot(params: { inactive?: true; hasSettings?: true; requestWriteAccess?: true; showInAttachMenu?: true; showInSideMenu?: true; sideMenuDisclaimerNeeded?: 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
optional
peerTypes: Array<TypeAttachMenuPeerType>
optional
requestWriteAccess: true
shortName: string
optional
showInAttachMenu: true
optional
showInSideMenu: true
optional
sideMenuDisclaimerNeeded: true

Static Properties

readonly
[paramDesc]: ParamDesc