Skip to main content
Closes the custom panel and returns the user to the chat view. Call instance.customPanels.getPanel() first to get the panel instance.

Syntax

Parameters

None.

Returns

Returns a promise that resolves when the panel is closed.

Example

The following example opens a panel with an accept button that closes the panel programmatically when clicked:

Do you need practical examples?

Learn how to apply the features available for embedded chat into your implementation with guidance and examples.