我正试图发送带有英雄图像标签的连接器卡。
我已经跟随了MessageCard游乐场的例子,但即使准确地复制这些示例,它们也不会显示。没有错误,卡片显示很好,除了英雄形象。
我要发送的json:
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"summary": "Task 42",
"title": "Task Done: \"Building the Super Computer\"",
"sections": [
{
"activityTitle": "Mice of Earth",
"activitySubtitle": "9/13/2016, 11:46am",
"activityImage": "http://static.website.com/images/smallimage.jpg",
"facts": [
{
"name": "Team:",
"value": "Team-Poster"
},
{
"name": "Task #:",
"value": "42"
}
],
"text": "Build supercomputer to answer the ultimate question",
"heroImage": {
"image": "http://static.website.com/images/party-1644648_1920.jpg",
"title": "This is the image's alternate text"
},
}
]
}Outlook可操作消息文档也谈到英雄形象,但缺乏实例。
发布于 2017-10-05 23:01:19
是的,目前不支持Hero。您可以在这里跟踪文档:https://msdn.microsoft.com/en-us/microsoft-teams/teams-bots-cards和https://msdn.microsoft.com/en-us/microsoft-teams/connectors,很清楚地说明了这一点。
https://stackoverflow.com/questions/46594981
复制相似问题