Preview environment

interface APIBaseAutoPopulatedSelectMenuComponent

export interface APIBaseAutoPopulatedSelectMenuComponent<T extends ComponentType.ChannelSelect | ComponentType.MentionableSelect | ComponentType.RoleSelect | ComponentType.UserSelect, D extends SelectMenuDefaultValueType> extends APIBaseSelectMenuComponent<T>

custom_id : string

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

Inherited from: APIBaseSelectMenuComponent

optional
default_values? : APISelectMenuDefaultValue<D>[]

List of default values for auto-populated select menu components

optional
disabled? : boolean

Disable the select false

Inherited from: APIBaseSelectMenuComponent

optional
max_values? : number

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

Inherited from: APIBaseSelectMenuComponent

optional
min_values? : number

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

Inherited from: APIBaseSelectMenuComponent

optional
placeholder? : string

Custom placeholder text if nothing is selected, max 150 characters

Inherited from: APIBaseSelectMenuComponent

type : T

The type of the component

Inherited from: APIBaseComponent