Skip to content

export Class

CallbackQuery ​

extends ​

BaseClass<CallbackQuery, CallbackQueryPacket>

implements ​

Partial<CallbackQueryPacket>

Represents a callback query.

Constructor ​

ts
 new CallbackQuery( client, packet )
ParameterTypeDescription
clientClient
packetCallbackQueryPacket

Properties ​

get chat : Chat ​

get message : Message ​

get user : User ​

_chat : number ​

_from : number ​

_message : number ​

chat_instance : string ​

readonly client : Client ​

data : string ​

from : User ​

game_short_name? : string ​

id : string ​

inline_message_id? : string ​

A modern, powerful library for building your Telegram bots, with seamless support for both JavaScript and Typescript.