I want to understand how is user session created for specific user when user access the bot from web sdk.
Currently in my application, as soon as the application is loaded, the bot user session is created.
Ideally the bot user session should get created when user opens the bot chat window.
Please explain how and when the user session for bot is created.
There is no documentation explaining this.