inviteUser static method

Future<NIMResult<List<String>>> inviteUser(
  1. String teamId,
  2. NIMTeamType teamType,
  3. List<String> inviteeAccountIds,
  4. String? postscript,
)

邀请用户入群

Implementation

static Future<NIMResult<List<String>>> inviteUser(
    String teamId,
    NIMTeamType teamType,
    List<String> inviteeAccountIds,
    String? postscript) {
  return NimCore.instance.teamService
      .inviteMember(teamId, teamType, inviteeAccountIds, postscript);
}