Table of Contents

Class ModalRadioGroupAttribute

Namespace
Discord.Interactions
Assembly
Discord.Net.Interactions.dll

Marks a IModal property as a radio group input.

[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public class ModalRadioGroupAttribute : ModalInputAttribute
Inheritance
ModalRadioGroupAttribute
Inherited Members

Constructors

ModalRadioGroupAttribute(string, int)

public ModalRadioGroupAttribute(string customId, int id = 0)

Parameters

customId string

Custom ID of the select menu component.

id int

The optional identifier for the component.

Properties

ComponentType

Gets the type of the component.

public override ComponentType ComponentType { get; }

Property Value

ComponentType