Package zendesk.chat

Class ChatConfiguration.Builder

    • Method Detail

      • withAgentAvailabilityEnabled

        public ChatConfiguration.Builder withAgentAvailabilityEnabled(boolean agentAvailabilityEnabled)
        Toggles the agent availability on or off. Defaults to on.

        Agent availability is a feature that prevents the visitor from sending messages when there are no agents online. Enabling this feature will prevent your business from getting missed chats.

        Parameters:
        agentAvailabilityEnabled - true to enable, false to disable
        Returns:
        This builder with updated agent availability flag
      • withTranscriptEnabled

        public ChatConfiguration.Builder withTranscriptEnabled(boolean transcriptEnabled)
        Toggles the flag to either enable or disable the email transcript prompt at the end of a chat that allows end users to request a transcript.
        Parameters:
        transcriptEnabled - true to enable, false to disable
        Returns:
        This builder with updated agent availability flag
      • withOfflineFormEnabled

        public ChatConfiguration.Builder withOfflineFormEnabled(boolean offlineFormEnabled)
        Toggles the offline form on or off. Defaults to on.

        Offline form is an alternative feature to live chat that can be used to contact the business when all agents are unavailable while avoiding missed chats.

        Similarly to pre-Chat, the offline form also collects information about the visitor in a conversational manner prior to sending the form.

        Parameters:
        offlineFormEnabled - true to enable the offline form, false to disable.
        Returns:
        This builder with updated offline form feature flag.
Parameters:
preChatFormEnabled - true to enable the pre-Chat form, false to disable.
Returns:
This builder with updated pre-Chat feature flag.
Parameters:
chatMenuActions - variable ChatMenuAction items.
Returns:
This builder with updated chat menu items.