【发布时间】:2021-08-30 04:16:15
【问题描述】:
我想在 Adaptive Card 的 Input.Text 字段中提及一个用户。每当我们在 Input.Text 中键入“@”时,我希望频道所有成员的列表看起来像在正常提及中一样。这可能吗?
目前提及功能不起作用。
我的自适应卡代码 -
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.2",
"speak": "Your meeting about \"Adaptive Card design session\" is starting at ${formatDateTime(start.dateTime, 'HH:mm')}pmDo you want to snooze or do you want to send a late notification to the attendees?",
"body": [
{
"type": "Container",
"items": [
{
"type": "Input.Text",
"id": "comment",
"placeholder": "Please Enter Your Comment"
}
]
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Comment",
"data": {
"x": "comment"
}
}
]
}
感谢您的帮助。
【问题讨论】:
-
我的回答可以接受吗?
-
是的,非常感谢您的帮助。
标签: c# json botframework microsoft-teams adaptive-cards