PromptOptions Class
- java.
lang. Object - com.
microsoft. bot. dialogs. prompts. PromptOptions
- com.
public class PromptOptions
Contains settings to pass to a {@link com.} when the prompt is started.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| PromptOptions() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.util.List<Choice> | getChoices() |
| Activity | getPrompt() |
| Activity | getRetryPrompt() |
|
List |
getStyle() |
| java.lang.Object | getValidations() |
| void | setChoices(List<Choice> withChoices) |
| void | setPrompt(Activity withPrompt) |
| void | setRetryPrompt(Activity withRetryPrompt) |
| void | setStyle(ListStyle withStyle) |
| void | setValidations(Object withValidations) |
Methods inherited from java.lang.Object
Constructor Details
PromptOptions
public PromptOptions()
Method Details
getChoices
public List
Returns:
getPrompt
public Activity getPrompt()
Returns:
getRetryPrompt
public Activity getRetryPrompt()
Returns:
getStyle
public ListStyle getStyle()
Returns:
getValidations
public Object getValidations()
Returns:
setChoices
public void setChoices(List
Parameters:
setPrompt
public void setPrompt(Activity withPrompt)
Parameters:
setRetryPrompt
public void setRetryPrompt(Activity withRetryPrompt)
Parameters:
setStyle
public void setStyle(ListStyle withStyle)
Parameters:
setValidations
public void setValidations(Object withValidations)
Parameters: