轮播布局不在 Botframework 中呈现。

Carousel layout doesn't render in Botframework .

我正在使用 5 张以上的英雄卡片创建带有轮播布局的卡片,但它无法在 Skype 上呈现。当我尝试使用 5 张卡片时,轮播卡片呈现得非常好。

轮播布局中的卡片数量有限制吗?

我还在回复中添加了一个文本,但它没有显示在轮播的顶部。用轮播卡片渲染文本有问题吗?

这是卡片的 JSON 表示:

{
  "type": "message",
  "attachmentLayout": "carousel",
  "text": "test carousel card",
  "attachments": [
    {
      "contentType": "application/vnd.microsoft.card.hero",
      "content": {
        "images": [
          {
            "url": "https://catcafemelbourne.com/wp-content/uploads/IMG_4535.jpg"
          }
        ],
        "buttons": []
      }
    },
    {
      "contentType": "application/vnd.microsoft.card.hero",
      "content": {
        "images": [
          {
            "url": "http://www.wildcatconservation.org/wp-content/uploads/2013/03/2016-sand-cat-group.jpg"
          }
        ],
        "buttons": []
      }
    },
    {
      "contentType": "application/vnd.microsoft.card.hero",
      "content": {
        "images": [
          {
            "url": "https://aos.iacpublishinglabs.com/question/aq/700px-394px/cats-noses-wet_756a0c5cb206e0c3.jpg?domain=cx.aos.ask.com"
          }
        ],
        "buttons": []
      }
    },
    {
      "contentType": "application/vnd.microsoft.card.hero",
      "content": {
        "images": [
          {
            "url": "http://www.staustell.cats.org.uk/uploads/images/homepage_banner/BranchBannerPlaceholder.jpg"
          }
        ],
        "buttons": []
      }
    },
    {
      "contentType": "application/vnd.microsoft.card.hero",
      "content": {
        "images": [
          {
            "url": "http://www.aspca.org/sites/default/files/cat-care_urine-marking_main-image.jpg"
          }
        ],
        "buttons": []
      }
    },
    {
      "contentType": "application/vnd.microsoft.card.hero",
      "content": {
        "images": [
          {
            "url": "http://www.rd.com/wp-content/uploads/sites/2/2016/02/01-13-things-you-didnt-know-about-cats-earthquakes.jpg"
          }
        ]
      }
    }
  ],
  "replyToId": "628713ea564044c8a27edc689750515f"
}

Skype 目前将轮播卡片的数量限制为 5。