getMessageCount

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

Retrieves the total number of messages in a specified conversation.

Since

5.1.1

Parameters

conversationType

The type of the conversation .

targetId

The ID of the conversation.

channelId

The business identifier of the conversation to which the message belongs.

callback

The callback for the total number of messages.