SelectMenuComponent class

A dropdown menu in which users can select from on or more choices.

Inheritance

Properties

channelTypes List<ChannelType>?
The channel types displayed in this select menu.
final
customId String
This component's custom ID.
final
defaultValues List<SelectMenuDefaultValue>?
The default selected values in this menu.
final
hashCode int
The hash code for this object.
no setterinherited
isDisabled bool?
Whether this component is disabled.
final
maxValues int?
The maximum number of values the user must select.
final
minValues int?
The minimum number of values the user must select.
final
options List<SelectMenuOption>?
The options in this menu.
final
placeholder String?
The placeholder shown when the user has not yet selected a value.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type MessageComponentType
The type of this component.
final

Methods

defaultToString() String
Same as toString, but only called when dart:mirrors is not available.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited