Table of Contents

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

string

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

IReadOnlyCollection<RadioGroupOption>

Type

Gets the ComponentType of this Message Component.

public ComponentType Type { get; }

Property Value

ComponentType

Methods

ToBuilder()

public RadioGroupBuilder ToBuilder()

Returns

RadioGroupBuilder