getTheFirstUnreadMessage

public abstract void getTheFirstUnreadMessage(ConversationType conversationType, String targetId, IRongCoreCallback.ResultCallback<Message> callback)

Get the first unread message.

Since

5.0.0

Parameters

conversationType

Specifies the conversation type.

targetId

Indicates the conversation ID. Depending on the conversationType, this could be a user ID, discussion group ID, group ID, or chatroom ID.

callback

Represents the callback function.