Skip to main content
Latest
interface SelectMenuUsersAndRolesComponent
import { type SelectMenuUsersAndRolesComponent } from "https://deno.land/x/discordeno@18.0.1/mod.ts";

Properties

type: MessageComponentTypes.SelectMenuUsersAndRoles

SelectMenuChannels Component is of type 7

customId: string

A custom identifier for this component. Maximum 100 characters.

optional
placeholder: string

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

optional
minValues: number

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

optional
maxValues: number

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

options: SelectOption[]

The choices! Maximum of 25 items.

optional
disabled: boolean

Whether or not this select is disabled