We are using the below code to display the adaptive card in Webchat and Teams. Its working correctly in Teams and in Webchat its displaying as a line.
Adaptive card is showing up in MS teams
Adaptive card is showing up in Webchat
We are using the below code to display the adaptive card in Webchat and Teams. Its working correctly in Teams and in Webchat its displaying as a line.
Adaptive card is showing up in MS teams
Adaptive card is showing up in Webchat
Copyright © 2021 Jogjafile Inc.




Webchat and msteam are different channels so it's required additional properties for rendering actions in the bot framework.
The MS Teams Adaptive card required special property with the name msteams to the object in an object submit action’s data property in order to access this functionality.
As per your card "id" property is missing in the "AdaptiveSubmitAction" and need to differentiate both channel property Data values in the implementation.
Replace the "AdaptiveActionSet" code with the below one.
Microsoft Docs : MS Team Docs