Forum Discussion
Error when trying to update adaptive card
To update the existing card on button selection, you can use ReplyToId of incoming activity.
To update existing card on a button selection, pass a new Activity object with updated card and ReplyToId as activity ID to the UpdateActivityAsync method of the TurnContext class. See TurnContextClass.
var activity = MessageFactory.Attachment(card.ToAttachment());
activity.Id = turnContext.Activity.ReplyToId;
await turnContext.UpdateActivityAsync(activity, cancellationToken);
Ref Doc: Update and delete messages sent from your bot - Teams | Microsoft Docs
Is there a way to batch send/update the messages and how to reply to the message and update this message also later?
It will be helpful if you can send the documents required.
- Nivedipa-MSFTSep 13, 2022
Microsoft
AyeshaKulsumSJ - We are checking this internally. We will update you soon.- AyeshaKulsumSJSep 26, 2022Brass Contributor
Any update on this.
Query regarding bulk/batch send activity and update activity in MS Teams.
Currently, When I have to send/update message to all the users in channel. It takes multiple API calls and server goes slow. To improve the performance do we have any batch update.
- Nivedipa-MSFTSep 29, 2022
Microsoft
AyeshaKulsumSJ - Apologies for the delay response. We are checking this with engineering team. We will let you know once we have any updates on it.