Method AddCheckboxGroup
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
AddCheckboxGroup(DiscordCheckboxGroupComponent, string, string?)
Adds a group of checkboxes to this modal.
public DiscordModalBuilder AddCheckboxGroup(DiscordCheckboxGroupComponent checkboxGroup, string label, string? description = null)
Parameters
checkboxGroupDiscordCheckboxGroupComponentThe group of checkboxes to add to this modal.
labelstringA label text shown above the checkbox group. Each individual checkbox has its own label.
descriptionstringAn optional description for the checkbox group. Each individual checkbox may have its own description.
Returns
- DiscordModalBuilder
The builder instance for chaining.