clearC2CHistoryMessage method Null safety
- {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);
}