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_sendWebViewData_

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

Used by the user to relay data from an opened reply keyboard bot mini app to the bot that owns it.

Constructors

new
messages_sendWebViewData_(params: { bot: enums.InputUser; random_id: bigint; button_text: string; data: string; })

Properties

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

Bot that owns the web app

button_text: string

Text of the keyboardButtonSimpleWebView that was pressed to open the web app.

data: string

Data to relay to the bot, obtained from a web_app_data_send JS event.

random_id: bigint

Unique client message ID to prevent duplicate sending of the same event

Static Properties

__F: (params: { bot: enums.InputUser; random_id: bigint; button_text: string; data: string; }) => enums.Updates
readonly
[name]: string
readonly
[paramDesc]: ParamDesc