SelectMenuBuilder class

Inheritance

Constructors

SelectMenuBuilder({required MessageComponentType type, required String customId, List<SelectMenuOptionBuilder>? options, List<ChannelType>? channelTypes, String? placeholder, List<DefaultValue<SnowflakeEntity>>? defaultValues, int? minValues, int? maxValues, bool? isDisabled})
SelectMenuBuilder.channelSelect({required String customId, String? placeholder, List<DefaultValue<Channel>>? defaultValues, int? minValues, int? maxValues, bool? isDisabled})
SelectMenuBuilder.mentionableSelect({required String customId, List<ChannelType>? channelTypes, String? placeholder, List<DefaultValue<CommandOptionMentionable<CommandOptionMentionable>>>? defaultValues, int? minValues, int? maxValues, bool? isDisabled})
SelectMenuBuilder.roleSelect({required String customId, String? placeholder, List<DefaultValue<Role>>? defaultValues, int? minValues, int? maxValues, bool? isDisabled})
SelectMenuBuilder.stringSelect({required String customId, required List<SelectMenuOptionBuilder> options, String? placeholder, int? minValues, int? maxValues, bool? isDisabled})
SelectMenuBuilder.userSelect({required String customId, String? placeholder, List<DefaultValue<User>>? defaultValues, int? minValues, int? maxValues, bool? isDisabled})

Properties

channelTypes List<ChannelType>?
getter/setter pair
customId String
getter/setter pair
defaultValues List<DefaultValue<SnowflakeEntity>>?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isDisabled bool?
getter/setter pair
maxValues int?
getter/setter pair
minValues int?
getter/setter pair
options List<SelectMenuOptionBuilder>?
getter/setter pair
placeholder String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type MessageComponentType
getter/setter pairinherited

Methods

build() Map<String, Object?>
override
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