utilAPI
This object contains utility-related APIs.
This release is in preview. Features described here don't become generally available until the latest general availability date that Salesforce announces for this release. Make your purchase decisions only on the basis of generally available products and features.
This method hides the chat button.
By default, the chat button is always shown if no business hours are specified. If business hours are specified, the chat button is shown during business hours and hidden outside of business hours. To learn how to configure business hours, see Configure a Messaging for Web Deployment.
This command can override the default behavior.
You can't hide the chat button if the chat window is already showing. Also, this method doesn’t have session continuity; for example, after a refresh, the button returns to its initial state. If business hours are specified, this call only overrides the current visibility until the next business hours interval.
None.
This method shows the chat button.
By default, the chat button is always shown if no business hours are specified. If business hours are specified, the chat button is shown during business hours and hidden outside of business hours. To learn how to configure business hours, see Configure a Messaging for Web Deployment.
This command can override the default behavior.
This method doesn’t have session continuity; for example, after a refresh, the button returns to its initial state. Also, if business hours are specified, this call only overrides the current visibility until the next business hours interval.
None.