Get conversation history

This method allows you to get the conversation history

// count (number) : Optional value to get the last x element of the conversation history.
Default value is 0 to get all the history. 
// from (string) : Optional value ('user','bot','both') to filter the conversation history. Default value is 'both'. 
window.ClustaarWebchat.getConversationHistory(count=0,from='both');