setChannelInvitationPreference

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

3.0.30

Parameters

autoAccept

GroupChannel invitation auto-acceptance preference.

handler

Callback handler.