await Set Channel Invitation Preference
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.17.0
Parameters
auto Accept
GroupChannel
invitation auto-acceptance preference.