GetChatSparseMessagePositions constructor

GetChatSparseMessagePositions(
  1. {required int chat_id,
  2. required SearchMessagesFilter filter,
  3. required int from_message_id,
  4. required int limit,
  5. int? extra,
  6. int? clientId}
)

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).

Returns MessagePositions

Implementation

GetChatSparseMessagePositions