RadioGroup

inline fun RadioGroup(customId: String, uniqueId: Int = -1, required: Boolean = true, block: InlineRadioGroup.() -> Unit): RadioGroup(source)

A component displaying a group of up to OPTIONS_MAX_AMOUNT radio buttons, in which only one can be chosen.

Parameters

customId

Custom identifier of this component, see RadioGroup.Builder.setCustomId

uniqueId

Unique identifier of this component, see RadioGroup.Builder.setUniqueId

required

Whether the user must select an option

block

Lambda allowing further configuration

See also

RadioGroup