sendReadReceiptMessage

public abstract void sendReadReceiptMessage(ConversationType conversationType, String targetId, long timestamp)

发送某个会话中的消息阅读回执

使用 IMLib 可以注册监听 setReadReceiptListener;使用 IMkit 直接设置 rc_config.xml 中 rc_read_receipt 为 true。

Parameters

conversationType

会话类型(只适用 PRIVATE 和 ENCRYPTED 类型)

targetId

会话 id

timestamp

该会话中已读的最后一条消息的发送时间戳getSentTime


public abstract void sendReadReceiptMessage(ConversationType conversationType, String targetId, long timestamp, IRongCallback.ISendMessageCallback callback)

发送某个会话中的消息阅读回执。

使用 IMLib 可以注册监听 setReadReceiptListener;使用 IMkit 直接设置 rc_config.xml 中 rc_read_receipt 为 true。

Parameters

conversationType

会话类型(只适用 PRIVATE 和 ENCRYPTED 类型)

targetId

会话 id

timestamp

会话中已读的最后一条消息的发送时间戳 getSentTime

callback

发送已读回执消息的回调