UIKit Android v3
UIKit Android
UIKit
Android
Home
/
UIKit
/
Android
This is the new Docs for UIKit v3 for Android. To see the previous Docs, click here.

Read receipt

Read receipt is a feature that allows a user to know whether their messages have been read by other users in the channel. The UI for read receipt appears in the MessageListComponent of ChannelModule and in the ChannelListComponent of the ChannelListModule. If the sender's message has been read by all recipients in the channel, a colored double-tick icon will appear above the message’s timestamp. Read receipt is only visible to the sender of the message.

Note : In order to use this feature, you must first create a channel and enable the chat service. To learn how to allow users to chat in a channel, refer to the Chat in a group channel page.


How to use

While the read receipt feature is turned on by default in ChannelModule, you have to set the feature's setter method to true in ChannelListModule. Implement the code below to turn on the read receipt in a channel list view.

public class BaseApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();

        SendbirdUIKit.setUseChannelListMessageReceiptStatus(true);
    }
}

Customize the UI for read receipt

You can customize the UI for read receipt through the icon_done_all property of the icon resource.

Icon resource

The following table shows a customizable read receipt icon.

Icon nameImageDescription

icon_done_all

An icon used to indicate that a message has been read by all members of a channel.

Note : The same double-tick icon is used for both read receipt and delivery receipt. The only difference is the color of the icon. Default icon colors used for read receipt are secondary_300 for Light theme, and secondary_200 for Dark theme.