getMessageCount

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

Retrieves the total number of messages in a specified conversation.

Parameters

conversationType

The type of conversation Conversation.ConversationType.

targetId

The ID of the conversation.

callback

Callback for the total number of messages.