getTheFirstUnreadMessage

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

获取第一条未读消息。

Parameters

conversationType

会话类型

targetId

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

callback

回调