Table of Contents

Class DiscordCheckboxGroupOption

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

Represents a single checkbox within a DiscordCheckboxGroupComponent.

public class DiscordCheckboxGroupOption
Inheritance
DiscordCheckboxGroupOption

Constructors

DiscordCheckboxGroupOption(string, string, string?, bool?)

Creates a new checkbox for a checkbox group.

Properties

Description

An optional user-facing description of this checkbox. Maximum 100 characters.

Label

The user-facing label of the checkbox. Maximum 100 characters.

SelectedByDefault

Indicates whether this option is selected by default.

Value

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