BotResults

class pyrogram.raw.types.messages.BotResults

Result of a query to an inline bot.

Constructor type of BotResults.

Details
  • Layer: 126

  • ID: 0x947ca848

Parameters
  • query_id (int 64-bit) – Query ID.

  • results (List of BotInlineResult) – The results.

  • cache_time (int 32-bit) – Caching validity of the results.

  • users (List of User) – Users mentioned in the results.

  • gallery (bool, optional) – Whether the result is a picture gallery.

  • next_offset (str, optional) – The next offset to use when navigating through results.

  • switch_pm (InlineBotSwitchPM, optional) – Whether the bot requested the user to message him in private.

Methods

This object can be returned by 1 method:

messages.GetInlineBotResults

Query an inline bot.