Class DiscordBaseSelectComponent
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
A select menu with multiple options to choose from.
public class DiscordBaseSelectComponent : DiscordComponent, ILabelComponent
- Inheritance
-
DiscordBaseSelectComponent
- Implements
- Derived
- Inherited Members
Properties
- CustomId
The custom Id of this select component. This is sent back when a user interacts with the select menu.
- DefaultValues
The default values of this select menu.
- Disabled
Whether this select can be used.
- MaximumSelectedValues
The maximum amount of options that can be selected. Must be greater than or equal to zero or MinimumSelectedValues. Defaults to one.
- MinimumSelectedValues
The minimum amount of options that can be selected. Must be less than or equal to MaximumSelectedValues. Defaults to one.
- Placeholder
The text to show when no option is selected.
- Required
Whether this select component is required. For modals.
- SelectedValues
The selected values of this select menu.