Skip to content

getInlineQueryResults

Sahri Riza Umami edited this page Oct 12, 2017 · 3 revisions

Sends inline query to a bot and returns its results.
Returns error with code 502 if bot fails to answer the query before query timeout expires.
Unavailable for bots.

getInlineQueryResults(bot_user_id, chat_id, latitude, longitude, query, offset)
Field Type Description
bot_user_id int32 Identifier of the bot send query to
chat_id int53 Identifier of the chat, where the query is sent
user_location location User location, only if needed
query string Text of the query
offset string Offset of the first entry to return

Frequently Asked Questions
The Functions

Clone this wiki locally