I have already sent the card with capturing the details and with buttons.After clicking on submit from task module which will save details through http API here the activity type is Invoke. Now i have to update the existing adaptive Card.
I have the code to update the message, but how to update the card or resend the card again.
connector = new ConnectorClient(new Uri(activity.ServiceUrl));
reply = activity.CreateReply($"You sent {activity.Text} which was {activity.Text.Length} characters");
var msgToUpdate = await connector.Conversations.ReplyToActivityAsync(reply);
Activity updatedReply = activity.CreateReply($"This is an updated message");
await connector.Conversations.UpdateActivityAsync(reply.Conversation.Id, msgToUpdate.Id, updatedReply);