SelectMenuBuilderSummaryRepresents a select menu componentexport declare class SelectMenuBuilder extends ComponentBuilder<APISelectMenuComponent> ExtendsComponentBuilder<APISelectMenuComponent>Constructorconstructor(data?)Constructs a new instance of the SelectMenuBuilder classNameTypeOptionalDescriptiondataPartial<APISelectMenuComponent>YesNonePropertiesReadonlydata:Partial<DataType>The API data associated with this componentInherited from ComponentBuilderReadonlyoptions:SelectMenuOptionBuilder[]The options within this select menuMethodsaddOptions(options):thisAdds options to this select menuNameTypeOptionalDescriptionoptionsRestOrArray<SelectMenuOptionBuilder | APISelectMenuOption>NoThe options to add to this select menusetCustomId(customId):thisSets the custom id for this select menuNameTypeOptionalDescriptioncustomIdstringNoThe custom id to use for this select menusetDisabled(disabled?):thisSets whether this select menu is disabledNameTypeOptionalDescriptiondisabledbooleanYesWhether this select menu is disabledsetMaxValues(maxValues):thisSets the maximum values that must be selected in the select menuNameTypeOptionalDescriptionmaxValuesnumberNoThe maximum values that must be selectedsetMinValues(minValues):thisSets the minimum values that must be selected in the select menuNameTypeOptionalDescriptionminValuesnumberNoThe minimum values that must be selectedsetOptions(options):thisSets the options on this select menuNameTypeOptionalDescriptionoptionsRestOrArray<SelectMenuOptionBuilder | APISelectMenuOption>NoThe options to set on this select menusetPlaceholder(placeholder):thisSets the placeholder for this select menuNameTypeOptionalDescriptionplaceholderstringNoThe placeholder to use for this select menutoJSON():APISelectMenuComponentSerializes this component to an API-compatible JSON objectRemarksThis method runs validations on the data before serializing it. As such, it may throw an error if the data is invalid.