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个按钮.有什么方法可以使卡可滚动或减少按钮大小?