pub async fn get_inline_query_results(
bot_user_id: i64,
chat_id: i64,
user_location: Option<Location>,
query: String,
offset: String,
client_id: i32,
) -> Result<InlineQueryResults, Error>Expand description
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
§Arguments
bot_user_id- Identifier of the target botchat_id- Identifier of the chat where the query was sentuser_location- Location of the user; pass null if unknown or the bot doesn’t need user’s locationquery- Text of the queryoffset- Offset of the first entry to return; use empty string to get the first chunk of resultsclient_id- The client id to send the request to