import { type UpdateCallbackQuery } from "https://deno.land/x/mtkruto@0.1.141/3_types.ts";
A callback query was made (a user presses an inline button). Bot-only.
client.on("callbackQuery", async (ctx) => {
await ctx.answerCallbackQuery(ctx.callbackQuery.data, { alert: true });
});
Properties
callbackQuery: CallbackQuery
The received callback query.