Constructor DiscordCheckboxGroupOption
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
DiscordCheckboxGroupOption(string, string, string?, bool?)
Creates a new checkbox for a checkbox group.
public DiscordCheckboxGroupOption(string value, string label, string? description = null, bool? selectedByDefault = null)
Parameters
valuestringThe developer-defined value that will be returned to the bot when the modal is submitted.
labelstringThe user-facing label of the checkbox, max 100 characters.
descriptionstringThe user-facing description of the checkbox, max 100 characters.
selectedByDefaultbool?Indicates whether this checkbox is selected by default.