Share via


PromptOptionsWithSynonyms<T> Class

Definition

Options with synonyms for PromptDialog.

[System.Serializable]
public class PromptOptionsWithSynonyms<T> : Microsoft.Bot.Builder.Dialogs.IPromptOptions<T>
[<System.Serializable>]
type PromptOptionsWithSynonyms<'T> = class
    interface IPromptOptions<'T>
Public Class PromptOptionsWithSynonyms(Of T)
Implements IPromptOptions(Of T)

Type Parameters

T

The type of the options.

Inheritance
PromptOptionsWithSynonyms<T>
Attributes
Implements

Constructors

PromptOptionsWithSynonyms<T>(String, String, String, IReadOnlyDictionary<T, IReadOnlyList<T>>, Int32, PromptStyler, IReadOnlyList<String>, String, String, IPromptRecognizer)

Constructs the prompt options.

Properties

Attempts

Maximum number of attempts.

Choices

The choices and synonyms to be returned when selected.

DefaultRetry

Default retry prompt that is used if Retry is null.

DefaultRetrySpeak

Default retry speak that is used if RetrySpeak is null.

DefaultTooManyAttempts

Default TooManyAttempts string that is used if TooManyAttempts is null.

Descriptions

The description of each possible option.

Options

The choices to be returned when selected.

Prompt

The prompt.

PromptStyler

Styler of the prompt PromptStyler.

Recognizer

Entity Recognizer to parse the message content

Retry

What to display on retry.

RetrySpeak

Retry Speak tag (SSML markup for text to speech)

Speak

Speak tag (SSML markup for text to speech)

TooManyAttempts

What to display when user didn't say a valid response after Attempts.

Applies to