GetInlineBotResults

class pyrogram.raw.functions.messages.GetInlineBotResults

Query an inline bot.

Details
  • Layer: 122

  • ID: 0x514e999d

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 – Result of a query to an inline bot.