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>messages_BotApp_

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

Contains information about a direct link Mini App

Constructors

new
messages_BotApp_(params: { inactive?: true; request_write_access?: true; has_settings?: true; app: enums.BotApp; })

Properties

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

Bot app information

optional
has_settings: true

Deprecated flag, can be ignored.

optional
inactive: true

Whether the web app was never used by the user, and confirmation must be asked from the user before opening it.

optional
request_write_access: true

The bot is asking permission to send messages to the user: if the user agrees, set the write_allowed flag when invoking messages.requestAppWebView.

Static Properties

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