Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/types/5_callback_query.ts>CallbackQuery

Cross-runtime JavaScript library for building Telegram clients
Latest
interface CallbackQuery
import { type CallbackQuery } from "https://deno.land/x/mtkruto@0.2.24/types/5_callback_query.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.