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_prolongWebView_

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

Indicate to the server (from the user side) that the user is still using a web app.

Constructors

new
messages_prolongWebView_(params: { silent?: true; peer: enums.InputPeer; bot: enums.InputUser; query_id: bigint; reply_to?: enums.InputReplyTo; send_as?: enums.InputPeer; })

Properties

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

Bot that owns the web app

peer: enums.InputPeer

Dialog where the web app was opened.

query_id: bigint

Web app interaction ID obtained from messages.requestWebView

optional
reply_to: enums.InputReplyTo

If set, indicates that the inline message that will be sent by the bot on behalf of the user once the web app interaction is terminated should be sent in reply to the specified message or story.

optional
send_as: enums.InputPeer

Open the web app as the specified peer

optional
silent: true

Whether the inline message that will be sent by the bot on behalf of the user once the web app interaction is terminated should be sent silently (no notifications for the receivers).

Static Properties

__F: (params: { silent?: true; peer: enums.InputPeer; bot: enums.InputUser; query_id: bigint; reply_to?: enums.InputReplyTo; send_as?: enums.InputPeer; }) => boolean
readonly
[name]: string
readonly
[paramDesc]: ParamDesc