RadioGroupOption

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

Creates a RadioGroupOption.

Parameters

label

The label of this option, see RadioGroupOption.withLabel

value

The value of this option, this is what the bot receives, see RadioGroupOption.withValue

description

The description of this option, see RadioGroupOption.withDescription

default

Whether this option is selected by default