inviteUser static method

Future<NIMResult<List<String>>> inviteUser(
  1. String teamId,
  2. List<String> members
)

邀请用户入群

Implementation

static Future<NIMResult<List<String>>> inviteUser(
    String teamId, List<String> members) {
  return NimCore.instance.teamService.addMembersEx(
      teamId: teamId, accounts: members, msg: '', customInfo: '');
}