ChannelMultiSelectBuilder class

Builder to create select menu with IChannels inside of it.

Constructors

ChannelMultiSelectBuilder(String customId, [List<ChannelType>? channelTypes])

Properties

channelTypes List<ChannelType>?
getter/setter pair
customId String
Id for the select menu; max 100 characters.
finalinherited
disabled bool?
Whether select menu is disabled (defaults to false).
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
maxValues int?
Maximum number of items that can be chosen (defaults to 1); max 25.
getter/setter pairinherited
minValues int?
Minimum number of items that must be chosen (defaults to 1); min 0, max 25.
getter/setter pairinherited
placeholder String?
Placeholder text if nothing is selected; max 150 characters.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type → ComponentType
Type of component
no setter

Methods

build() Map<String, dynamic>
Returns built response for api
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