ReadReceiptListener

public interface ReadReceiptListener

Message receipt listener.

The onReadReceiptReceived callback is triggered 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, other participants in the conversation will receive the request and trigger this callback method.
Link copied to clipboard
public abstract void onMessageReceiptResponse(ConversationType type, String targetId, String messageUId, HashMap<String, Long> respondUserIdList)
This method is called when the user who initiated the receipt request in a group or discussion group receives responses from the recipients.
Link copied to clipboard
public abstract void onReadReceiptReceived(Message message)
Callback triggered when a message receipt is received in a one-to-one chat.