Skip to main content
Module

x/discord_api_types/v10.ts>APISelectMenuComponent

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface APISelectMenuComponent
implements APIBaseComponent<ComponentType.SelectMenu>
import { type APISelectMenuComponent } from "https://deno.land/x/discord_api_types@0.37.11/v10.ts";

Properties

custom_id: string

A developer-defined identifier for the select menu, max 100 characters

The choices in the select, max 25

optional
placeholder: string

Custom placeholder text if nothing is selected, max 150 characters

optional
min_values: number

The minimum number of items that must be chosen; min 0, max 25

optional
max_values: number

The maximum number of items that can be chosen; max 25

optional
disabled: boolean

Disable the select