Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
// End a chat and disconnect all participant.
// The first parameter is the instance of a CTLive active chat.
// The second parameter is reservedspecified andas assignedinput to falseparameter
LIVECHATSDK.LIVECHAT.endContact(ctlive_contact, false);

Leave an active chat

Code Block
languagejs
LIVECHATSDK.LIVECHAT.leave("CHAT_eaa2e7c0-9c26-40db-b720-d777ab68078d");