getUnreadMentionedMessages

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

获取会话中未读的 @ 消息。

Since

5.0.0

Parameters

conversationType

会话类型。

targetId

会话 id。根据不同的 conversationType,可能是用户 id、讨论组 id、群组 id。

callback

获取未读 @ 消息的回调。回调里返回的消息列表,按照时间顺序从旧到新。


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

Since

5.2.5

Parameters

conversationType
targetId
count
desc
callback