Search code examples
botframeworkbotsadaptive-cards

Customizing/Deleting an adaptive card after it has been sent in boframework


I'm making a bot that sends a user a list of requests that have to be accepted or rejected so I want to disable the card or delete it or disable the submit button whenever the user accepts or rejects a request.

Is that possible? and if not, what are the other alternatives?

Thank you


Solution

  • As @stuartd replied: No. Once you have sent the card it's gone. The client application renders it, and shows it to the user, and the cards are not dynamic (ie cannot contain scripts). If the user interacts with the card you will get a postback, but you cannot change the existing card, you can only send another card or message.