getUnreadMentionedMessages

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

Retrieves unread mention messages in a conversation.

Since

5.0.0

Parameters

conversationType

Specifies the type of conversation.

targetId

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

callback

Callback for retrieving unread mention messages. The returned message list in the callback is ordered chronologically from oldest to newest.


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

Retrieves unread mention messages in a conversation.

Since

5.2.5

Parameters

conversationType

Specifies the type of conversation.

targetId

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

count

Maximum number of @ messages.

desc

true fetches the latest count pieces of data, and false fetches the oldest count pieces of data.

callback

Callback for getting unread @ messages. The message list returned in the callback is sorted from oldest to newest in chronological order.