Class DiscordCheckboxGroupComponent
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
Represents a group of up to ten multi-select checkboxes. Available in modals.
public class DiscordCheckboxGroupComponent : DiscordComponent
- Inheritance
-
DiscordCheckboxGroupComponent
- Inherited Members
Constructors
- DiscordCheckboxGroupComponent(string, IReadOnlyList<DiscordCheckboxGroupOption>, int?, int?, bool?)
Creates a new checkbox group.
Properties
- IsRequired
Indicates whether checking at least one box is required to submit the modal.
- MaxValues
The maximum amount of checkboxes that may be checked within this group.
- MinValues
The minimum amount of checkboxes that must be checked within this group.
- Options
The checkboxes within this group that can be selected from.