sendReadReceiptMessage

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

Sends a read receipt for messages in a specific conversation

For IMLib, you can register a listener using setReadReceiptListener; for IMKit, directly set rc_read_receipt to true in rc_config.xml.

Parameters

conversationType

The type of conversation (only applicable to PRIVATE and ENCRYPTED types)

targetId

The conversation ID

timestamp

The timestamp of the last read message in the conversation getSentTime


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

Send read receipts for messages in a conversation.

With IMLib, you can register a listener using setReadReceiptListener; with IMKit, simply set rc_read_receipt to true in rc_config.xml.

Parameters

conversationType

Conversation type (only applicable to PRIVATE and ENCRYPTED types)

targetId

Conversation ID

timestamp

Timestamp of the last read message in the conversation getSentTime

callback

Callback for sending read receipt messages