data class MultipleChoice : PromptRequest
(source)
Value type that represents a request for a multiple choice prompt.
MultipleChoice(choices: Array<Choice>, onSelect: (Array<Choice>) -> Unit)
Value type that represents a request for a multiple choice prompt. |
val choices: Array<Choice>
All the possible options. |
|
val onSelect: (Array<Choice>) -> Unit
A callback indicating witch options has been selected. |