sendReadReceiptMessage

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

Sends a read receipt for messages in a specific conversation.

For IMLib, you can register a listener using setReadReceiptListener.

Since

5.0.0

Parameters

conversationType

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

targetId

The ID of the conversation

timestamp

The sent timestamp of the last read message in the conversation getSentTime

callback

Callback for sending the read receipt message


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

Deprecated

Sends a read receipt for messages in a specific conversation.

In IMLib, you can register a listener using setReadReceiptListener.

Since

5.0.0

Parameters

conversationType

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

targetId

The ID of the conversation.

timestamp

The timestamp of the last read message in the conversation getSentTime.