[Question pertains to the Microsoft Bot Framework]
There is certain information about the user that my bot will need, but I don't want the user himself to submit it because
- He may not have it. 2. My web page definitely has it so I shouldn't have to ask.
Essentially, my chat bot is embedded in a web page. There is information in each session of that web page that I need to submit to the corresponding chat bot controller instance without an explicit message becoming visible in the chat window.
How do I pass information to the chat bot controller? If I need the conversation Id to address the bot, how do I get it programmatically inside of my web page Javascripts? Right now, my chat bot is integrated into the web page with the simple iframe line that can be found in the docs
http://docs.botframework.com/connector/embed-chat-control/#navtitle
Example Scenario : My chat bot is a chat window on a facebook page. I need the chat bot to know who the user is and say, for instance, 'Hello username' without any prompting to get username