Information message does not clear when adaptive card is updated

Boris Rusinovic 41 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
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,138 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,268 questions
{count} votes

Your answer

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