Rendering user details


how to retrieve the user details from the browser to the bot?
eg. the login user may be a student or faculty, i need to give privileges accordingly.
A documentation would help.


You could create an endpoint in your bot and send request to it with those user-details.
You can check example of creating an endpoint within botpress sources.