Table of Contents

Class ModalFileTypeAttribute

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

Adds a file type to the marked field.

[AttributeUsage(AttributeTargets.Property, AllowMultiple = true)]
public class ModalFileTypeAttribute : Attribute
Inheritance
ModalFileTypeAttribute
Inherited Members

Constructors

ModalFileTypeAttribute(string)

Creates a new ModalFileTypeAttribute.

public ModalFileTypeAttribute(string fileType)

Parameters

fileType string

The file type to add.

Properties

FileType

The file type to add.

public string FileType { get; }

Property Value

string