getMessageCount

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

获取指定会话的消息总数。

Parameters

conversationType

会话类型 io.rong.imlib.model.Conversation.ConversationType 。

targetId

会话 id。

callback

消息总数的回调。