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_setBotCallbackAnswer_

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

Set the callback answer to a user button press (bots only)

Constructors

new
messages_setBotCallbackAnswer_(params: { alert?: true; query_id: bigint; message?: string; url?: string; cache_time: number; })

Properties

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

Whether to show the message as a popup instead of a toast notification

cache_time: number

Cache validity

optional
message: string

Popup to show

query_id: bigint

Query ID

optional
url: string

URL to open

Static Properties

__F: (params: { alert?: true; query_id: bigint; message?: string; url?: string; cache_time: number; }) => boolean
readonly
[name]: string
readonly
[paramDesc]: ParamDesc