get_inline_query_results


Description:

public async InlineQueryResults get_inline_query_results (int64 bot_user_id, int64 chat_id, Location user_location, string query, string offset) throws TDLibError

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

Parameters:

bot_user_id

Identifier of the target bot

chat_id

Identifier of the chat where the query was sent

user_location

Location of the user; pass null if unknown or the bot doesn't need user's location

query

Text of the query

offset

Offset of the first entry to return; use empty string to get the first chunk of results