Skip to main content

SelectMenuUsersAndRolesComponent

@discordeno/botDocs


Documentation / @discordeno/bot / SelectMenuUsersAndRolesComponent

Interface: SelectMenuUsersAndRolesComponent

Properties

customId

customId: string

A custom identifier for this component. Maximum 100 characters.

Defined in

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


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:144


disabled?

optional disabled: boolean

Whether or not this select is disabled

Defined in

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


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:148


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:146


placeholder?

optional placeholder: string

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

Defined in

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


type

type: SelectMenuUsersAndRoles

SelectMenuChannels Component is of type 7

Defined in

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