Skip to main content
Module

x/natico/mod.ts>SelectMenuComponent

A powerful and customizable framework for Discordeno
Latest
interface SelectMenuComponent
Re-export
import { type SelectMenuComponent } from "https://deno.land/x/natico@4.0.0-pre.4/mod.ts";

Properties

type: MessageComponentTypes.SelectMenu
customId: string

A custom identifier for this component. Maximum 100 characters.

optional
placeholder: string

A custom placeholder text if nothing is selected. Maximum 100 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.