【问题标题】:Mentioning a user in Input.Text field of Adaptive card (C#)在自适应卡片的 Input.Text 字段中提及用户(C#)
【发布时间】: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


【解决方案1】:

这在 Teams 中是不可能的。要提出功能请求,请直接联系 Teams 支持。您可以通过 Teams 应用程序或在 Teams 文档存储库中发布问题:https://github.com/MicrosoftDocs/msteams-docs/issues

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2018-11-10
    • 2020-12-09
    • 1970-01-01
    • 2019-12-14
    • 2021-10-15
    • 2019-10-19
    • 2022-12-14
    • 2019-04-22
    相关资源
    最近更新 更多