I want my bot to be able to send some replies later. Like in alarm clock, when user says, ping me at 5 AM then I want to send message to the user at 5 AM. How can I send message without receiving one?
相关问题
- Pass custom debug information to Microsoft bot fra
- PromptDialog Choice with List object Bot Framework
- Using Bot State Accessors Inside Dialogs
- Correct id to send message to a skype account
- Is that possible to develop localization in Micros
相关文章
- Schedule Rails Task to run at a certain time
- How to receive an image send by users?
- Detect end of conversation and ask for a feedback
- How to hook real-time audio stream endpoint to Dir
- In Azure Bot Framework's WaterfallDialog, how
- Adaptive Cards in Carousel Layout in Facebook Mess
- Handling Adaptive cards in Microsoft Bot Framework
- Bot framework v4 Node.js: how to go to next waterf
You'll need to receive at least one message so that you know the recipient's address. You'll need to save the addressing info from the incoming message. I think the easiest way is to save the whole message.
Nodejs:
C#:
Without reply to an activity request, you can send a message to him like the following. I should mention that you must have the user's Id, and it means at least the user should have sent a message to the bot, to store his id.
The above code comes from here.