<!DOCTYPE html>
<html lang="en">
<head>
<meta charset = "UTF-8">
<title>Hello</title>
<script src="https://www.gstatic.com/dialogflow-console/fast/messenger/bootstrap.js?v=1"></script>
<script src="https://www.gstatic.com/dialogflow-console/fast/messenger/bootstrap.js?v=1"></script>
</head>
<body>
<df-messenger
intent="WELCOME"
chat-title=""
agent-id=""
language-code="en"
></df-messenger>
</body>
</html>
I have only one HTML file which has the above contents. I want to store the chat details on the localstorage of the browser so that I can retrieve the chat on page refresh.