Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to send a message to a specific user using microsoft bot-builder to Skype for Business?

I've found lot of tutorials explaining how to respond to a user-initiated message as a Skype for Business bot. However, none about initiating a new conversation by the bot.

Proactive messages need to have the address stored somehow by having received a message from the user first (as explained here). Is it possible to initiate a new conversation to a user without prior exchanges?

How to send a message to a specific user knowing his email address?

Thanks

like image 551
Sheikz Avatar asked Oct 17 '22 12:10

Sheikz


1 Answers

This really depends on the channel you re using to publish your bot. If you re using Facebook Messenger or Skype, you need the user to contact the bot first as you stated.

If you re using email channel, you should check Create a custom Email message, on the link below:

https://learn.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-channeldata

However, I don't see a Node sample for that.

like image 186
Gabriel Piffaretti Avatar answered Oct 21 '22 07:10

Gabriel Piffaretti