setChannelInvitationPreference method
Sets channel invitation preference with autoAccept
. Default is true
If autoAccept
has been set to false
, then current user won't be
automatically joined to channels when get invited from other users
Implementation
Future<void> setChannelInvitationPreference(bool autoAccept) async {
await _int.api.send(ChannelInvitationPreferenceSetRequest(autoAccept));
}