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

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

Contains information about a direct link Mini App.

Constructors

new
BotApp_(params: { id: bigint; access_hash: bigint; short_name: string; title: string; description: string; photo: enums.Photo; document?: enums.Document; hash: bigint; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
access_hash: bigint

bot mini app access hash

description: string

bot mini app description.

optional
document: enums.Document

bot mini app animation.

hash: bigint

Hash to pass to messages.getBotApp, to avoid refetching bot app info if it hasn't changed.

id: bigint

bot mini app ID

photo: enums.Photo

bot mini app photo.

short_name: string

bot mini app short name, used to generate Direct Mini App deep links.

title: string

bot mini app title.

Static Properties

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