messages.SearchResultsPositions#

class pyrogram.raw.types.messages.SearchResultsPositions#

Information about sparse positions of messages.

Constructor of SearchResultsPositions.

Details:
  • Layer: 158

  • ID: 53B22BAF

Parameters:
  • count (int 32-bit) – Total number of found messages.

  • positions (List of SearchResultsPosition) – List of message positions.

Functions:

This object can be returned by 1 function.

messages.GetSearchResultsPositions

Returns sparse positions of messages of the specified type in the chat to be used for shared media scroll implementation.