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

x/mtkruto/types/6_update.ts>UpdateInlineQuery

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface UpdateInlineQuery
import { type UpdateInlineQuery } from "https://deno.land/x/mtkruto@0.1.139/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.