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

x/mtkruto/mod.ts>Client#sendInlineQuery

Cross-runtime JavaScript library for building Telegram clients
Latest
method Client.prototype.sendInlineQuery
import { Client } from "https://deno.land/x/mtkruto@0.6.3/mod.ts";

Send an inline query. User-only.

Parameters

userId: ID

The ID of the bot to send the inline query to.

chatId: ID

The ID of the chat from which the inline query is sent.

optional
params: SendInlineQueryParams

Returns

Promise<InlineQueryAnswer>

The bot's answer to the inline query.