rejectTeamInvite static method

Future<NIMResult<void>> rejectTeamInvite(
  1. String teamId,
  2. String account,
  3. String reason
)

拒绝入群邀请

Implementation

static Future<NIMResult<void>> rejectTeamInvite(
    String teamId, String account, String reason) {
  return NimCore.instance.teamService.declineInvite(teamId, account, reason);
}