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_getBotCallbackAnswer_

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

Press an inline callback button and get a callback answer from the bot

Constructors

new
messages_getBotCallbackAnswer_(params: { game?: true; peer: enums.InputPeer; msg_id: number; data?: Uint8Array; password?: enums.InputCheckPasswordSRP; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
data: Uint8Array

Callback data

optional
game: true

Whether this is a "play game" button

msg_id: number

ID of the Message with the inline keyboard

optional
password: enums.InputCheckPasswordSRP

For buttons requiring you to verify your identity with your 2FA password, the SRP payload generated using SRP.

peer: enums.InputPeer

Where was the inline keyboard sent

Static Properties

__F: (params: { game?: true; peer: enums.InputPeer; msg_id: number; data?: Uint8Array; password?: enums.InputCheckPasswordSRP; }) => enums.messages.BotCallbackAnswer
readonly
[name]: string
readonly
[paramDesc]: ParamDesc