setChannelInvitationPreference method

Future<void> setChannelInvitationPreference(
  1. bool autoAccept
)

Sets the preference for automatically accepting channel invitations.

autoAccept : Determines whether to automatically accept channel invitations.

Implementation

Future<void> setChannelInvitationPreference(bool autoAccept) async {
  await SendbirdChat.setChannelInvitationPreference(autoAccept);
}