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

x/mtkruto/3_types.ts>InlineQuery

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface InlineQuery
Re-export
import { type InlineQuery } from "https://deno.land/x/mtkruto@0.2.50/3_types.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.