Inline InteractionsUSER-ONLY
User Walkthrough 35 of 50
Users can interact with callback buttons and inline bots as a user client.
Sending a Callback Query
sendCallbackQuery accepts the message and button data.
const answer = await client.sendCallbackQuery(botId, messageId, question);
Sending an Inline Query
Query an inline bot and receive its results through sendInlineQuery.
const answer = await client.sendInlineQuery(botId, chatId, {
query: "cats",
});