CheckboxGroup
inline fun CheckboxGroup(customId: String, uniqueId: Int = -1, valueRange: IntRange? = null, required: Boolean = true, block: InlineCheckboxGroup.() -> Unit): CheckboxGroup(source)
A component displaying a group of up to OPTIONS_MAX_AMOUNT checkboxes which can be checked independently.
Parameters
customId
Custom identifier of this component, see CheckboxGroup.Builder.setCustomId
uniqueId
Unique identifier of this component, see CheckboxGroup.Builder.setUniqueId
valueRange
The minimum and maximum amount of values a user can select, must not exceed CheckboxGroup.OPTIONS_MAX_AMOUNT
required
Whether the user must populate at least the minimum amount of options
block
Lambda allowing further configuration