在我的机器人中,我有一个带有提交按钮的自适应卡。我可以在提交操作时修改卡或禁用按钮或删除此卡吗?
答案 0 :(得分:2)
在团队中,您可以选择更新您的卡片信息。因此,您可以使用类似
的内容:var newActivity = MessageFactory.Attachment(myUpdatedCard);
newActivity.Id = activityId //the Id of the original activity you sent;
await turnContext.UpdateActivityAsync(newActivity, cancellationToken);
发送卡的新版本。