getUnreadMentionedMessages

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

Fetches unread @ mentions in a conversation.

Since

5.1.1

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, or group ID.

channelId

The business identifier of the conversation to which the message belongs.

callback

Callback to retrieve unread @ mentions. The returned message list is ordered chronologically from oldest to newest.


public abstract void getUnreadMentionedMessages(ConversationType conversationType, String targetId, String channelId, int count, boolean desc, IRongCoreCallback.ResultCallback<List<Message>> callback)

Since

5.2.5

Parameters

conversationType
targetId
channelId
count
desc
callback