Use this method to retrieve the conversation and show the history of an ongoing conversation.
This method has no mandatory parameters.
This method has no optional parameters.
This method calls the Chat API’s GET /conversation/history
endpoint. It returns a Promise with the API response data. Please refer to the Responses section of the endpoint on the Chat API Routes page for the response format.
chatbot.api.getConversationHistory().then(history => {
console.log(history.data);
});