ReadReceiptListener

public interface ReadReceiptListener

消息回执监听器。

收到消息回执时会回调 onReadReceiptReceived

Functions

Link copied to clipboard
public abstract void onMessageReceiptRequest(ConversationType type, String targetId, String messageUId)
群组和讨论组中,某人发起了回执请求,会话中其余人会收到该请求,并回调此方法。 接收方需要在合适的时机(读取了消息之后)调用 sendReadReceiptResponse 回复响应。
Link copied to clipboard
public abstract void onMessageReceiptResponse(ConversationType type, String targetId, String messageUId, HashMap<String, Long> respondUserIdList)
在群组和讨论组中发起了回执请求的用户,当收到接收方的响应时,会回调此方法。
Link copied to clipboard
public abstract void onReadReceiptReceived(Message message)
单聊中收到消息回执的回调。