StringSelectMenu
inline fun StringSelectMenu(customId: String, uniqueId: Int = -1, placeholder: String? = null, valueRange: IntRange? = null, required: Boolean? = null, disabled: Boolean = false, block: InlineStringSelectMenu.() -> Unit): StringSelectMenu(source)
Represents a selection of options, see StringSelectMenu.
Parameters
customId
Custom identifier of this component, see StringSelectMenu.Builder.setCustomId
uniqueId
Unique identifier of this component, see StringSelectMenu.Builder.setUniqueId
placeholder
Displayed when no selections have been made yet, see StringSelectMenu.Builder.setPlaceholder
valueRange
The minimum and maximum amount of values a user can select, must not exceed the amount of options
required
Whether the user must populate this select menu if inside a Modal
disabled
Whether this select menu should be disabled, cannot be true
in modals
block
Lambda allowing further configuration