【发布时间】:2019-10-19 14:24:57
【问题描述】:
我正在创建一个 Microsoft 流程,以在团队内 Flow 机器人发布的自适应卡片中提及用户。
这是我的 JSON 的简化版本
{
"type": "AdaptiveCard",
"body": [
{
"type": "Container",
"items": [
{
"type": "TextBlock",
"size": "Medium",
"weight": "Bolder",
"color": "Attention",
"text": "Hey!"
},
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"items": [
{
"type": "TextBlock",
"text": "<at>steve@example.com</at>",
}
],
"width": "stretch"
}
]
}
]
},
],
"actions": [
{
"type": "Action.OpenUrl",
"title": "Teams Message",
"url": "-teamsUrl-"
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.0"
}
不幸的是,这只是显示为<at>steve@example.com</at>
如果我使用与发送给团队频道的消息相同的语法,那么用户就会被提及。
是否可以通过这种方式在自适应卡片中提及用户?
【问题讨论】:
-
请查看微软官方链接。 docs.microsoft.com/en-us/business-applications-release-notes/…它只能在“作为消息发布”中使用
标签: microsoft-teams adaptive-cards power-automate