我一直在尝试通过连接器将卡片发送到 Teams 频道。卡片确实出现了,但我尝试发送的任何英雄形象都没有显示。Message Card Playground正确显示图像,但它根本不显示在 Teams 中。我对“正常”图像没有任何问题。
这是我通过 webhook 发送的 JSON,但我也尝试了 Twitter - Hero 图像示例卡,但它也不起作用:
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"summary": "Hero card testing",
"title": null,
"text": null,
"themeColor": "19b5fe",
"sections": [
{
"title": null,
"activityImage": "https://pbs.twimg.com/profile_images/862653089916096512/ljJwcmFp_bigger.jpg",
"activityTitle": "Hero image card",
"activitySubtitle": "This is a test",
"facts": [],
"text": null,
"heroImage": {
"image": "https://pbs.twimg.com/media/DFv74A0XkAEdwQ_.jpg"
},
"images": []
}
]
}
我错过了什么吗?