option
fun option(label: String, value: String, description: String? = null, default: Boolean = false)(source)
Adds an option to this checkbox group.
Parameters
label
The label of this option, see CheckboxGroupOption.withLabel
value
The value of this option, this is what the bot receives, see CheckboxGroupOption.withValue
description
The description of this option, see CheckboxGroupOption.withDescription
default
Whether this option is selected by default