send Read Receipt Message
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
conversation Type
The type of conversation (only applicable to PRIVATE and ENCRYPTED types)
target Id
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
conversation Type
Conversation type (only applicable to PRIVATE and ENCRYPTED types)
target Id
Conversation ID
timestamp
Timestamp of the last read message in the conversation getSentTime
callback
Callback for sending read receipt messages