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

x/mtkruto/client/4_inline_query_manager.ts>InlineQueryManager

Cross-runtime JavaScript library for building Telegram clients
Latest
class InlineQueryManager
import { InlineQueryManager } from "https://deno.land/x/mtkruto@0.6.2/client/4_inline_query_manager.ts";

Constructors

new
InlineQueryManager(c: C)

Methods

answerInlineQuery(
id: string,
results: InlineQueryResult[],
params?: AnswerInlineQueryParams,
)
handleUpdate(update: InlineQueryManagerUpdate): Promise<Update>
sendInlineQuery(
userId: ID,
chatId: ID,
params?: SendInlineQueryParams,
)

Static Methods

canHandleUpdate(update: Api.Update): update is InlineQueryManagerUpdate