SelectMenuBuilder.roleSelect constructor

SelectMenuBuilder.roleSelect(
  1. {required String customId,
  2. String? placeholder,
  3. List<DefaultValue<Role>>? defaultValues,
  4. int? minValues,
  5. int? maxValues,
  6. bool? isDisabled}
)

Implementation

SelectMenuBuilder.roleSelect({
  required this.customId,
  this.placeholder,
  List<DefaultValue<Role>>? this.defaultValues,
  this.minValues,
  this.maxValues,
  this.isDisabled,
}) : super(type: MessageComponentType.roleSelect);