getChannelInvitationPreference static method

Future<bool> 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 GroupChannelOperation.acceptInvitation or decline the invitation by calling GroupChannelOperation.declineInvitation.

Implementation

static Future<bool> getChannelInvitationPreference() async {
  sbLog.i(StackTrace.current);
  return await _instance._chat.getChannelInvitationPreference();
}