markConversationMessagesAsRead abstract method

Future<void> markConversationMessagesAsRead(
  1. String conversationId, {
  2. String? senderIdFilter,
})

Marks sent/delivered messages in a conversation as read.

Called when a conversation-level read receipt arrives (the other user opened the chat), indicating they have seen the messages you sent.

senderIdFilter — when provided, only messages with that sender_id are updated. Pass the current user's ID so that only your own sent messages are promoted to 'read'; received messages are left unchanged.

Implementation

Future<void> markConversationMessagesAsRead(String conversationId, {String? senderIdFilter});