answer_inline_query


Description:

public async Ok answer_inline_query (int64 inline_query_id, bool is_personal, InlineQueryResultsButton button, ArrayList<InputInlineQueryResult?> results, int32 cache_time, string next_offset) throws TDLibError

Sets the result of an inline query; for bots only

Parameters:

inline_query_id

Identifier of the inline query

is_personal

Pass true if results may be cached and returned only for the user that sent the query. By default, results may be returned to any user who sends the same query

button

Button to be shown above inline query results; pass null if none

results

The results of the query

cache_time

Allowed time to cache the results of the query, in seconds

next_offset

Offset for the next inline query; pass an empty string if there are no more results