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 rtSessionId string according to the latest events received.
Sample code
var sessionId = chat.getRtSessionId();