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>UpdateBotCallbackQuery_

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

A callback button was pressed, and the button data was sent to the bot that created the button

Constructors

new
UpdateBotCallbackQuery_(params: { query_id: bigint; user_id: bigint; peer: enums.Peer; msg_id: number; chat_instance: bigint; data?: Uint8Array; game_short_name?: string; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
chat_instance: bigint

Global identifier, uniquely corresponding to the chat to which the message with the callback button was sent. Useful for high scores in games.

optional
data: Uint8Array

Callback data

optional
game_short_name: string

Short name of a Game to be returned, serves as the unique identifier for the game

msg_id: number

Message ID

peer: enums.Peer

Chat where the inline keyboard was sent

query_id: bigint

Query ID

user_id: bigint

ID of the user that pressed the button

Static Properties

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