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.

Returns the chat session key string according to the latest events received.

Sample Code

var sessionKey = chat.getSessionKey();