messages.GetSearchResultsPositions#
- class pyrogram.raw.functions.messages.GetSearchResultsPositions#
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).
Usable by ✅ Users ❌ Bots- Details:
Layer:
224ID:
9C7F2F10
- Parameters:
peer (
InputPeer) – Peer where to searchfilter (
MessagesFilter) – Message filter, inputMessagesFilterEmpty, inputMessagesFilterMyMentions filters are not supported by this method.offset_id (
int32-bit) – Offsets for pagination, for more info click herelimit (
int32-bit) – Maximum number of results to return, see paginationsaved_peer_id (
InputPeer, optional) – Search within the saved message dialog » with this ID.
- Returns: