/ SDKs / Flutter
Chat SDKs Flutter v3
Chat SDKs Flutter
Chat SDKs
Version 3
Sendbird Chat SDK v3 for Flutter is no longer supported as a new version is released. Check out our latest Chat SDK v4

Retrieve members who have read a message

Copy link

Using the getReadMembers() method, you can view members who have read a specific message in a group channel. The method returns a list of channel members who have read the message by comparing the message's creation time and the channel members' read receipt. The list excludes the current user and the message sender.

Note: Read receipt indicates the timestamp of the latest time when each user has read messages in the channel in Unix milliseconds.

If you want real-time updates on who has read a new message, use the onReadReceiptUpdated() event handler for the client app to receive a callback from the Sendbird server whenever a channel member reads a message.

/// Informs when read receipts get updated in a specific group channel.
void onReadReceiptUpdated(GroupChannel channel) {}

Note: Using the getUnreadMembers() method, you can also view members who haven't read a specific message in a group channel, except the current user and the message sender. In the meantime, you can get information on each channel member's read receipt through the getReadStatus() method.