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

x/mtkruto/3_types.ts>inlineQueryResultToTlObject

Cross-runtime JavaScript library for building Telegram clients
Latest
function inlineQueryResultToTlObject
import { inlineQueryResultToTlObject } from "https://deno.land/x/mtkruto@0.6.2/3_types.ts";

Parameters

parseText: (text: string, params?: { parseMode?: ParseMode; entities?: MessageEntity[]; }) => Promise<readonly [string, any[] | undefined]>
usernameResolver: UsernameResolver

Returns

Promise<Api.InputBotInlineResult>