Returns sparse positions of messages of the specified type in the chat to be used for shared media scroll implementation.
Returns the results in reverse chronological order (i.e., in order of decreasing message_id).
messages.searchResultsPositions#53b22baf count:int positions:Vector<SearchResultsPosition> = messages.SearchResultsPositions;
---functions---
messages.getSearchResultsPositions#6e9583a3 peer:InputPeer filter:MessagesFilter offset_id:int limit:int = messages.SearchResultsPositions;
Name | Type | Description |
---|---|---|
peer | InputPeer | Peer where to search |
filter | MessagesFilter | Message filter, inputMessagesFilterEmpty, inputMessagesFilterMyMentions filters are not supported by this method. |
offset_id | int | Offsets for pagination, for more info click here |
limit | int | Maximum number of results to return, see pagination |
messages.SearchResultsPositions
Filter is absent.
Return only messages where the current user was mentioned.
How to fetch results from large lists of objects.