Skip to main content
Module

x/discordeno/mod.ts>SelectMenuComponent

Discord API library for Deno
Latest
interface SelectMenuComponent
import { type SelectMenuComponent } from "https://deno.land/x/discordeno@18.0.1/mod.ts";

Properties

type: MessageComponentTypes.SelectMenu

SelectMenu Component is of type 3

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