botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

Need help to send a message in daily basis

Open vignestheo opened this issue 9 years ago • 2 comments

Hello Team

Need help to send bot message to users at particular time in daily basis .

I am using node js and whether we can send those message to all channels?

vignestheo avatar Dec 14 '16 19:12 vignestheo

You want to send a proactive message from the bot to the user. You need to store the user's address (extracted from one of the messages from that user) in your system and schedule some kind of daily timer (ex. setTimeout). This way you can send the message to the user. Look for proactive messages in the issues list.

palmerabollo avatar Dec 16 '16 02:12 palmerabollo

@vignestheo as @palmerabollo suggested you can schedule a task, e.g using azure task scheduler, that triggers your bot with the user's Address and then your bot can use the address to compose a message and send it to the user.

You can read the documentation for azure proactive bot template as an example for how to send proactive messages using azure queue.

msft-shahins avatar Dec 20 '16 18:12 msft-shahins