Table of Contents
API reference

Constructor FileTypesAttribute

Namespace
DisCatSharp.ApplicationCommands.Attributes
Assembly
DisCatSharp.ApplicationCommands.dll

FileTypesAttribute(params string[])

Defines allowed file types for an attachment parameter.

public FileTypesAttribute(params string[] fileTypes)

Parameters

fileTypes string[]

The file types to allow.