ReadReceiptListener

public interface ReadReceiptListener

Message receipt listener.

Triggers the onReadReceiptReceived callback when a message receipt is received.

Functions

Link copied to clipboard
public abstract void onMessageReceiptRequest(ConversationType type, String targetId, String messageUId)
In a group or discussion group, when someone initiates a read receipt request, the other participants in the conversation will receive the request and this method will be called back.
Link copied to clipboard
public abstract void onMessageReceiptResponse(ConversationType type, String targetId, String messageUId, HashMap<String, Long> respondUserIdList)
Callback triggered when a user who initiated a receipt request in a group or discussion group receives a response from the recipients.
Link copied to clipboard
public abstract void onReadReceiptReceived(Message message)
Callback triggered when a read receipt is received in a one-to-one chat.