Collapses the chatbox and sets its maximized
property to false
.
The minimize()
function returns a Promise that is resolved when
the chatbox finishes collapsing.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.