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.1.141/tl/2_types.ts";

Constructors

new
AttachMenuBot_(params: { inactive?: true; has_settings?: true; request_write_access?: true; show_in_attach_menu?: true; show_in_side_menu?: true; side_menu_disclaimer_needed?: true; bot_id: bigint; short_name: string; peer_types?: Array<enums.AttachMenuPeerType>; icons: Array<enums.AttachMenuBotIcon>; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
bot_id: bigint
optional
has_settings: true
icons: Array<enums.AttachMenuBotIcon>
optional
inactive: true
optional
peer_types: Array<enums.AttachMenuPeerType>
optional
request_write_access: true
short_name: string
optional
show_in_attach_menu: true
optional
show_in_side_menu: true
optional
side_menu_disclaimer_needed: true

Static Properties

readonly
[name]
readonly
[paramDesc]: ParamDesc