StringSelectMenu

Interface for string select menus.

Inheritors

Properties

Link copied to clipboard
abstract val options: MutableList<SelectOptionBuilder>

List of options for the user to choose from.

Functions

Link copied to clipboard
open fun applyStringSelectMenu(selectMenu: SelectMenu<*, *>, builder: ActionRowBuilder)

Apply the string select menu to an action row builder.

Link copied to clipboard
open suspend fun option(label: Key, value: String, body: suspend StringSelectOption.() -> Unit = {})

Add an option to this select menu.

Link copied to clipboard
open fun validateOptions()

Validate the options of the string select menu.