Language

ChoiceFactory.HeroCard(IList<Choice>, String, String) メソッド

定義

HeroCardの選択肢リストを含むメッセージアクティビティを作成します。

public static Microsoft.Bot.Schema.IMessageActivity HeroCard(System.Collections.Generic.IList<Microsoft.Bot.Builder.Dialogs.Choices.Choice> choices, string text = default, string speak = default);
static member HeroCard : System.Collections.Generic.IList<Microsoft.Bot.Builder.Dialogs.Choices.Choice> * string * string -> Microsoft.Bot.Schema.IMessageActivity
Public Shared Function HeroCard (choices As IList(Of Choice), Optional text As String = Nothing, Optional speak As String = Nothing) As IMessageActivity

パラメーター

choices
IList<Choice>

追加すべき選択肢のリスト。

text
String

任意で、メッセージのテキスト。

speak
String

オプションとして、音声対応チャンネルでボットが話すSSMLテキスト。

返品

ボタン付きのヒーローカードのような選択肢があるアクティビティ。

適用対象