Teams meeting bot app handling lifecycle events by requesting feedback from the user
This sample is a Teams Bot meeting app created using the Teams Toolkit with Visual Studio 2022. It acts on the real end date (not the scheduled ones) and posts an adaptive card requesting user feedback to the meeting's chat once each event is fired. Once voted each (already voted) user sees the overall feedback result from all participating users. App result:
Meeting ended - Feedback request posted |
---|
Feedback given - Refreshed card shows result |
---|
App in action - Feedback roundtrip |
---|
For further details see the author's blog post
This sample was created using the Teams Toolkit with Visual Studio 2022. Nearly the same sample was also realized with the Yeoman Generator for Teams and can be found here.
Version | Date | Author | Comments |
---|---|---|---|
1.0 | January 01, 2024 | Markus Moeller | Initial release |
THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
- Clone the repository
git clone https://github.com/mmsharepoint/bot-meeting-lifecycle-feedback-csharp.git
- Open bot-meeting-lifecycle-feedback-csharp.sln in Visual Studio 2022
- Perform first actions in GettingStarted.txt (before hitting F5)
- Now you should have prepared your app (will try local first)
- In your Teams calendar have a "real" meeting prepared ("real" means with at least +1 real partcipant)
- When starting debug by F5 or "Microsoft Teams (browser)"
- Âdd the app to that meeting (eventually search for it)
- Join the meeting to start it
- Leave and end the meeting
- Teams Toolkit for Visual Studio 2022 Bot Development
- Bot Meeting Lifecycle methods
- Post an adaptive card
- Using the Adaptive Cards Universal Action Model
- Considerations on Dev tunnels in Visual Studio 2022