getTheFirstUnreadMessage

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

获取第一条未读消息。

Since

5.1.1

Parameters

conversationType

会话类型

targetId

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

channelId

消息所属会话的业务标识。

callback

回调