$jsapi.chatHistory
This method returns the history of user and bot interactions within the current session.
The method is called without arguments: $jsapi.chatHistory()
— and returns a string in the following format:
CLIENT
[User request]
BOT
[First bot reply]
[Second bot reply]
[...]