messages.GetInlineBotResults#

class pyrogram.raw.functions.messages.GetInlineBotResults#

Query an inline bot.

Details:
  • Layer: 158

  • ID: 514E999D

Parameters:
  • bot (InputUser) – The bot to query.

  • peer (InputPeer) – The currently opened chat.

  • query (str) – The query.

  • offset (str) – The offset within the results, will be passed directly as-is to the bot.

  • geo_point (InputGeoPoint, optional) – The geolocation, if requested.

Returns:

messages.BotResults