Table of Contents

Constructor DiscordRadioGroupComponentOption

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

DiscordRadioGroupComponentOption(string, string, string?, bool)

Creates a new radio group option.

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

Parameters

label string

The display label. Max 100 characters.

value string

The option value. Max 100 characters.

description string

An optional description. Max 100 characters.

isDefault bool

Whether this option should be selected by default.