SelectMenuBuilder class
- Inheritance
-
- Object
- Builder<
MessageComponent> - CreateBuilder<
MessageComponent> - MessageComponentBuilder
- SelectMenuBuilder
Constructors
-
SelectMenuBuilder({required MessageComponentType type, required String customId, List<
SelectMenuOptionBuilder> ? options, List<ChannelType> ? channelTypes, String? placeholder, List<DefaultValue< ? defaultValues, int? minValues, int? maxValues, bool? isDisabled})SnowflakeEntity> > -
SelectMenuBuilder.channelSelect({required String customId, String? placeholder, List<
DefaultValue< ? defaultValues, int? minValues, int? maxValues, bool? isDisabled})Channel> > -
SelectMenuBuilder.mentionableSelect({required String customId, List<
ChannelType> ? channelTypes, String? placeholder, List<DefaultValue< ? defaultValues, int? minValues, int? maxValues, bool? isDisabled})CommandOptionMentionable< >CommandOptionMentionable> > -
SelectMenuBuilder.roleSelect({required String customId, String? placeholder, List<
DefaultValue< ? defaultValues, int? minValues, int? maxValues, bool? isDisabled})Role> > -
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< ? defaultValues, int? minValues, int? maxValues, bool? isDisabled})User> >
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