Versions Compared

Key

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

...

Code Block
languagejs
// The agent has started writing
ctlive_contact.isWriting(true);

// The agent has stopped writing
ctlive_contact.isWriting(false);

...

Terminate an active chat

Code Block
// End a chat and disconnect all participant
LIVECHATSDK.LIVECHAT.endContact(ctlive_contact, false);