Created
January 6, 2017 16:06
-
-
Save timheuer/bb069e069b09c09d62362d5a05902134 to your computer and use it in GitHub Desktop.
Get the Intent from the IntentRequest
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
if (request.GetRequestType() == typeof(IntentRequest) { | |
// get the intent | |
var theIntent = ((IntentRequest)request).Intent; | |
// get the name | |
// theIntent.Name | |
// do stuff with slots | |
// theIntent.Slots | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment