ヒーローカードに6個のボタンを追加して表示しようとしました。チームやエミュレータでは正常に動作しますが、Skypeでは動作しません。それは3つのボタンを表示するだけです。Skypeに3つ以上のボタンが表示されていないMicrosoft bot framework
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();
しかし、skypeでは最初の3つのボタンしか表示されません。カードをスクロール可能にする方法や、ボタンのサイズを小さくする方法はありますか?
は、文字数のいずれかの制限がテキストであり:(? – Harshini