-
-
Save mobibob/42927c9642bf0e2e20e9d1220119cb04 to your computer and use it in GitHub Desktop.
Azure bot framework iframe startConversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="https://cdn.botframework.com/botframework-webchat/latest/webchat.js"></script> | |
<script src="webbotFramework.js"></script> | |
</head> | |
<body> | |
<div id="webchat" role="main"></div> | |
<script> | |
function startChatConversation(token) { | |
window.WebChat.renderWebChat({ | |
directLine: window.WebChat.createDirectLine({ token }) | |
}, document.getElementById('webchat')); | |
}; | |
function showStyling() { | |
<!-- This is specific to the project in Kony RWD. --> | |
window.location.href = "desktopweb/web/localfiles/htmlNoBotStyling.html"; | |
} | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment