Class DiscordStringSelectComponent
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
A select menu with multiple options to choose from.
public sealed class DiscordStringSelectComponent : DiscordBaseSelectComponent
- Inheritance
-
DiscordStringSelectComponent
- Inherited Members
Constructors
- DiscordStringSelectComponent()
Constructs a new DiscordStringSelectComponent.
- DiscordStringSelectComponent(string, IEnumerable<DiscordStringSelectComponentOption>, string, int, int, bool)
Constructs a new DiscordStringSelectComponent.
- DiscordStringSelectComponent(string, string, IEnumerable<DiscordStringSelectComponentOption>, string, int, int, bool)
Constructs a new DiscordStringSelectComponent for modals.
Properties
- Options
The options to pick from on this component.
Methods
- Disable()
Disables this component.
- Enable()
Enables this component if it was disabled before.