Raw.channels.SearchPosts
Globally search for posts from public channels (including those we aren’t a member of) containing a specific hashtag.
channels.searchPosts#d19f987b hashtag:string offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages;
export namespace Raw {
export namespace channels {
export class SearchPosts {
constructor(params: {
hashtag: string;
offsetRate: number;
offsetPeer: Raw.TypeInputPeer;
offsetId: number;
limit: number;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0xd19f987b
Property
hashtag
: stringThe hashtag to search, without the # character.
offsetRate
: numberInitially 0, then set to the nextRate parameter of messages.messagesslice
offsetPeer
: Raw.TypeInputPeerOffsets for pagination, for more info click here
offsetId
: numberOffsets for pagination, for more info click here
limit
: numberMaximum number of results to return, see pagination