deleteFriendsFromFriendGroup method

  1. @override
Future<V2TimValueCallback<List<V2TimFriendOperationResult>>> deleteFriendsFromFriendGroup({
  1. required String groupName,
  2. required List<String> userIDList,
})
override

从好友分组中删除好友

Implementation

@override
Future<V2TimValueCallback<List<V2TimFriendOperationResult>>> deleteFriendsFromFriendGroup({
  required String groupName,
  required List<String> userIDList,
}) async {
  Map<String, dynamic> param = {
    "groupName": groupName,
    "userIDList": userIDList,
  };
  var resp = V2TimValueCallback<List<V2TimFriendOperationResult>>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "deleteFriendsFromFriendGroup",
        buildFriendManagerParam(
          param,
        ),
      ),
    ),
  );
  log("deleteFriendsFromFriendGroup", param, resp.toLogString());
  return resp;
}