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

x/mtkruto/tl/3_functions.ts>messages_toggleBotInAttachMenu_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class messages_toggleBotInAttachMenu_
extends Function_<boolean>
import { messages_toggleBotInAttachMenu_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

Enable or disable web bot attachment menu »

Constructors

new
messages_toggleBotInAttachMenu_(params: { write_allowed?: true; bot: enums.InputUser; enabled: boolean; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
bot: enums.InputUser

Bot ID

enabled: boolean

Toggle

optional
write_allowed: true

Whether the user authorizes the bot to write messages to them, if requested by attachMenuBot.request_write_access

Static Properties

__F: (params: { write_allowed?: true; bot: enums.InputUser; enabled: boolean; }) => boolean
readonly
[name]: string
readonly
[paramDesc]: ParamDesc