clearC2CHistoryMessage method Null safety

Future<V2TimCallback> clearC2CHistoryMessage(
  1. {required String userID}
)

Clear single chat local and cloud messages (without deleting the conversation)

caution:

 会话内的消息在本地删除的同时,在服务器也会同步删除。

 web不支持该接口

Implementation

Future<V2TimCallback> clearC2CHistoryMessage({
  required String userID,
}) async {
  return await ImFlutterPlatform.instance
      .clearC2CHistoryMessage(userID: userID);
}