Add FORBIDDEN file type to FileAttachmentType for improved validation

This commit is contained in:
Thorsten Sommer 2025-12-28 15:53:29 +01:00
parent c480444559
commit f354382802
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -9,14 +9,19 @@ public enum FileAttachmentType
/// Document file types, such as .pdf, .docx, .txt, etc.
/// </summary>
DOCUMENT,
/// <summary>
/// All image file types, such as .jpg, .png, .gif, etc.
/// </summary>
IMAGE,
/// <summary>
/// All audio file types, such as .mp3, .wav, .aac, etc.
/// </summary>
AUDIO,
/// <summary>
/// Forbidden file types that should not be attached, such as executables.
/// </summary>
FORBIDDEN,
}