clearServerHistory method

Future<void> clearServerHistory(
  1. String sessionId,
  2. NIMSessionType sessionType,
  3. bool sync
)

删除单会话云端历史消息

Implementation

Future<void> clearServerHistory(
    String sessionId, NIMSessionType sessionType, bool sync) async {
  return _platform.clearServerHistory(sessionId, sessionType, sync);
}