sendInlineQuery

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.

query?: string
offset?: string
RESULT

The bot’s answer to the inline query.

SYNTAX
// Required parameters only.
await client.sendInlineQuery(userId, chatId);

// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.sendInlineQuery(userId, chatId, { query, offset });