BotBuilder-Samples icon indicating copy to clipboard operation
BotBuilder-Samples copied to clipboard

[Teams] Provide a sample that shows how to do proactive messaging

Open sgellock opened this issue 7 years ago • 8 comments

Sample information

  1. Sample type: samples
  2. Sample language: [ ] dotnetcore [ ] nodejs python (Targeted at a different cycle: microsoft/botbuilder-python#330)
  3. Sample name:

Describe the bug

Sample should also show how to rate limit/throttle handling.  Support for C#, JS, and Python is required

sgellock avatar Aug 02 '19 01:08 sgellock

@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

mdrichardson avatar Aug 16 '19 17:08 mdrichardson

Per agreement with Teams this is P2 sample and will fast follow the 4.6 release.

Virtual-Josh avatar Oct 04 '19 17:10 Virtual-Josh

@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!

kunalkankariya avatar Nov 21 '19 07:11 kunalkankariya

@mdrichardson I know how to get this done now. Thanks :)

kunalkankariya avatar Nov 21 '19 11:11 kunalkankariya

@kunalkankariya Could you show me how you did it in 4.6?

adamist521 avatar Jan 21 '20 02:01 adamist521

@adamist521 Here you go

mdrichardson avatar Jan 21 '20 15:01 mdrichardson

@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 avatar Jan 21 '20 16:01 adamist521

@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

mdrichardson avatar Jan 21 '20 16:01 mdrichardson