diff --git a/LibMatrix/StateEventTypes/Common/MjolnirShortcodeEventData.cs b/LibMatrix/StateEventTypes/Common/MjolnirShortcodeEventData.cs
deleted file mode 100644
index ff11be7..0000000
--- a/LibMatrix/StateEventTypes/Common/MjolnirShortcodeEventData.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using System.Text.Json.Serialization;
-using LibMatrix.Helpers;
-using LibMatrix.Interfaces;
-
-namespace LibMatrix.StateEventTypes.Common;
-
-[MatrixEvent(EventName = "org.matrix.mjolnir.shortcode")]
-public class MjolnirShortcodeEventContent : EventContent {
- [JsonPropertyName("shortcode")]
- public string? Shortcode { get; set; }
-}
diff --git a/LibMatrix/StateEventTypes/Common/RoomEmotesEventData.cs b/LibMatrix/StateEventTypes/Common/RoomEmotesEventData.cs
deleted file mode 100644
index a056eda..0000000
--- a/LibMatrix/StateEventTypes/Common/RoomEmotesEventData.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-using System.Text.Json.Serialization;
-using LibMatrix.Helpers;
-using LibMatrix.Interfaces;
-
-namespace LibMatrix.StateEventTypes.Common;
-
-[MatrixEvent(EventName = "im.ponies.room_emotes")]
-public class RoomEmotesEventContent : EventContent {
- [JsonPropertyName("emoticons")]
- public Dictionary<string, EmoticonData>? Emoticons { get; set; }
-
- [JsonPropertyName("images")]
- public Dictionary<string, EmoticonData>? Images { get; set; }
-
- [JsonPropertyName("pack")]
- public PackInfo? Pack { get; set; }
-
- public class EmoticonData {
- [JsonPropertyName("url")]
- public string? Url { get; set; }
- }
-
- public class PackInfo {
-
- }
-}
diff --git a/LibMatrix/StateEventTypes/Spec/CanonicalAliasEventContent.cs b/LibMatrix/StateEventTypes/Spec/CanonicalAliasEventContent.cs
deleted file mode 100644
index 7a0e84c..0000000
--- a/LibMatrix/StateEventTypes/Spec/CanonicalAliasEventContent.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using System.Text.Json.Serialization;
-using LibMatrix.Helpers;
-using LibMatrix.Interfaces;
-
-namespace LibMatrix.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.room.canonical_alias")]
-public class CanonicalAliasEventContent : EventContent {
- [JsonPropertyName("alias")]
- public string? Alias { get; set; }
- [JsonPropertyName("alt_aliases")]
- public string[]? AltAliases { get; set; }
-}
diff --git a/LibMatrix/StateEventTypes/Spec/GuestAccessEventData.cs b/LibMatrix/StateEventTypes/Spec/GuestAccessEventData.cs
deleted file mode 100644
index 0709b86..0000000
--- a/LibMatrix/StateEventTypes/Spec/GuestAccessEventData.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-using System.Text.Json.Serialization;
-using LibMatrix.Helpers;
-using LibMatrix.Interfaces;
-
-namespace LibMatrix.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.room.guest_access")]
-public class GuestAccessEventContent : EventContent {
- [JsonPropertyName("guest_access")]
- public string GuestAccess { get; set; }
-
- public bool IsGuestAccessEnabled {
- get => GuestAccess == "can_join";
- set => GuestAccess = value ? "can_join" : "forbidden";
- }
-}
diff --git a/LibMatrix/StateEventTypes/Spec/HistoryVisibilityEventData.cs b/LibMatrix/StateEventTypes/Spec/HistoryVisibilityEventData.cs
deleted file mode 100644
index b19dd32..0000000
--- a/LibMatrix/StateEventTypes/Spec/HistoryVisibilityEventData.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using System.Text.Json.Serialization;
-using LibMatrix.Helpers;
-using LibMatrix.Interfaces;
-
-namespace LibMatrix.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.room.history_visibility")]
-public class HistoryVisibilityEventContent : EventContent {
- [JsonPropertyName("history_visibility")]
- public string HistoryVisibility { get; set; }
-}
diff --git a/LibMatrix/StateEventTypes/Spec/JoinRulesEventData.cs b/LibMatrix/StateEventTypes/Spec/JoinRulesEventData.cs
deleted file mode 100644
index 8c0772f..0000000
--- a/LibMatrix/StateEventTypes/Spec/JoinRulesEventData.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-using System.Text.Json.Serialization;
-using LibMatrix.Helpers;
-using LibMatrix.Interfaces;
-
-namespace LibMatrix.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.room.join_rules")]
-public class JoinRulesEventContent : EventContent {
- private static string Public = "public";
- private static string Invite = "invite";
- private static string Knock = "knock";
-
- /// <summary>
- /// one of ["public", "invite", "knock", "restricted", "knock_restricted"]
- /// "private" is reserved without implementation!
- /// </summary>
- [JsonPropertyName("join_rule")]
- public string JoinRule { get; set; }
-
- [JsonPropertyName("allow")]
- public List<AllowEntry> Allow { get; set; }
-
- public class AllowEntry {
- [JsonPropertyName("type")]
- public string Type { get; set; }
-
- [JsonPropertyName("room_id")]
- public string RoomId { get; set; }
- }
-}
diff --git a/LibMatrix/StateEventTypes/Spec/PolicyRuleStateEventData.cs b/LibMatrix/StateEventTypes/Spec/PolicyRuleStateEventData.cs
deleted file mode 100644
index 539e371..0000000
--- a/LibMatrix/StateEventTypes/Spec/PolicyRuleStateEventData.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-using System.Text.Json.Serialization;
-using LibMatrix.Helpers;
-using LibMatrix.Interfaces;
-
-namespace LibMatrix.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.policy.rule.user")]
-[MatrixEvent(EventName = "m.policy.rule.server")]
-[MatrixEvent(EventName = "org.matrix.mjolnir.rule.server")]
-public class PolicyRuleEventContent : EventContent {
- /// <summary>
- /// Entity this ban applies to, can use * and ? as globs.
- /// </summary>
- [JsonPropertyName("entity")]
- public string Entity { get; set; }
-
- /// <summary>
- /// Reason this user is banned
- /// </summary>
- [JsonPropertyName("reason")]
- public string? Reason { get; set; }
-
- /// <summary>
- /// Suggested action to take
- /// </summary>
- [JsonPropertyName("recommendation")]
- public string? Recommendation { get; set; }
-
- /// <summary>
- /// Expiry time in milliseconds since the unix epoch, or null if the ban has no expiry.
- /// </summary>
- [JsonPropertyName("support.feline.policy.expiry.rev.2")] //stable prefix: expiry, msc pending
- public long? Expiry { get; set; }
-
- //utils
- /// <summary>
- /// Readable expiry time, provided for easy interaction
- /// </summary>
- [JsonPropertyName("gay.rory.matrix_room_utils.readable_expiry_time_utc")]
- public DateTime? ExpiryDateTime {
- get => Expiry == null ? null : DateTimeOffset.FromUnixTimeMilliseconds(Expiry.Value).DateTime;
- set => Expiry = ((DateTimeOffset)value).ToUnixTimeMilliseconds();
- }
-}
-
-public static class PolicyRecommendationTypes {
- /// <summary>
- /// Ban this user
- /// </summary>
- public static string Ban = "m.ban";
-
- /// <summary>
- /// Mute this user
- /// </summary>
- public static string Mute = "support.feline.policy.recommendation_mute"; //stable prefix: m.mute, msc pending
-}
diff --git a/LibMatrix/StateEventTypes/Spec/PresenceStateEventData.cs b/LibMatrix/StateEventTypes/Spec/PresenceStateEventData.cs
deleted file mode 100644
index b897ff0..0000000
--- a/LibMatrix/StateEventTypes/Spec/PresenceStateEventData.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-using System.Text.Json.Serialization;
-using LibMatrix.Helpers;
-using LibMatrix.Interfaces;
-
-namespace LibMatrix.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.presence")]
-public class PresenceEventContent : EventContent {
- [JsonPropertyName("presence")]
- public string Presence { get; set; }
- [JsonPropertyName("last_active_ago")]
- public long LastActiveAgo { get; set; }
- [JsonPropertyName("currently_active")]
- public bool CurrentlyActive { get; set; }
- [JsonPropertyName("status_msg")]
- public string StatusMessage { get; set; }
- [JsonPropertyName("avatar_url")]
- public string AvatarUrl { get; set; }
- [JsonPropertyName("displayname")]
- public string DisplayName { get; set; }
-}
diff --git a/LibMatrix/StateEventTypes/Spec/ProfileResponseEventData.cs b/LibMatrix/StateEventTypes/Spec/ProfileResponseEventData.cs
deleted file mode 100644
index 9b4f1d0..0000000
--- a/LibMatrix/StateEventTypes/Spec/ProfileResponseEventData.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-using System.Text.Json.Serialization;
-using LibMatrix.Interfaces;
-
-namespace LibMatrix.StateEventTypes.Spec;
-
-public class ProfileResponseEventContent : EventContent {
- [JsonPropertyName("avatar_url")]
- public string? AvatarUrl { get; set; }
-
- [JsonPropertyName("displayname")]
- public string? DisplayName { get; set; }
-}
diff --git a/LibMatrix/StateEventTypes/Spec/RoomAliasEventData.cs b/LibMatrix/StateEventTypes/Spec/RoomAliasEventData.cs
deleted file mode 100644
index d3960a1..0000000
--- a/LibMatrix/StateEventTypes/Spec/RoomAliasEventData.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using System.Text.Json.Serialization;
-using LibMatrix.Helpers;
-using LibMatrix.Interfaces;
-
-namespace LibMatrix.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.room.alias")]
-public class RoomAliasEventContent : EventContent {
- [JsonPropertyName("aliases")]
- public List<string>? Aliases { get; set; }
-}
diff --git a/LibMatrix/StateEventTypes/Spec/RoomAvatarEventData.cs b/LibMatrix/StateEventTypes/Spec/RoomAvatarEventData.cs
deleted file mode 100644
index e2263c8..0000000
--- a/LibMatrix/StateEventTypes/Spec/RoomAvatarEventData.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-using System.Text.Json.Serialization;
-using LibMatrix.Helpers;
-using LibMatrix.Interfaces;
-
-namespace LibMatrix.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.room.avatar")]
-public class RoomAvatarEventContent : EventContent {
- [JsonPropertyName("url")]
- public string? Url { get; set; }
-
- [JsonPropertyName("info")]
- public RoomAvatarInfo? Info { get; set; }
-
- public class RoomAvatarInfo {
- [JsonPropertyName("h")]
- public int? Height { get; set; }
-
- [JsonPropertyName("w")]
- public int? Width { get; set; }
-
- [JsonPropertyName("mimetype")]
- public string? MimeType { get; set; }
-
- [JsonPropertyName("size")]
- public int? Size { get; set; }
- }
-}
diff --git a/LibMatrix/StateEventTypes/Spec/RoomCreateEventData.cs b/LibMatrix/StateEventTypes/Spec/RoomCreateEventData.cs
deleted file mode 100644
index 22df784..0000000
--- a/LibMatrix/StateEventTypes/Spec/RoomCreateEventData.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using System.Text.Json.Serialization;
-using LibMatrix.Helpers;
-using LibMatrix.Interfaces;
-
-namespace LibMatrix.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.room.create")]
-public class RoomCreateEventContent : EventContent {
- [JsonPropertyName("room_version")]
- public string? RoomVersion { get; set; }
- [JsonPropertyName("creator")]
- public string? Creator { get; set; }
- [JsonPropertyName("m.federate")]
- public bool? Federate { get; set; }
- [JsonPropertyName("predecessor")]
- public RoomCreatePredecessor? Predecessor { get; set; }
- [JsonPropertyName("type")]
- public string? Type { get; set; }
-
- public class RoomCreatePredecessor {
- [JsonPropertyName("room_id")]
- public string? RoomId { get; set; }
-
- [JsonPropertyName("event_id")]
- public string? EventId { get; set; }
- }
-}
diff --git a/LibMatrix/StateEventTypes/Spec/RoomEncryptionEventData.cs b/LibMatrix/StateEventTypes/Spec/RoomEncryptionEventData.cs
deleted file mode 100644
index 1d5ec2c..0000000
--- a/LibMatrix/StateEventTypes/Spec/RoomEncryptionEventData.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using System.Text.Json.Serialization;
-using LibMatrix.Helpers;
-using LibMatrix.Interfaces;
-
-namespace LibMatrix.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.room.encryption")]
-public class RoomEncryptionEventContent : EventContent {
- [JsonPropertyName("algorithm")]
- public string? Algorithm { get; set; }
- [JsonPropertyName("rotation_period_ms")]
- public ulong? RotationPeriodMs { get; set; }
- [JsonPropertyName("rotation_period_msgs")]
- public ulong? RotationPeriodMsgs { get; set; }
-}
diff --git a/LibMatrix/StateEventTypes/Spec/RoomMemberEventData.cs b/LibMatrix/StateEventTypes/Spec/RoomMemberEventData.cs
deleted file mode 100644
index a9d4710..0000000
--- a/LibMatrix/StateEventTypes/Spec/RoomMemberEventData.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-using System.Text.Json.Serialization;
-using LibMatrix.Helpers;
-using LibMatrix.Interfaces;
-
-namespace LibMatrix.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.room.member")]
-public class RoomMemberEventContent : EventContent {
- [JsonPropertyName("reason")]
- public string? Reason { get; set; }
-
- [JsonPropertyName("membership")]
- public string Membership { get; set; } = null!;
-
- [JsonPropertyName("displayname")]
- public string? Displayname { get; set; }
-
- [JsonPropertyName("is_direct")]
- public bool? IsDirect { get; set; }
-
- [JsonPropertyName("avatar_url")]
- public string? AvatarUrl { get; set; }
-
- [JsonPropertyName("kind")]
- public string? Kind { get; set; }
-
- [JsonPropertyName("join_authorised_via_users_server")]
- public string? JoinAuthorisedViaUsersServer { get; set; }
-}
diff --git a/LibMatrix/StateEventTypes/Spec/RoomMessageEventData.cs b/LibMatrix/StateEventTypes/Spec/RoomMessageEventData.cs
deleted file mode 100644
index a15efe8..0000000
--- a/LibMatrix/StateEventTypes/Spec/RoomMessageEventData.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System.Text.Json.Serialization;
-using ArcaneLibs.Extensions;
-using LibMatrix.Helpers;
-using LibMatrix.Interfaces;
-
-namespace LibMatrix.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.room.message")]
-public class RoomMessageEventContent : EventContent {
- public RoomMessageEventContent(string? messageType = "m.notice", string? body = null) {
- MessageType = messageType;
- Body = body;
- }
-
- [JsonPropertyName("body")]
- public string Body { get; set; }
-
- [JsonPropertyName("msgtype")]
- public string MessageType { get; set; } = "m.notice";
-
- [JsonPropertyName("formatted_body")]
- public string FormattedBody { get; set; }
-
- [JsonPropertyName("format")]
- public string Format { get; set; }
-
- /// <summary>
- /// Media URI for this message, if any
- /// </summary>
- [JsonPropertyName("url")]
- public string? Url { get; set; }
-}
diff --git a/LibMatrix/StateEventTypes/Spec/RoomNameEventData.cs b/LibMatrix/StateEventTypes/Spec/RoomNameEventData.cs
deleted file mode 100644
index 3002102..0000000
--- a/LibMatrix/StateEventTypes/Spec/RoomNameEventData.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using System.Text.Json.Serialization;
-using LibMatrix.Helpers;
-using LibMatrix.Interfaces;
-
-namespace LibMatrix.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.room.name")]
-public class RoomNameEventContent : EventContent {
- [JsonPropertyName("name")]
- public string? Name { get; set; }
-}
diff --git a/LibMatrix/StateEventTypes/Spec/RoomPinnedEventData.cs b/LibMatrix/StateEventTypes/Spec/RoomPinnedEventData.cs
deleted file mode 100644
index 16144bc..0000000
--- a/LibMatrix/StateEventTypes/Spec/RoomPinnedEventData.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using System.Text.Json.Serialization;
-using LibMatrix.Helpers;
-using LibMatrix.Interfaces;
-
-namespace LibMatrix.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.room.pinned_events")]
-public class RoomPinnedEventContent : EventContent {
- [JsonPropertyName("pinned")]
- public string[]? PinnedEvents { get; set; }
-}
diff --git a/LibMatrix/StateEventTypes/Spec/RoomPowerLevelEventData.cs b/LibMatrix/StateEventTypes/Spec/RoomPowerLevelEventData.cs
deleted file mode 100644
index 960c198..0000000
--- a/LibMatrix/StateEventTypes/Spec/RoomPowerLevelEventData.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-using System.Text.Json.Serialization;
-using LibMatrix.Helpers;
-using LibMatrix.Interfaces;
-
-namespace LibMatrix.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.room.power_levels")]
-public class RoomPowerLevelEventContent : EventContent {
- [JsonPropertyName("ban")]
- public long Ban { get; set; } // = 50;
-
- [JsonPropertyName("events_default")]
- public long EventsDefault { get; set; } // = 0;
-
- [JsonPropertyName("events")]
- public Dictionary<string, long> Events { get; set; } // = null!;
-
- [JsonPropertyName("invite")]
- public long Invite { get; set; } // = 50;
-
- [JsonPropertyName("kick")]
- public long Kick { get; set; } // = 50;
-
- [JsonPropertyName("notifications")]
- public NotificationsPL NotificationsPl { get; set; } // = null!;
-
- [JsonPropertyName("redact")]
- public long Redact { get; set; } // = 50;
-
- [JsonPropertyName("state_default")]
- public long StateDefault { get; set; } // = 50;
-
- [JsonPropertyName("users")]
- public Dictionary<string, long> Users { get; set; } // = null!;
-
- [JsonPropertyName("users_default")]
- public long UsersDefault { get; set; } // = 0;
-
- [Obsolete("Historical was a key related to MSC2716, a spec change on backfill that was dropped!", true)]
- [JsonIgnore]
- [JsonPropertyName("historical")]
- public long Historical { get; set; } // = 50;
-
- public class NotificationsPL {
- [JsonPropertyName("room")]
- public long Room { get; set; } = 50;
- }
-
- public bool IsUserAdmin(string userId) {
- return Users.TryGetValue(userId, out var level) && level >= Events.Max(x=>x.Value);
- }
-
- public bool UserHasPermission(string userId, string eventType) {
- return Users.TryGetValue(userId, out var level) && level >= Events.GetValueOrDefault(eventType, EventsDefault);
- }
-}
diff --git a/LibMatrix/StateEventTypes/Spec/RoomTopicEventData.cs b/LibMatrix/StateEventTypes/Spec/RoomTopicEventData.cs
deleted file mode 100644
index 61d1a01..0000000
--- a/LibMatrix/StateEventTypes/Spec/RoomTopicEventData.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-using System.Text.Json.Serialization;
-using LibMatrix.Helpers;
-using LibMatrix.Interfaces;
-
-namespace LibMatrix.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.room.topic")]
-[MatrixEvent(EventName = "org.matrix.msc3765.topic", Legacy = true)]
-public class RoomTopicEventContent : EventContent {
- [JsonPropertyName("topic")]
- public string? Topic { get; set; }
-}
diff --git a/LibMatrix/StateEventTypes/Spec/RoomTypingEventData.cs b/LibMatrix/StateEventTypes/Spec/RoomTypingEventData.cs
deleted file mode 100644
index e935cb2..0000000
--- a/LibMatrix/StateEventTypes/Spec/RoomTypingEventData.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using System.Text.Json.Serialization;
-using LibMatrix.Helpers;
-using LibMatrix.Interfaces;
-
-namespace LibMatrix.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.typing")]
-public class RoomTypingEventContent : EventContent {
- [JsonPropertyName("user_ids")]
- public string[]? UserIds { get; set; }
-}
diff --git a/LibMatrix/StateEventTypes/Spec/ServerACLEventData.cs b/LibMatrix/StateEventTypes/Spec/ServerACLEventData.cs
deleted file mode 100644
index 031d113..0000000
--- a/LibMatrix/StateEventTypes/Spec/ServerACLEventData.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using System.Text.Json.Serialization;
-using LibMatrix.Helpers;
-using LibMatrix.Interfaces;
-
-namespace LibMatrix.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.room.server_acl")]
-public class ServerACLEventContent : EventContent {
- [JsonPropertyName("allow")]
- public List<string> Allow { get; set; } // = null!;
-
- [JsonPropertyName("deny")]
- public List<string> Deny { get; set; } // = null!;
-
- [JsonPropertyName("allow_ip_literals")]
- public bool AllowIpLiterals { get; set; } // = false;
-}
diff --git a/LibMatrix/StateEventTypes/Spec/SpaceChildEventData.cs b/LibMatrix/StateEventTypes/Spec/SpaceChildEventData.cs
deleted file mode 100644
index 80fc771..0000000
--- a/LibMatrix/StateEventTypes/Spec/SpaceChildEventData.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using System.Text.Json.Serialization;
-using LibMatrix.Helpers;
-using LibMatrix.Interfaces;
-
-namespace LibMatrix.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.space.child")]
-public class SpaceChildEventContent : EventContent {
- [JsonPropertyName("auto_join")]
- public bool? AutoJoin { get; set; }
- [JsonPropertyName("via")]
- public string[]? Via { get; set; }
- [JsonPropertyName("suggested")]
- public bool? Suggested { get; set; }
-}
diff --git a/LibMatrix/StateEventTypes/Spec/SpaceParentEventData.cs b/LibMatrix/StateEventTypes/Spec/SpaceParentEventData.cs
deleted file mode 100644
index 1bc89ab..0000000
--- a/LibMatrix/StateEventTypes/Spec/SpaceParentEventData.cs
+++ /dev/null
@@ -1,14 +0,0 @@
-using System.Text.Json.Serialization;
-using LibMatrix.Helpers;
-using LibMatrix.Interfaces;
-
-namespace LibMatrix.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.space.parent")]
-public class SpaceParentEventContent : EventContent {
- [JsonPropertyName("via")]
- public string[]? Via { get; set; }
-
- [JsonPropertyName("canonical")]
- public bool? Canonical { get; set; }
-}
diff --git a/LibMatrix/StateEventTypes/UnknownStateEventData.cs b/LibMatrix/StateEventTypes/UnknownStateEventData.cs
deleted file mode 100644
index 59d8fd4..0000000
--- a/LibMatrix/StateEventTypes/UnknownStateEventData.cs
+++ /dev/null
@@ -1,7 +0,0 @@
-using LibMatrix.Interfaces;
-
-namespace LibMatrix.StateEventTypes;
-
-public class UnknownEventContent : EventContent {
-
-}
|