declineInvite method Null safety
Reject the invitation to join a group.
teamId
The group ID
inviter
The IM account (accid) of the user who sends the invitation.
reason
The rejection reason (maximum length: 5,000)
Implementation
Future<NIMResult<void>> declineInvite(
String teamId, String inviter, String reaseon) async {
return _platform.declineInvite(teamId, inviter, reaseon);
}