Skip to main content

Panel control

open() expands the chat panel from the bubble. close() collapses it back. These are useful for triggering the widget from your own UI elements (e.g., a “Chat with us” button). Opening the widget also touches the session (keeps it alive) and triggers session replay if it was in buffer mode.

Bubble visibility

hide() closes the panel (if open) and hides the bubble entirely. show() makes it visible again. Use hidden: true in the init config to start with the bubble hidden, then call show() when you want to reveal it:

Use cases