Rich Card attachments do not appear in web chat or Skype, but appear on the emulator. The attachment contains the correct data and attributes and works fine if I use ContentType + ContentURL. But if I use attachments with rich maps, they do not appear in web chat or Skype. This is my code. Please, help.
Message reply = context.MakeMessage(); var actions = new List<Microsoft.Bot.Connector.Action>(); actions.Add(new Microsoft.Bot.Connector.Action { Title = $"I like it", Message = $"I like it message" }); actions.Add(new Microsoft.Bot.Connector.Action { Title = $"Show me more", Message = $"Show me more message" }); reply.Attachments = new List<Attachment>(); reply.Attachments.Add(new Attachment() { Title = p.Title, TitleLink = p.DetailPageURL, ThumbnailUrl = p.MediumImage, Text = p.Title, Actions = actions, FallbackText ="The message attachment is not rendering for: " + p.Title }); await context.PostAsync(reply); context.Wait(MessageReceived);
source share