PromptOptions Class

  • java.lang.Object
    • com.microsoft.bot.dialogs.prompts.PromptOptions

public class PromptOptions

Contains settings to pass to a {@link com.} when the prompt is started.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

PromptOptions

public PromptOptions()

Method Details

getChoices

public List getChoices()

Returns:

List<Choice>

getPrompt

public Activity getPrompt()

Returns:

Activity

getRetryPrompt

public Activity getRetryPrompt()

Returns:

Activity

getStyle

public ListStyle getStyle()

Returns:

ListStyle

getValidations

public Object getValidations()

Returns:

Object

setChoices

public void setChoices(List withChoices)

Parameters:

withChoices - value to set the Choices property to

setPrompt

public void setPrompt(Activity withPrompt)

Parameters:

withPrompt - value to set the Prompt property to

setRetryPrompt

public void setRetryPrompt(Activity withRetryPrompt)

Parameters:

withRetryPrompt - value to set the Retry property to

setStyle

public void setStyle(ListStyle withStyle)

Parameters:

withStyle - value to set the Style property to

setValidations

public void setValidations(Object withValidations)

Parameters:

withValidations - value to set the Validations property to

Applies to