Documentation - v1.2.0-alpha.3
    Preparing search index...

    Basic configuration options supported by all prompts.

    interface PromptOptions {
        choices?: (string | Choice)[];
        prompt?: string | Activity;
        recognizeLanguage?: string;
        retryPrompt?: string | Activity;
        style?: ListStyle;
        validations?: object;
    }
    Index

    Properties

    choices?: (string | Choice)[]

    (Optional) List of choices associated with the prompt.

    prompt?: string | Activity

    (Optional) Initial prompt to send the user.

    recognizeLanguage?: string

    The locale to be use for recognizing the utterance.

    retryPrompt?: string | Activity

    (Optional) Retry prompt to send the user.

    style?: ListStyle

    (Optional) Property that can be used to override or set the value of ChoicePrompt.Style when the prompt is executed using DialogContext.prompt.

    validations?: object

    (Optional) Additional validation rules to pass the prompts validator routine.