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

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

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

We have given the bot permission to send us direct messages.

Constructors

new
MessageActionBotAllowed_(params?: { attach_menu?: true; from_request?: true; domain?: string; app?: enums.BotApp; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
app: enums.BotApp

We have authorized the bot to send us messages by opening the specified bot mini app.

optional
attach_menu: true

We have authorized the bot to send us messages by installing the bot's attachment menu.

optional
domain: string

We have authorized the bot to send us messages by logging into a website via Telegram Login »; this field contains the domain name of the website on which the user has logged in.

optional
from_request: true

We have allowed the bot to send us messages using bots.allowSendMessage ».

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc