diff options
Diffstat (limited to 'LibMatrix.EventTypes/MatrixEvent.cs')
-rw-r--r-- | LibMatrix.EventTypes/MatrixEvent.cs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/LibMatrix.EventTypes/MatrixEvent.cs b/LibMatrix.EventTypes/MatrixEvent.cs deleted file mode 100644 index 63f1e75..0000000 --- a/LibMatrix.EventTypes/MatrixEvent.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System.Text.Json.Serialization; - -namespace LibMatrix.EventTypes; - -public interface IMatrixEvent<out T> where T : MatrixEventContent; -public class MatrixEvent<T> : IMatrixEvent<T> where T : MatrixEventContent { - [JsonPropertyName("content")] - public T? Content { get; set; } -} \ No newline at end of file |