declineGroupJoinApplication method

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

Implementation

Future<void> declineGroupJoinApplication({
  required String groupId,
  required String userId,
  String? reason,
}) {
  return checkResult(ChatSDKEvent.declineGroupJoinApplication, () {
    return Client.getInstance.groupManager.declineJoinApplication(
      groupId,
      userId,
      reason: reason,
    );
  });
}