Methods
Through JS API you can manage Quickley Live Chat windows behavior. Methods can be called by using global object Quickley
that available anywhere after the widget code.
Global object Quickley
accepts two arguments. The first is the method name. The second is the parameters of callable method.
show
show
Displays Quickley Chat button if it was previously hidden by configuration param hidden
.
hide
hide
Hides Quickley Chat button if it visible.
open
open
Opens Quickley Chat Window. Calling of this method is similar to clicking Quickley Chat button.
close
close
Closes the Quickley Сhat window. Calling this method is similar to clicking the Quickley Chat button while the Сhat window is open.
sendAutoMessage
sendAutoMessage
Sends message to a visitor. This method works only if a visitor doesn't have any active conversation.
updateClientData
updateClientData
Specifies any information about visitors like email, phone or any kind of data. This info displays in the right panel in Quickley. This method is similar to the client_data
parameter in the Quickley Chat configuration, but can be used at any time after Chat is initialized.
Last updated