Raw.stories.SearchPosts

Raw.stories.SearchPosts

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

stories.searchPosts#d1810907 flags:# hashtag:flags.0?string area:flags.1?MediaArea peer:flags.2?InputPeer offset:string limit:int = stories.FoundStories;
export namespace Raw {
  export namespace stories {
    export class SearchPosts {
      constructor(params: {
        hashtag?: string;
        area?: Raw.TypeMediaArea;
        peer?: Raw.TypeInputPeer;
        offset: string;
        limit: number;
      }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 198
Constructor ID: 0xd1810907

Property

  • hashtag : string or undefined

    Hashtag (without the #)

  • area : Raw.TypeMediaArea or undefined

    A mediaareageopoint or a mediaareavenue. note mediaareageopoint areas may be searched only if they have an associated address.

  • peer : Raw.TypeInputPeer or undefined

    If set, returns only stories posted by this peer.

  • offset : string

    Offset for pagination: initially an empty string, then the nextOffset from the previously returned stories.foundstories.

  • limit : number

    Maximum number of results to return, see pagination

Results

Raw.stories.TypeFoundStories