SelectOption
fun SelectOption(label: String, value: String, description: String? = null, emoji: Emoji? = null, default: Boolean = false): SelectOption(source)
Creates a select menu option, see SelectOption.
Parameters
label
The label of this option, see SelectOption.withLabel
value
The value of this option, this is what the bot receives, see SelectOption.withValue
description
The description of this option, see SelectOption.withDescription
emoji
The emoji of this option
default
Whether this option is selected by default