addFriendsToFriendGroup method

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

添加好友到一个好友分组

Implementation

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