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

@ -19,4 +19,9 @@ public enum FileAttachmentType
/// All audio file types, such as .mp3, .wav, .aac, etc. /// All audio file types, such as .mp3, .wav, .aac, etc.
/// </summary> /// </summary>
AUDIO, AUDIO,
/// <summary>
/// Forbidden file types that should not be attached, such as executables.
/// </summary>
FORBIDDEN,
} }