private static async Task <IMessageActivity> CreateGraphReply(IDialogContext context, string name = "") { var uri = await ConversationState.GetGraph(name); var repl = context.MakeMessage(); repl.Text = "Please find current graph of sentiments"; repl.Attachments = new Attachment[] { new Attachment(contentType: "image/jpeg", contentUrl: uri, thumbnailUrl: uri) }; return(repl); }