/uptodateview.cs Secret
Created
July 10, 2021 22:49
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cardJson = await ApproveAsset(turnContext.Activity.Conversation.Id, turnContext.Activity.From); | |
var attachment = new Attachment | |
{ | |
ContentType = AdaptiveCard.ContentType, | |
Content = JsonConvert.DeserializeObject(cardJson), | |
}; | |
var messageActivity = MessageFactory.Attachment(attachment); | |
messageActivity.Id = turnContext.Activity.ReplyToId; | |
await turnContext.UpdateActivityAsync(messageActivity); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment