Raw.messages.GetSearchResultsPositions
Returns sparse positions of messages of the specified type in the chat to be used for shared media scroll implementation.
messages.getSearchResultsPositions#9c7f2f10 flags:# peer:InputPeer saved_peer_id:flags.2?InputPeer filter:MessagesFilter offset_id:int limit:int = messages.SearchResultsPositions;
export namespace Raw {
export namespace messages {
export class GetSearchResultsPositions {
constructor(params: {
peer: Raw.TypeInputPeer;
savedPeerId?: Raw.TypeInputPeer;
filter: Raw.TypeMessagesFilter;
offsetId: number;
limit: number;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x9c7f2f10
Property
peer
: Raw.TypeInputPeerPeer where to search
savedPeerId
: Raw.TypeInputPeer or undefinedSearch within the saved message dialog with this id.
filter
: Raw.TypeMessagesFilterMessage filter, inputmessagesfilterempty, inputmessagesfiltermymentions filters are not supported by this method.
offsetId
: numberOffsets for pagination, for more info click here
limit
: numberMaximum number of results to return, see pagination