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

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

This notification is received by bots when a button is pressed

Constructors

new
UpdateInlineBotCallbackQuery_(params: { query_id: bigint; user_id: bigint; msg_id: enums.InputBotInlineMessageID; 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

Data associated with the callback button. Be aware that a bad client can send arbitrary data in this field.

optional
game_short_name: string

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

msg_id: enums.InputBotInlineMessageID

ID of the inline message with the button

query_id: bigint

Query ID

user_id: bigint

ID of the user that pressed the button

Static Properties

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