Open jk-msft opened 2 weeks ago
@ceciliaavila Write a sample for this to test with too. You'll need to test on a specific Teams version that jk-msft can help with if needed.
Hi @jk-msft,
We are implementing this feature and wanted to know if we would require targeting a specific endpoint or Teams version for testing. If this is the case, can you share it with us?
Thanks!
Hi @sw-joelmut , can you find me in Teams? kimjason@microsoft.com
I'll share the details with you internally.
Thanks!
Overview
We currently allow Bot developers to receive feedback from Teams users using Feedback Loops. When a user clicks "Submit" the feedback,
message/submitAction
invoke is fired. We need a new invoke handler formessage/submitAction
invoke.We are introducing Bot developers to create Custom feedback loops. These custom feedback loops allow Bot developers to show either an Adaptive Card (AC) task module or a website task module. If a bot sent a message with custom feedback loop enabled to the Teams client, the Teams client will fire new invoke,
message/fetchTask
to determine whether the custom feedback loop should show an AC task module or a website task module. We need another invoke handler formessage/fetchTask
invoke.Example Screenshots
Default Feedback
Custom Feedback (AC)
Custom Feedback (Website)
Return Values
How I am currently handling these two invokes inside
onInvokeActivity
message/submitAction
message/fetchTask
Adaptive Card
Website URL
Sample Bot Code
Send messages with feedback loop