GetChatSparseMessagePositions constructor
const
GetChatSparseMessagePositions({
- required int chatId,
- required SearchMessagesFilter filter,
- required int fromMessageId,
- required int limit,
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).. Cannot be used in secret chats or with searchMessagesFilterFailedToSend filter without an enabled message database
Implementation
const GetChatSparseMessagePositions({
required this.chatId,
required this.filter,
required this.fromMessageId,
required this.limit,
});