Skip to main content

SelectMenuUsersComponent

@discordeno/botDocs


Documentation / @discordeno/bot / SelectMenuUsersComponent

Interface: SelectMenuUsersComponent

Properties

customId

customId: string

A custom identifier for this component. Maximum 100 characters.

Defined in

packages/types/dist/types/discordeno.d.ts:99


defaultValues?

optional defaultValues: SelectMenuDefaultValue[]

List of default values for auto-populated select menu components The number of default values must be in the range defined by minValues and maxValues

Defined in

packages/types/dist/types/discordeno.d.ts:106


disabled?

optional disabled: boolean

Whether or not this select is disabled

Defined in

packages/types/dist/types/discordeno.d.ts:112


maxValues?

optional maxValues: number

The maximum number of items that can be selected. Default 1. Between 1-25.

Defined in

packages/types/dist/types/discordeno.d.ts:110


minValues?

optional minValues: number

The minimum number of items that must be selected. Default 1. Between 1-25.

Defined in

packages/types/dist/types/discordeno.d.ts:108


placeholder?

optional placeholder: string

A custom placeholder text if nothing is selected. Maximum 150 characters.

Defined in

packages/types/dist/types/discordeno.d.ts:101


type

type: SelectMenuUsers

SelectMenuChannels Component is of type 5

Defined in

packages/types/dist/types/discordeno.d.ts:97