Facebook Notifications and Proactive Messages Dialog
Hi
I have used the Proactive Message samples which are great but I have one issue.
In the simple message example (https://github.com/Microsoft/BotBuilder-Samples/tree/master/CSharp/core-proactiveMessages/simpleSendMessage) the messages send but I don't get a notification on my phone. However, adding in this simple bit of code fixes that perfectly:
message.ChannelData = JObject.FromObject(new {
notification_type = "REGULAR"
});
I'm now using the Start New Dialog example (https://github.com/Microsoft/BotBuilder-Samples/tree/master/CSharp/core-proactiveMessages/startNewDialog) and want to do the same thing as the dialog messages now do not cause a notification. However, I've tried setting the notification_type in various places in my code but nothing seems to work.
Any help / pointers would be greatly appreciated.
Thanks
Stu
I've found this works fine when you make your bot public on messenger.
Answered on Stack Overflow: https://stackoverflow.com/questions/46279279/microsoft-bot-framework-proactive-dialog-no-facebook-notification/46298745#46298745