Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oasis/packages/deps.ts>DiscordSelectMenuComponent

An object oriented Discordeno framework
Latest
interface DiscordSelectMenuComponent
import { type DiscordSelectMenuComponent } from "https://deno.land/x/oasis@2.1.0/packages/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.