如何在团队中使用自适应卡提及有效用户

问题描述 投票:0回答:1

我的经验是将“ [email protected]”显示为原义文本。

((实际发送的电子邮件地址是有效的。以上虚拟电子邮件地址仅出于安全考虑。)

这里是作为频道消息发送的JSON

{
    "contentType": "application/vnd.microsoft.card.adaptive",
    "content": {
        "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
        "type": "AdaptiveCard",
        "version": "1.0",
        "body": [
            {
                "type": "Container",
                "items": [
                    {
                        "weight": "bolder",
                        "size": "medium",
                        "text": "<at>[email protected]</at> Hello World",
                        "wrap": false,
                        "type": "TextBlock"
                    }
                ]
            }
        ],
        "actions": []
    }
}

最好使用我自己的机器人,而不是Flow [bot]。

microsoft-teams adaptive-cards
1个回答
0
投票
© www.soinside.com 2019 - 2024. All rights reserved.