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
valuestringThe developer-defined value that will be returned to the bot when the modal is submitted.
labelstringThe user-facing label of the option, max 100 characters.
descriptionstringThe user-facing description of the option, max 100 characters.
selectedByDefaultbool?Indicates whether this option is selected by default.