get alert and notification directives
mduzgun opened this issue · comments
Hello.
For example, I sent request as "countdown 10 seconds" and timer was created.
I got response as "10 seconds, starting now".
I checked that timer was created in Alexa.amazon.com.
So, I sent request and get response synchronously.
how to get other directives (asynch alert responses) ?
I don't get this directive.
hello,
The reason this is happening is this library does not have full support for all the directive types. Currently it only supports Speak, Play, and ExpectSpeech. But good news it it would be easy to add support to AlertStarted:
elif name == 'AlertStarted':
yield AlertStartedDirective.from_multipart(
part, audio_attachments=audio_attachments
)
https://developer.amazon.com/en-GB/docs/alexa/alexa-voice-service/alerts.html
https://developer.amazon.com/en-GB/docs/alexa/alexa-voice-service/alerts-overview.html
you would of course need to also add AlertStartedDirective
here: https://github.com/richtier/alexa-voice-service-client/blob/master/alexa_client/alexa_client/helpers.py
closing due to inactivity