Choice

data class Choice(val options: List<CommandInput.Option>) : CommandInput(source)

Constructors

Link copied to clipboard
constructor(options: List<CommandInput.Option>)

Properties

Link copied to clipboard
open override val kind: String
Link copied to clipboard

Functions

Link copied to clipboard
open override fun validationError(value: CommandValue): String?

A value-free explanation, or null when the input satisfies this contract.