I am passing the token and userid from the direct line web channel. I want to know How to receive those values in Bot side to show the userid or email passed from the direct line channel.
<html>
<div id="webchat" role="main" />
<head>
<script src="https://cdn.botframework.com/botframework-webchat/latest/webchat.js"></script>
</head>
<body>
<script>
window.WebChat.renderWebChat({
directLine: window.WebChat.createDirectLine({ token: '@Model.Token' }),
userID: '@Model.UserId'
},
document.getElementById('webchat'));
</script>
</body>
<html>