get Channel Invitation Preference
Gets 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
handler
Callback handler.
Deprecated
As of 4.17.0, replaced with awaitGetChannelInvitationPreference().
Replace with
awaitGetChannelInvitationPreference()
Content copied to clipboard
Gets 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