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

x/mtkruto/3_types.ts>UpdateInlineQuery

Cross-runtime JavaScript library for building Telegram clients
Latest
interface UpdateInlineQuery
import { type UpdateInlineQuery } from "https://deno.land/x/mtkruto@0.6.2/3_types.ts";

An inline query was received. Bot-only.

client.on("inlineQuery", (ctx) => {
  const { from, query } = ctx.inlineQuery;
  console.log("User", from.id, "sent an inline query:", query);
});

Properties

inlineQuery: InlineQuery

The received inline query