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

x/mtkruto/types/6_update.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/types/6_update.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