addMembers method

Future<NIMResult<List<String>>> addMembers(
  1. String teamId,
  2. List<String> accountList,
  3. String msg
)

邀请成员 teamId 群组ID accountList 待加入的群成员帐号列表 msg 附言,长度不得超过5000

Implementation

Future<NIMResult<List<String>>> addMembers(
    String teamId, List<String> accountList, String msg) async {
  return _platform.addMembers(teamId, accountList, msg);
}