declineGroupInvitation method

Future<void> declineGroupInvitation({
  1. required String groupId,
  2. required String inviter,
  3. String? reason,
})

Implementation

Future<void> declineGroupInvitation({
  required String groupId,
  required String inviter,
  String? reason,
}) {
  return checkResult(ChatSDKEvent.declineGroupInvitation, () {
    return Client.getInstance.groupManager.declineInvitation(
      groupId: groupId,
      inviter: inviter,
      reason: reason,
    );
  });
}