Added new feature which will send chat history to customer when chat session is finished.