Class DiscordRadioGroupOption
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
Represents a single option within a DiscordRadioGroupComponent.
public class DiscordRadioGroupOption
- Inheritance
-
DiscordRadioGroupOption
Constructors
- DiscordRadioGroupOption(string, string, string?, bool?)
Creates a new option for a radio group.
Properties
- Description
An optional user-facing description of this option. Maximum 100 characters.
- Label
The user-facing label of the option. 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.