getChannelInvitationPreference

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.


suspend fun SendbirdChat.getChannelInvitationPreference(): Boolean

Deprecated

As of 4.17.0, replaced with awaitGetChannelInvitationPreference().

Replace with

awaitGetChannelInvitationPreference()

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