在自适应卡片的 Input.Text 字段中提及用户 (C#)
Mentioning a user in Input.Text field of Adaptive card (C#)
我想在 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"
}
}
]
}
卡片看起来像这样:
感谢您的帮助。
这在 Teams 中是不可能的。要提出功能请求,请直接联系团队支持。您可以通过 Teams 应用或在 Teams 文档存储库中发布问题来执行此操作:https://github.com/MicrosoftDocs/msteams-docs/issues
我想在 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"
}
}
]
}
卡片看起来像这样:
感谢您的帮助。
这在 Teams 中是不可能的。要提出功能请求,请直接联系团队支持。您可以通过 Teams 应用或在 Teams 文档存储库中发布问题来执行此操作:https://github.com/MicrosoftDocs/msteams-docs/issues