Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
interface DiscordSelectMenuComponent
import { type DiscordSelectMenuComponent } from "https://deno.land/x/discordeno@17.2.0/template/beginner/deps.ts";

Properties

type: MessageComponentTypes.SelectMenu
custom_id: 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
min_values: number

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

optional
max_values: number

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

The choices! Maximum of 25 items.