microsoft / BotBuilder-Samples

Welcome to the Bot Framework samples repository. Here you will find task-focused samples in C#, JavaScript/TypeScript, and Python to help you get started with the Bot Framework SDK!
https://github.com/Microsoft/botframework
MIT License
4.36k stars 4.87k forks source link

Archived sample code teams-start-thread-in-channel not working anymore start from Jun 10th #3993

Open rollingstarky opened 3 months ago

rollingstarky commented 3 months ago

Is your feature request related to a problem? Please describe. I have created a Teams Channel Bot two years ago based on this sample code https://github.com/microsoft/BotBuilder-Samples/tree/main/archive/samples/python/58.teams-start-thread-in-channel It's been woking well until Jun 11th this year. I saw this sample has been moved to archive, based on the readme, it's kind of deprecated and no longer working anymore? May I know how this update happen, the exact affects and what I need to do to keep it working?

Describe the solution you'd like Can I bring it back with least changes on current codes

Describe alternatives you've considered Are there any solutions ready that I can migrate current Bot to make it working

Additional context I tried to deploy this one https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-initiate-thread-in-channel/python but it's not working either

rollingstarky commented 3 months ago

I have done some testing and finally found the root cause:

rollingstarky commented 3 months ago

Then I have another three questions:

rollingstarky commented 3 months ago

Weird. Today it's switched back again. "@bot_name" not requried anymore, the messages Bot captured also changed back from HTML format to plain text. So I doubt Teams development side mixed something up, wrongly merged interaction logic from outgoing webhook to Bots, then they rolled it back today. Not confirmed, just my doubts.

tracyboehrer commented 3 months ago

@rollingstarky We really don't support things in the Archived folders. I'm tempted to just delete all those since it just causes confusion. For Teams samples, support would have to come from them. I can't even say which ones they've changed, and how, since we moved all those to Teams.