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

Syntax

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