messages.GetSearchResultsPositions#
- class pyrogram.raw.functions.messages.GetSearchResultsPositions[source]#
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 search
- filter (
MessagesFilter): Message filter, inputMessagesFilterEmpty, inputMessagesFilterMyMentions filters are not supported by this method.
- offset_id (
int32-bit): - limit (
int32-bit): Maximum number of results to return, see pagination
- saved_peer_id (
InputPeer, optional): Search within the saved message dialog » with this ID.
- peer (
- Returns: