Share via


Prompt<T,U>.MakePrompt Method

Definition

protected virtual Microsoft.Bot.Connector.IMessageActivity MakePrompt (Microsoft.Bot.Builder.Dialogs.IDialogContext context, string prompt, System.Collections.Generic.IReadOnlyList<U> options = default, System.Collections.Generic.IReadOnlyList<string> descriptions = default, string speak = default);
abstract member MakePrompt : Microsoft.Bot.Builder.Dialogs.IDialogContext * string * System.Collections.Generic.IReadOnlyList<'U> * System.Collections.Generic.IReadOnlyList<string> * string -> Microsoft.Bot.Connector.IMessageActivity
override this.MakePrompt : Microsoft.Bot.Builder.Dialogs.IDialogContext * string * System.Collections.Generic.IReadOnlyList<'U> * System.Collections.Generic.IReadOnlyList<string> * string -> Microsoft.Bot.Connector.IMessageActivity
Protected Overridable Function MakePrompt (context As IDialogContext, prompt As String, Optional options As IReadOnlyList(Of U) = Nothing, Optional descriptions As IReadOnlyList(Of String) = Nothing, Optional speak As String = Nothing) As IMessageActivity

Parameters

context
IDialogContext
prompt
String
options
IReadOnlyList<U>
descriptions
IReadOnlyList<String>
speak
String

Returns

Applies to