Note: 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. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

setChatWindowWidth

Use the setChatWindowWidth method to customize the width of your chat window.

Usage

Sets the width in pixels of the chat window that appears to customers. Available in API versions 28.0 and later.

Syntax

void setChatWindowWidth(Number width)

Parameters

Name Type Description Available Versions
width Number The width in pixels of your custom chat window. Available in API versions 28.0 and later.