BotResults

class pyrogram.types.BotResults[source]

Results of an inline bot query, as returned by get_inline_bot_results().

Parameters:
  • query_id (int) – Unique identifier of the inline query this answer belongs to.

  • results (List of InlineQueryResult) – The results returned by the bot.

  • next_offset (str, optional) – Offset to pass to the next call to get more results.

  • cache_time (int, optional) – For how long the results should be cached on the client.

  • gallery (bool, optional) – True, if the results should be shown as a gallery.

  • users (List of User, optional) – The users mentioned by the results.