[.Net SDK, Skype] Proactive Bot - Proactive message to any user in the network, without having a known conversation
Bot Info
- SDK Platform: .NET
- SDK Version: .net 4.6
- Active Channels: Skype
- Deployment Environment: anything
Issue Description
need a bot to ping list of skype users from the DB
Code Example
Have a list of users in SQL DB with Skype Id's need to ping them a reminder every hour
This is not possible. The reason is to prevent spam bots
If the users are from contact list of bot or if had previous communication in days then is it possible to remember n ping back ?
Yes, that is possible.
Can you please explain a bit and an example code will help
thank you
Check out this example in our samples repo. Read through the readme on there. There is also a blog article that does a good job explaining this concept, good luck!
this I tried, it compiled and ran on localhost, I published it to proactive bot on Azure but when I wanted to test it on web chat I get the "There was an error sending this message to your bot: HTTP status code Unauthorized" error, Windows app ID password were checked, SSL certificate option checked (not using it on VM anyway) any suggestions would help
In the future please provide details like this in your original post.
How is your bot deployed web app, bot service? Are you only testing on skype channel, does it work in the emulator? Please share your code so we can take a look
I am using proactive bot built on Azure channelled to skype n web chat, I generated password (bot reg) and used in web config of simple send message proactive core code as in the above link
I have the bot hosted here but it responds nothing ..(the error occurs on webchat test)
https://simplesend.azurewebsites.net/
hi @KiranBastawadi There is a similiar business case in our end. There are some of the message need to reminder the specific skype user. Our bot have been intergrated into our Skype. Our bot have some of the API to let outside system comsumer. After that this bot api will send out the proactive message.
However, there are still some of problems.
1).Proactive on skype on could send when the user open the chat window. Could not delivered if SFB window is closed. That it's still annoying us. Also with @JasonSowers suggestion we raise the issue to the Skype for business side. https://www.skypefeedback.com/forums/299913-generally-available/suggestions/33146980-bot-send-messages-could-not-delivered-if-sfb-wind
2).The formatting its still a issue. If we use the web channel, everythings is fine. However if we use the skype for business channel all style is gone. (We know some feature is not support on the skype for business)
Even, we could not Wrapping Lines with
or \n\n or anyother method. https://github.com/Microsoft/BotBuilder/issues/4116
Just for sharing.
Thanks a lot there !!! I am curious to this work 😊
On Sun, 11 Feb 2018 at 6:14 AM, band888888 [email protected] wrote:
hi @KiranBastawadi https://github.com/kiranbastawadi There is a similiar business case in our end. There are some of the message need to reminder the specific skype user. Our bot have been intergrated into our Skype. Our bot have some of the API to let outside system comsumer. After that this bot api will send out the proactive message.
However, there are still some of problems. 1).Proactive on skype on could send when the user open the chat window. Could not delivered if SFB window is closed. That it's still annoying us. Also with @JasonSowers https://github.com/jasonsowers suggestion we raise the issue to the Skype for business side. https://www.skypefeedback.com/forums/299913-generally-available/suggestions/33146980-bot-send-messages-could-not-delivered-if-sfb-wind 2).The formatting its still a issue. If we use the web channel, everythings is fine. However if we use the skype for business channel all style is gone. (We know some feature is not support on the skype for business) Even, we could not Wrapping Lines with or \n\n or anyother method. #4116 https://github.com/Microsoft/BotBuilder/issues/4116
Just for sharing.
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/Microsoft/BotBuilder/issues/4117#issuecomment-364708827, or mute the thread https://github.com/notifications/unsubscribe-auth/Ah2FAV4TtQmmI5r96QnC8u9HztcUIFfpks5tTjf5gaJpZM4RyaCY .
Can you please let us know if the issue still persists?