Checkbox
inline fun Checkbox(customId: String, uniqueId: Int = -1, isDefault: Boolean = false, block: InlineCheckbox.() -> Unit = {}): Checkbox(source)
A component displaying a box which can be checked. Useful for simple yes/no questions.
Parameters
customId
Custom identifier of this component, see Checkbox.withCustomId
uniqueId
Unique identifier of this component, see Checkbox.withUniqueId
isDefault
Whether it is checked by default
block
Lambda allowing further configuration
See also
Checkbox