问题
I'm making google assistant which is able to play Prayer's Call, gets Prayer timings from the Prayer Api and able to set timing of Prayer as well, using Webhook of Nodejs. The problem is how can I schedule Prayer's Call timings to Dialogflow... like how can i invoke "Play Prayer's Call" intent via Nodejs in given time.
回答1:
It's not possible to call an intent on demand if you want to use google assistant, every message of google assistant, is triggered by an user message, to avoid spam.
Your best approach is to use Notifications which are available for smartphones.
If you're using your custom chat, facebook messenger, telegram, you can indeed achieve that, by calling the intent using the Node.js Dialogflow library.
来源:https://stackoverflow.com/questions/53263634/how-to-schedule-dialogflow