answerInlineQuery¶
Sets the result of an inline query; for bots only
answerInlineQuery(
inline_query_id: int64,
is_personal: Bool,
button: InlineQueryResultsButton,
results: list of InputInlineQueryResult,
cache_time: int32,
next_offset: string
) → Ok
inline_query_id¶
int64
Identifier of the inline query
is_personal¶
Bool
Pass true if results may be cached and returned only for the user who 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¶
list of InputInlineQueryResult
The results of the query
cache_time¶
int32
Allowed time to cache the results of the query, in seconds
next_offset¶
string
Offset for the next inline query; pass an empty string if there are no more results