Table of Contents

Struct RadioGroupOptionProperties

Namespace
Discord
Assembly
Discord.Net.Core.dll

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

public struct RadioGroupOptionProperties
Inherited Members

Constructors

RadioGroupOptionProperties(string, string, string, bool?)

public RadioGroupOptionProperties(string value, string label, string description = null, bool? isDefault = null)

Parameters

value string
label string
description string
isDefault bool?

Properties

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.

IsDefault

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

public bool? IsDefault { readonly get; set; }

Property Value

bool?

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