get The First Unread Message
public abstract void getTheFirstUnreadMessage(ConversationType conversationType, String targetId, String channelId, IRongCoreCallback.ResultCallback<Message> callback)
Retrieves the first unread message.
Since
5.1.1
Parameters
conversation Type
The type of conversation.
target Id
The ID of the conversation. Depending on the conversationType, it could be a user ID, discussion group ID, group ID, or chatroom ID.
channel Id
The business identifier of the conversation to which the message belongs.
callback
The callback function.