data class MenuChoice : PromptRequest
(source)
Value type that represents a request for a menu choice prompt.
MenuChoice(choices: Array<Choice>, onSelect: (Choice) -> Unit)
Value type that represents a request for a menu choice prompt. |
val choices: Array<Choice>
All the possible options. |
|
val onSelect: (Choice) -> Unit
A callback indicating which option was selected. |