Methods

sendCallbackQuery

Send a callback query. USER-ONLY CACHE

Parameters

chatId: ID

The identifier of the chat to send the callback query in.

messageId: number

The identifier of the message that includes a button responsible for the callback query question.

The callback query’s question.

Result

The bot’s answer to the callback query.

Syntax

await client.sendCallbackQuery(chatId, messageId, question);