getMessageCount

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

Retrieves the total number of messages in the specified conversation.

Since

5.0.0

Parameters

conversationType

The type of conversation.

targetId

The ID of the conversation.

callback

Callback for the total number of messages.