Jump to: navigation, search

onMinimized(callback)

Use this method to track when chat widget is minimized or restored. The callback is called with true when chat is minimized, and with false when chat is restored. Only works for "embedded" mode.

chat.onMinimized(function(isMinimized) {
  if (isMinimized) {
    // chat was minimized
  } else {
    // chat was restored
  }
});
Important
Added in 850.6.0.
This page was last edited on March 10, 2020, at 13:56.
Comments or questions about this documentation? Contact us for support!