set Channel Invitation Preference
Deprecated
As of 4.17.0, replaced with awaitSetChannelInvitationPreference(autoAccept).
Replace with
awaitSetChannelInvitationPreference(autoAccept)Content copied to clipboard
Sets the current User's preference for GroupChannel join. If this is set as true, the User will automatically join the GroupChannel. If set as false, the User can join the GroupChannel by calling GroupChannel.acceptInvitation or decline the invitation by calling GroupChannel.declineInvitation.
Since
4.15.0
Parameters
auto Accept
GroupChannel invitation auto-acceptance preference.