sendInlineQuery
Send an inline query. USER-ONLY CACHE
Parameters
The identifier of a bot to send the inline query to.
The identifier of the chat from which the inline query is sent.
query?: string
The inline query’s text. Defaults to empty string.
offset?: string
Bot-provided pagination offset.
Result
The bot’s answer to the inline query.
Syntax
// Required parameters only.
await client.sendInlineQuery(botId, chatId);
// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.sendInlineQuery(botId, chatId, { query, offset });