Table of Contents

Struct CheckboxGroupOptionProperties

Namespace
Discord
Assembly
Discord.Net.Core.dll

Represents the properties of an option for a CheckboxGroup component, used when building a checkbox group with RadioGroupBuilder.

public struct CheckboxGroupOptionProperties
Inherited Members

Constructors

CheckboxGroupOptionProperties(string, string, string, bool?)

Represents the properties of an option for a CheckboxGroup component, used when building a checkbox group with RadioGroupBuilder.

public CheckboxGroupOptionProperties(string value, string label, string description = null, bool? defaultState = null)

Parameters

value string
label string
description string
defaultState bool?

Properties

DefaultState

Gets or sets a value indicating whether the option is selected by default.

public bool? DefaultState { readonly get; set; }

Property Value

bool?

Description

Gets or sets the description of the option.

public string Description { readonly get; set; }

Property Value

string

Remarks

null if no description is set.

Label

Gets or sets the label of the option.

public string Label { readonly get; set; }

Property Value

string

Value

Gets or sets the value of the option.

public string Value { readonly get; set; }

Property Value

string