Botfront webchat - how to get cookies from user?

Cookies are usually set by the web server using the Set-Cookie header. The browser will then automatically add them to (almost) every request to the same domain using the Cookie header. You can also access cookies directly from the browser using the document.cookie property.