【发布时间】:2019-12-02 11:49:20
【问题描述】:
我正在尝试将背景图片添加到自适应卡片中。目前我正在使用自适应卡版本 1.2 ,我已将图像添加到项目内的文件夹中。但我收到了Could not determine JSON object type for type AdaptiveCards.AdaptiveBackgroundImage 异常。
Uri uri = new System.Uri(@"~\Images\AdaptiveCard_Background.png",UriKind.Relative);
card.Add(new AdaptiveBackgroundImage()
{
Url = uri
});
请帮我解决这个问题
【问题讨论】:
标签: botframework adaptive-cards