interface APIStringSelectComponent

external
export interface APIStringSelectComponent extends APIBaseSelectMenuComponent<ComponentType.StringSelect>

See also: https://discord.com/developers/docs/interactions/message-components#select-menus

external
custom_id : string

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

Inherited from: APIBaseSelectMenuComponent

optionalexternal
disabled? : boolean = false

Disable the select

Inherited from: APIBaseSelectMenuComponent

optionalexternal
max_values? : number = 1

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

Inherited from: APIBaseSelectMenuComponent

optionalexternal
min_values? : number = 1

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

Inherited from: APIBaseSelectMenuComponent

external
options : APISelectMenuOption[]

Specified choices in a select menu; max 25

optionalexternal
placeholder? : string

Custom placeholder text if nothing is selected, max 150 characters

Inherited from: APIBaseSelectMenuComponent

external
type : T

The type of the component

Inherited from: APIBaseComponent