Triggered when a folder is deleted.
If the movedToTrash
property in the event object is true
, the folder was moved to the Media Manager's trash bin. If the movedToTrash
property in the event object is false
, the folder was permanently deleted.
handler(event: FolderDeletedEnvelope): void | Promise<void>