DiscordSelectOption

data class DiscordSelectOption(val label: String, val value: String, val description: Optional<String> = Optional.Missing(), val emoji: Optional<DiscordPartialEmoji> = Optional.Missing(), val default: OptionalBoolean = OptionalBoolean.Missing)(source)

Represent a select option structure.

Parameters

label

the user-facing name of the option

value

the dev-defined value of the option

description

an additional description of the option

emoji

the emoji to show in the option

default

whether to render this option as selected by default

Constructors

Link copied to clipboard
constructor(label: String, value: String, description: Optional<String> = Optional.Missing(), emoji: Optional<DiscordPartialEmoji> = Optional.Missing(), default: OptionalBoolean = OptionalBoolean.Missing)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard