stories.SearchPosts#

class pyrogram.raw.functions.stories.SearchPosts#

Globally search for stories using a hashtag or a location media area, see here » for more info on the full flow.

Details:
  • Layer: 187

  • ID: 6CEA116A

Parameters:
  • offset (str) – Offset for pagination: initially an empty string, then the next_offset from the previously returned stories.foundStories.

  • limit (int 32-bit) – Maximum number of results to return, see pagination

  • hashtag (str, optional) – Hashtag (without the #)

  • area (MediaArea, optional) – A mediaAreaGeoPoint or a mediaAreaVenue. Note mediaAreaGeoPoint areas may be searched only if they have an associated address.

Returns:

stories.FoundStories