Herocard在skype Microsoft bot框架中没有显示超过3个按钮

Har*_*ini 4 c# skype botframework

我在Hero卡中添加了6个按钮并尝试显示它们.它在团队和模拟器中工作正常但在Skype上不起作用.它只显示3个按钮.

 private List<CardAction> GetCardButton(List<string> opts)
    {
        List<CardAction> cardButtons = new List<CardAction>();
        int i = 1;
        foreach(string opt in opts)
        {
            CardAction plButton = new CardAction()
            {
                Title = opt,
                Type = "postBack",
                Text = i.ToString(),
                Value = i.ToString()
            };
            cardButtons.Add(plButton);
            i++;
        }

        return cardButtons;

    }
 //passing list of strings.
 List<CardAction> cardButtons = GetCardButton(cardOpts);

        HeroCard plCard = new HeroCard()
        {
            Title = "Try here",
            Text = "with:",
            Buttons = cardButtons

        };
        plAttachment = plCard.ToAttachment();
Run Code Online (Sandbox Code Playgroud)

但在Skype中我只看到前3个按钮.有什么方法可以使卡可滚动或减少按钮大小?

Eze*_*dib 5

您可以在Skype卡上显示的按钮数量有限制.该限制取决于包含的其他文本和媒体元素的数量.

根据文档(参见https://dev.skype.com/bots/第6节)

在此输入图像描述