2
マイクロソフトのボットフレームワークのヒーローカードのボタンにカスタムCSSスタイルシートを付けることは可能ですか?ここmsボットフレームワークのヒーローカードボタンのカスタムCSSスタイル
は私のコード
string ImagePath = "file:\\" + HttpContext.Current.Request.MapPath("\\Images\\Like-icon_resize.png");
string strStyle = "<style type=\"text/css\" rel=\"stylesheet\">" +
@"{
color:Red;
}
</style>";
List<CardAction> cardButtons = new List<CardAction>();
CardAction button = new CardAction()
{
Value = "like",
Type = ActionTypes.PostBack,
Image = strlike,
Title = strStyle
};
cardButtons.Add(plButton);
HeroCard hero = new HeroCard()
{
Text= "I'm a hero card",
Buttons = cardButtons
};
であり、それはどこほとんどのチャンネル複数の通信チャネルをサポートする必要があるので