Class ModalMentionableSelectAttribute
- Namespace
- Discord.Interactions
- Assembly
- Discord.Net.Interactions.dll
Marks a IModal property as a mentionable select input.
public class ModalMentionableSelectAttribute : ModalSelectComponentAttribute
- Inheritance
-
ModalMentionableSelectAttribute
- Inherited Members
Constructors
ModalMentionableSelectAttribute(string, int, int)
Create a new ModalMentionableSelectAttribute.
public ModalMentionableSelectAttribute(string customId, int minValues = 1, int maxValues = 1)
Parameters
customIdstringCustom ID of the mentionable select component.
minValuesintMinimum number of values that can be selected.
maxValuesintMaximum number of values that can be selected
Properties
ComponentType
Gets the type of the component.
public override ComponentType ComponentType { get; }