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 undefinedHashtag (without the #)
area
: Raw.TypeMediaArea or undefinedA mediaareageopoint or a mediaareavenue. note mediaareageopoint areas may be searched only if they have an associated address.
peer
: Raw.TypeInputPeer or undefinedIf set, returns only stories posted by this peer.
offset
: stringOffset for pagination: initially an empty string, then the nextOffset from the previously returned stories.foundstories.
limit
: numberMaximum number of results to return, see pagination