Skip to content

Using UserEventRequest in Alexa.NET #94

Answered by stoiveyp
abpatel asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @abpatel

You add the AddToRequestConverter code once at startup (or in your function constructor if you're using a serverless pattern like AWS Lambda). This is an Alexa.NET pattern we use with the extensions, so when you look at the skillRequest.Request property on your input, it can correctly deserialize a UserEventRequest type when you receive one from your APL document (it doesn't break if you run it more than once, but it doesn't need to be run more than once at startup)

As for the response you send back - it depends on your skill setup. You can send almost any kind of response back from a UserEvent request: speech, a question, a new screen etc.

You've said that in your case you wa…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@abpatel
Comment options

Answer selected by abpatel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants