TDLib v0.0.2 TDLib.Method.GetInlineQueryResults View Source

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

NameTypeDescription
bot_user_idnumberThe identifier of the target bot.
chat_idstringIdentifier of the chat, where the query was sent.
user_locationlocationLocation of the user, only if needed.
querystringText of the query.
offsetstringOffset of the first entry to return.

More details on telegram’s documentation.