Skip to main content
Module

x/mtkruto/mod.ts>CallbackQuery

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface CallbackQuery
Re-export
import { type CallbackQuery } from "https://deno.land/x/mtkruto@0.1.162/mod.ts";

A received callback query.

Properties

id: string

The identifier of the callback query.

from: User

The user who made the callback query.

optional
message: Message

The message from which the callback query was made. Unset if made from an inline result message.

optional
inlineMessageId: string

The identifier of the inline result message from which the callback query was made. Unset if made from a message not originating from an inline query result.

chatInstance: string

A special identifier for the chat in which the callback was made from. Useful for inline result messages.

optional
data: string

The data associated with the button that was used to make the callback query.

optional
gameShortName: string

The short name of the game to be returned.