CheckboxGroupOption

fun CheckboxGroupOption(label: String, value: String, description: String? = null, default: Boolean = false): CheckboxGroupOption(source)

Creates a CheckboxGroupOption.

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