getTheFirstUnreadMessage

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

Get the first unread message.

Parameters

conversationType

The type of conversation.

targetId

The ID of the conversation. Depending on the conversationType, it could be a user ID, discussion group ID, group ID, or chatroom ID.

callback

The callback function.