As of Friday October 16th, access to restricted content on this site now requires you to log in with your Genesys account. If you don't have an account, you can request one at these locations: Request MyPartner Portal Account or Request My Support Account.
Jump to: navigation, search

Additional Methods

Besides the main API methods, the following methods are also available since chat version 850.6.0:

  • onBeforeChatOptionsApplied—Use this method to modify options before the chat starts or restores. This method may be useful if you do not control the startChat() call but still need to control some of the options.
  • onSession—This is an alternative method of accessing the Chat Service JS API. This method is an alternative to accessing the Chat Service JS API through the done callbacks of the startChat and restoreChat methods. This method may be useful if you do no control the startChat call.
  • close—Close the chat widget. Added in 850.5.0
  • toggle—Minimize or restore the chat widget. Added in 850.6.0.
  • onMinimized—Add a callback when the chat widget is minimized or restored. Added in 850.6.0
  • isMinimized—Check if the chat widget is minimized. Added in 850.6.0
  • VERSION—Returns current chat version. Added in 850.1.0
This page was last edited on February 24, 2016, at 00:43.


Comment on this article:

blog comments powered by Disqus