getUltraGroupMessageCountByTimeRange

public abstract void getUltraGroupMessageCountByTimeRange(String targetId, Array<String> channelIds, long startTime, long endTime, IRongCoreCallback.ResultCallback<Integer> callback)

Retrieves the number of messages within a specified time range for a given ultra group. If the channel_id_list is empty, it retrieves the message count for all channel IDs.

Since

5.6.4

Parameters

targetId

The conversation ID

channelIds

The list of channel IDs

startTime

The start time

endTime

The end time

callback

The callback result