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_BotCallbackAnswer_

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

Callback answer sent by the bot in response to a button press

Constructors

new
messages_BotCallbackAnswer_(params: { alert?: true; has_url?: true; native_ui?: true; message?: string; url?: string; cache_time: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
alert: true

Whether an alert should be shown to the user instead of a toast notification

cache_time: number

For how long should this answer be cached

optional
has_url: true

Whether an URL is present

optional
message: string

Alert to show

optional
native_ui: true

Whether to show games in WebView or in native UI.

optional
url: string

URL to open

Static Properties

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