View Source ExTDLib.Method.AnswerInlineQuery (ExTDLib v0.0.4)

Sets the result of an inline query; for bots only. Returns object_ptr<Ok>.

NameTypeDescription
inline_query_idstringIdentifier of the inline query.
is_personalboolPass 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.
buttoninlineQueryResultsButtonButton to be shown above inline query results; pass null if none.
resultsInputInlineQueryResultThe results of the query.
cache_timenumberAllowed time to cache the results of the query, in seconds.
next_offsetstringOffset for the next inline query; pass an empty string if there are no more results.

More details on telegram's documentation.