You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 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 IDconstmessage=MessageFactory.attachment(updatedCard);message.id=context.activity.replyToId;awaitcontext.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);
}
);
The text was updated successfully, but these errors were encountered: