using System.Text.Json.Serialization; using LibMatrix.EventTypes; namespace ModerationBot.StateEventTypes.Policies.Implementations; /// /// File policy event, entity is the MXC URI of the file, hashed with SHA3-256. /// [MatrixEvent(EventName = "gay.rory.moderation.rule.media")] public class MediaPolicyFile : BasePolicy { /// /// Hash of the file, hashed with SHA3-256. /// [JsonPropertyName("file_hash")] public string? FileHash { get; set; } }