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
fileTypesstring[]The file types to allow.