Please note that this SDK relates to LivePersons legacy chat product which receives limited support and will be deprecated in the future.

It is recommended to build future integrations on top of the corresponding messaging SDK instead.

Clears the chat session from memory, so on refresh it will not be automatically resumed. Will trigger onVisitorDisposed event.

Sample Code

chat.disposeVisitor();