Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/3_types.ts>CallbackQuery

Cross-runtime JavaScript library for building Telegram clients
Latest
interface CallbackQuery
Re-export
import { type CallbackQuery } from "https://deno.land/x/mtkruto@0.6.3/3_types.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.