sendCallbackQuery

Send a callback query. User-only.

Parameters

chatId: ID

The chat that includes the messsage.

messageId: number

The message that includes at 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);