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 MessageList component of the
Channel module and in the ChannelPreview component of the
ChannelList module. 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.
How to use
While the read receipt feature is turned on by default in the
Channel module, you have to set the feature's setter method to
true in the
ChannelList module. Implement the code below to turn on the read receipt in a channel list view.
Customize the UI for read receipt
You can customize the UI for read receipt by using the following code.
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