Skip to main content
Version: Next

APIChannelSelectComponent

Hierarchy

Index

Properties

optionalchannel_types

channel_types?: ChannelType[]

List of channel types to include in the ChannelSelect component

inheritedcustom_id

custom_id: string

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

optionalinheriteddefault_values

default_values?: APISelectMenuDefaultValue<Channel>[]

List of default values for auto-populated select menu components

optionalinheriteddisabled

disabled?: boolean = false

Disable the select

optionalinheritedmax_values

max_values?: number = 1

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

optionalinheritedmin_values

min_values?: number = 1

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

optionalinheritedplaceholder

placeholder?: string

Custom placeholder text if nothing is selected, max 150 characters

inheritedtype

type: ChannelSelect

The type of the component