ChoiceFactory.SuggestedAction メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
SuggestedAction(IList<Choice>, String, String) |
推奨されるアクションとして追加された選択肢の一覧を含むメッセージ アクティビティを作成します。 |
SuggestedAction(IList<String>, String, String) |
推奨されるアクションとして追加された選択肢の一覧を含むメッセージ アクティビティを作成します。 |
SuggestedAction(IList<Choice>, String, String)
推奨されるアクションとして追加された選択肢の一覧を含むメッセージ アクティビティを作成します。
public static Microsoft.Bot.Schema.IMessageActivity SuggestedAction (System.Collections.Generic.IList<Microsoft.Bot.Builder.Dialogs.Choices.Choice> choices, string text = default, string speak = default);
static member SuggestedAction : System.Collections.Generic.IList<Microsoft.Bot.Builder.Dialogs.Choices.Choice> * string * string -> Microsoft.Bot.Schema.IMessageActivity
Public Shared Function SuggestedAction (choices As IList(Of Choice), Optional text As String = Nothing, Optional speak As String = Nothing) As IMessageActivity
パラメーター
- text
- String
省略可能、メッセージのテキスト。
- speak
- String
オプション。音声対応チャネルでボットによって読み上げられる SSML テキスト。
戻り値
推奨されるアクションとして選択肢を持つアクティビティ。
適用対象
SuggestedAction(IList<String>, String, String)
推奨されるアクションとして追加された選択肢の一覧を含むメッセージ アクティビティを作成します。
public static Microsoft.Bot.Schema.IMessageActivity SuggestedAction (System.Collections.Generic.IList<string> choices, string text = default, string speak = default);
static member SuggestedAction : System.Collections.Generic.IList<string> * string * string -> Microsoft.Bot.Schema.IMessageActivity
Public Shared Function SuggestedAction (choices As IList(Of String), Optional text As String = Nothing, Optional speak As String = Nothing) As IMessageActivity
パラメーター
- text
- String
省略可能、メッセージのテキスト。
- speak
- String
オプション。音声対応チャネルでボットによって読み上げられる SSML テキスト。
戻り値
推奨されるアクションとして選択肢を持つアクティビティ。