Get current username from within a 3rd party chatbot

We are running a 3rd party chatbot on our Discourse site to explain things and onboard new users. As a next step it would be great, if the bot knows the currently logged in user to provide additional services. Is it theoretically possible to get the current username from within a chatbot that runs within an iframe? (The bot can run custom scripts.) If so, where would I start? Thank you!

1 Like