Open tirumaleshYeligar opened 1 week ago
Thank you for contacting us! Any issue or feedback from you is quite important to us. We will do our best to fully respond to your issue as soon as possible. Sometimes additional investigations may be needed, we will usually get back to you within 2 days by adding comments to this issue. Please stay tuned.
@tirumaleshYeligar Could you share the error details you encountered when attempting to update the notification card using the Teams Message Edit mechanism?
@tirumaleshYeligar Based on your code snippet, it seems the replyToId
is null, likely because it's retrieved from an activity involving sending a notification card. Could you please double-check this?
// Trying to update the card with the same activity ID
const message = MessageFactory.attachment(updatedCard);
message.id = context.activity.replyToId;
await context.updateActivity(message);
I'm working on a Node.js application using Restify to send and update Microsoft Teams Adaptive Cards via the Teams API. I can send the initial Adaptive Card successfully, but when I try to update the card using the response/activity ID of the previously sent card, the update fails.
server.post( "/api/call", restify.plugins.queryParser(), restify.plugins.bodyParser(), checkAccessToken, async (req, res) => { const payload = req.body as OnCallNotificationPayload; console.log("Received on-call notification request for channel", payload.channelId);
} );