Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/mod.ts>Client#sendCallbackQuery

Cross-runtime JavaScript library for building Telegram clients
Latest
method Client.prototype.sendCallbackQuery
import { Client } from "https://deno.land/x/mtkruto@0.6.3/mod.ts";

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.

question: CallbackQueryQuestion

The callback query's question.

Returns

Promise<CallbackQueryAnswer>

The bot's answer to the callback query.