/ UIKit / Android View
UIKit
Chat UIKit Android View v3
Chat UIKit Android View
Chat UIKit
Android View
Version 3

Delivery receipt

Copy link

Delivery receipt is a feature that allows a user to know whether their messages have been successfully delivered to other users in the channel. Once the recipients in the channel receive a message notification or see the message in the channel list view, it will be marked as delivered. The delivery receipt appears in the MessageListComponent of ChannelModule and in the ChannelListComponent of the ChannelListModule. If the sender’s message has been delivered to all recipients of the channel, a double-tick icon will appear above the message’s timestamp. Delivery 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

Copy link

While the delivery 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 delivery receipt in a channel list view.

KotlinJava
UIKitConfig.groupChannelListConfig.enableMessageReceiptStatus = true

Customize the UI for delivery receipt

Copy link

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

Icon resource

Copy link

The following table shows a customizable delivery receipt icon.

Icon nameImageDescription

icon_done_all

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

icon_done

An icon used to indicate that a message has been sent by the current user but not delivered to every member.

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 delivery receipt are onlight_03 for Light theme, and ondark_03 for Dark theme.