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
required
Whether the user must populate this select menu if inside a Modal, see StringSelectMenu.Builder.setRequired
block
Lambda allowing further configuration