getMessageCache method

Future<NIMResult<List<QChatMessageCache>?>> getMessageCache(
  1. int qchatServerId,
  2. int qchatChannelId
)

指定通道查询消息缓存 qchatServerId 服务器id qchatChannelId 频道id

Implementation

Future<NIMResult<List<QChatMessageCache>?>> getMessageCache(
    int qchatServerId, int qchatChannelId) {
  return _platform.getMessageCache(qchatServerId, qchatChannelId);
}