Share via

Information message does not clear when adaptive card is updated

Boris Rusinovic 96 Reputation points
2024-02-13T14:39:50.4266667+00:00

Here is the scenario:

  1. On Action.Execute Teams sends an "invoke" request to the bot.
  2. Bot replies with the information message, something like "Please wait! System is processing your request."
  3. On the second thread, the bot processes the request and sends the message update (adaptive card) to Teams
  4. Teams app updates the adaptive card in the chat, but the information message (from step 2) is not cleared
  5. A user has the feeling that nothing happened because the information message "Please wait..." is still there

This problem is happening only in the Teams app and the browser on the desktop. Mobile Teams apps on Android and IOS clears the information message on adaptive card update.

Is there a way to explicitly clear the information message with the message update on conversation/activity?

Is this a bug?

ref: https://learn.microsoft.com/en-us/adaptive-cards/authoring-cards/universal-action-model#response-format

Thanks

Boris

CaptureStep2

Step4

Microsoft Teams | Development
Microsoft Teams | Development

Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs

Microsoft Teams | Microsoft Teams for business | Other

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.