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

x/mtkruto/types/2_inline_query.ts>InlineQuery

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

An incoming inline query.

Properties

id: string

The identifier of the inline query.

from: User

The user who made the inline query.

query: string

The query that was made.

offset: string

The offset parameter that was passed to the last answerInlineQuery call.

optional
chatType:
| "sender"
| "private"
| "group"
| "supergroup"
| "channel"

The type of the chat from which the inline query was made.

optional
location: Location

The location of the user who made the inline query.