getMessageCount

public void getMessageCount(ConversationType conversationType, String targetId, String channelId, IIntegerCallback callback)

获取来自某用户(某会话)的消息总数。

Return

消息总数。

Parameters

conversationType

会话类型。

targetId

目标 Id。根据不同的 conversationType,可能是用户 Id、讨论组 Id、群组 Id。

channelId

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