Table of Contents

Class ModalSelectComponentAttribute

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

Base attribute for select-menu, user, channel, role, and mentionable select inputs in modals.

public abstract class ModalSelectComponentAttribute : ModalInputAttribute
Inheritance
ModalSelectComponentAttribute
Derived
Inherited Members

Properties

MaxValues

Gets or sets the maximum number of values that can be selected.

public int MaxValues { get; set; }

Property Value

int

MinValues

Gets or sets the minimum number of values that can be selected.

public int MinValues { get; set; }

Property Value

int

Placeholder

Gets or sets the placeholder text.

public string Placeholder { get; set; }

Property Value

string