Skip to main content
Module

x/discord_api_types/v9.ts>APIBaseSelectMenuComponent

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface APIBaseSelectMenuComponent
implements APIBaseComponent<T>
import { type APIBaseSelectMenuComponent } from "https://deno.land/x/discord_api_types@0.37.21/v9.ts";

Type Parameters

T extends
| ComponentType.StringSelect
| ComponentType.UserSelect
| ComponentType.RoleSelect
| ComponentType.MentionableSelect
| ComponentType.ChannelSelect

Properties

custom_id: string

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

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