Class RadioGroupComponent
- Namespace
- Discord
- Assembly
- Discord.Net.Core.dll
Represents a component of type RadioGroup.
public class RadioGroupComponent : IInteractableComponent, IMessageComponent
- Inheritance
-
RadioGroupComponent
- Implements
- Inherited Members
Properties
CustomId
Gets the custom ID of this component.
public string CustomId { get; }
Property Value
Id
Gets the ID of this component.
public int? Id { get; }
Property Value
- int?
IsRequired
Gets whether this component requires a file upload to be submitted.
public bool? IsRequired { get; }
Property Value
- bool?
Options
Gets the options for this radio group.
public IReadOnlyCollection<RadioGroupOption> Options { get; }
Property Value
Type
Gets the ComponentType of this Message Component.
public ComponentType Type { get; }
Property Value
Methods
ToBuilder()
Converts a IMessageComponent to a IMessageComponentBuilder.
public RadioGroupBuilder ToBuilder()