addFriendsToFriendGroup method

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

添加好友到一个好友分组

Implementation

@override
Future<V2TimValueCallback<List<V2TimFriendOperationResult>>> addFriendsToFriendGroup({
  required String groupName,
  required List<String> userIDList,
}) async {
  return V2TimValueCallback<List<V2TimFriendOperationResult>>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "addFriendsToFriendGroup",
        buildFriendManagerParam(
          {
            "groupName": groupName,
            "userIDList": userIDList,
          },
        ),
      ),
    ),
  );
}