Table of Contents

Constructor DiscordRadioGroupOption

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

DiscordRadioGroupOption(string, string, string?, bool?)

Creates a new option for a radio group.

public DiscordRadioGroupOption(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 option, max 100 characters.

description string

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

selectedByDefault bool?

Indicates whether this option is selected by default.