Is it possible to Update the sent adaptive card in MSTeam based on the Button in adaptiveCard?

%3CLINGO-SUB%20id%3D%22lingo-sub-1617813%22%20slang%3D%22en-US%22%3EIs%20it%20possible%20to%20Update%20the%20sent%20adaptive%20card%20in%20MSTeam%20based%20on%20the%20Button%20in%20adaptiveCard%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1617813%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20using%20a%20bot%20service%20in%20MS%20Team%20%2C%20and%20i%20found%20that%20i%20need%20to%20update%20the%20sent%20adaptive%20card%20with%20respect%20to%20button%20on%20it.%20buttons%20respond%20to%20bot%20service%20so%20i%20am%20able%20to%20get%20context%20object%26nbsp%3B%20but%20can't%20attach%20new%20attachment%20with%20it%20so%20that%20i%20can%20update%20the%20adaptive%20card.%20So%2C%20is%20it%20possible%20to%20do%20so%3F%3CBR%20%2F%3Eand%20Is%20possible%20to%20partially%20update%20the%20adaptive%20Card%26nbsp%3B%20based%20on%20button%20actions.%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1617813%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EActivity%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EBots%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EConversations%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EHow-to%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMessaging%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EUser%20Interface%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1620008%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20it%20possible%20to%20Update%20the%20sent%20adaptive%20card%20in%20MSTeam%20based%20on%20the%20Button%20in%20adaptiveCard%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1620008%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F745982%22%20target%3D%22_blank%22%3E%40sunnykalola%3C%2FA%3E%26nbsp%3B%20I'm%20hoping%20these%20docs%20help.%26nbsp%3B%20If%20not%2C%20let%20us%20know%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpower-automate%2Fcreate-adaptive-cards%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpower-automate%2Fcreate-adaptive-cards%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Ftask-modules-and-cards%2Fwhat-are-cards%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Ftask-modules-and-cards%2Fwhat-are-cards%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1631154%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20it%20possible%20to%20Update%20the%20sent%20adaptive%20card%20in%20MSTeam%20based%20on%20the%20Button%20in%20adaptiveCard%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1631154%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%2C%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F668458%22%20target%3D%22_blank%22%3E%40ThereseSolimeno%3C%2FA%3E.%20I%20am%20not%20using%20Microsoft%20Flow%20application%20for%26nbsp%3B%20sending%20and%20updating%20adaptive%20card.%20I%20want%20to%20do%20it%26nbsp%3Busing%20programmatically.%26nbsp%3B%20Where%20i%20need%20activityId%20of%20the%20sent%20card.%20So%20is%20there%20any%20other%20way%20to%20do%20without%20using%26nbsp%3BactivityId.%20because%20we%20need%20to%20maintain%26nbsp%3BactivityId%20for%20every%20message%20which%20is%20not%20feasible.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

I am using a bot service in MS Team , and i found that i need to update the sent adaptive card with respect to button on it. buttons respond to bot service so i am able to get context object  but can't attach new attachment with it so that i can update the adaptive card. So, is it possible to do so?
and Is possible to partially update the adaptive Card  based on button actions.?

 

Thanks.

4 Replies

Thanks, @ThereseSolimeno. I am not using Microsoft Flow application for  sending and updating adaptive card. I want to do it using programmatically.  Where i need activityId of the sent card. So is there any other way to do without using activityId. because we need to maintain activityId for every message which is not feasible.

Has there been a solution to this Problem?

@mtr2k same question - did anyone find a way to do this without using Flow?  REST API or something?