timheuer / alexa-skills-dotnet

An Amazon Alexa Skills SDK for .NET
MIT License
547 stars 108 forks source link

add specific properties support for alexa smart properties #236

Closed nachawat closed 2 years ago

nachawat commented 2 years ago

Hello,

To ensure request payload sent to Alexa Skills while in the context of Alexa Smart Properties (e.g Alexa for Hospitality or Alexa for Residential) is fully deserialized, a few additional properties must be added.

From the official Request and Response JSON Reference Alexa documentation, you can find the following properties to add into deserialization:

The objective of this PR is to add support for those 3 properties into the request payload sent to skills.

Thank you Benoit

timheuer commented 2 years ago

Thanks for the contribution @nachawat I'm taking a look now -- one test is failing.

@all-contributors please add @nachawat for code

allcontributors[bot] commented 2 years ago

@timheuer

I've put up a pull request to add @nachawat! :tada: