Table of Contents

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

value string

The developer-defined value that will be returned to the bot when the modal is submitted.

label string

The user-facing label of the checkbox, max 100 characters.

description string

The user-facing description of the checkbox, max 100 characters.

selectedByDefault bool?

Indicates whether this checkbox is selected by default.