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

x/mtkruto/3_types.ts>InlineQuery

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface InlineQuery
import { type InlineQuery } from "https://deno.land/x/mtkruto@0.1.130/3_types.ts";

Properties

id: string

Unique identifier for this query

from: User

The user who made this query

query: string

The text of the query

offset: string

Result offset

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

Type of the chat from which the inline query was sent. Can be either “sender” for a private chat with the inline query sender, “private”, “group”, “supergroup”, or “channel”. The chat type should be always known for requests sent from official clients and most third-party clients, unless the request was sent from a secret chat

optional
location: Location

The location of the user who made this query