Interface APIBaseAutoPopulatedSelectMenuComponent<T, D>

Type Parameters

Hierarchy

Properties

custom_id: string

A developer-defined identifier for the select menu, max 100 characters

default_values?: APISelectMenuDefaultValue<D>[]

List of default values for auto-populated select menu components

disabled?: boolean

Disable the select

Default

false
max_values?: number

The maximum number of items that can be chosen; max 25

Default

1
min_values?: number

The minimum number of items that must be chosen; min 0, max 25

Default

1
placeholder?: string

Custom placeholder text if nothing is selected, max 150 characters

type: T

The type of the component

Generated using TypeDoc