[Teams] Provide a sample that shows how to do proactive messaging
Sample information
- Sample type: samples
- Sample language: [ ] dotnetcore [ ] nodejs python (Targeted at a different cycle: microsoft/botbuilder-python#330)
- Sample name:
Describe the bug
Sample should also show how to rate limit/throttle handling. Support for C#, JS, and Python is required
@sgellock, @johnataylor, @axelsrz I'd recommend adding in querying the Team Roster, then proactively messaging them. We've seen a decent number of issues come in of users wanting to do that. Example with current solution
Per agreement with Teams this is P2 sample and will fast follow the 4.6 release.
@mdrichardson The link to the current solution for node uses botbuilder-teams which is deprecated. Do you have a sample for 4.6 that I could refer to? Thanks!
@mdrichardson I know how to get this done now. Thanks :)
@kunalkankariya Could you show me how you did it in 4.6?
@adamist521 Here you go
@mdrichardson thx! Should this be also possible for nodejs? Can't find sample for nodejs...
It seems that following link seems to be doing different compared to c# one... (replying to coversation)
https://github.com/microsoft/BotBuilder-Samples/blob/a66d06f7feff10168591cbac0181ae2ec09f29bd/samples/javascript_nodejs/57.teams-conversation-bot/bots/teamsConversationBot.js#L117
@adamist521 Yes, you can do that in Node as well using the code you linked. It's just shown a different way from the C# sample