Skip to content

getInlineQueryResults

Sahri Riza Umami edited this page Dec 8, 2016 · 2 revisions

Sends inline query to a bot and returns its results.

getInlineQueryResults(bot_user_id, chat_id, latitude, longitude, query, offset)

Unavailable for bots.

Option Description
bot_user_id Identifier of the bot send query to.
chat_id Identifier of the chat, where the query is sent.
user_location User location, only if needed.
query Text of the query.
offset Offset of the first entry to return.

Example

getInlineQueryResults(bot_user_id, chat_id, latitude, longitude, query, offset)

Test script
Frequently Asked Questions
The Functions

Clone this wiki locally