declineInvite method Null safety
Reject the invitation to join a group.
teamId
The group ID
inviter
The account(accid) of the inviter.
reason
The rejection reason (lengh limit: 5000 characters)
Implementation
Future<NIMResult<void>> declineInvite(
String teamId, String inviter, String reason) async {
return _platform.declineInvite(teamId, inviter, reason);
}