diff options
Diffstat (limited to 'LibMatrix/EventTypes/Common')
-rw-r--r-- | LibMatrix/EventTypes/Common/MjolnirShortcodeEventContent.cs | 10 | ||||
-rw-r--r-- | LibMatrix/EventTypes/Common/RoomEmotesEventContent.cs | 25 |
2 files changed, 0 insertions, 35 deletions
diff --git a/LibMatrix/EventTypes/Common/MjolnirShortcodeEventContent.cs b/LibMatrix/EventTypes/Common/MjolnirShortcodeEventContent.cs deleted file mode 100644 index a09a393..0000000 --- a/LibMatrix/EventTypes/Common/MjolnirShortcodeEventContent.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System.Text.Json.Serialization; -using LibMatrix.Interfaces; - -namespace LibMatrix.EventTypes.Common; - -[MatrixEvent(EventName = "org.matrix.mjolnir.shortcode")] -public class MjolnirShortcodeEventContent : TimelineEventContent { - [JsonPropertyName("shortcode")] - public string? Shortcode { get; set; } -} diff --git a/LibMatrix/EventTypes/Common/RoomEmotesEventContent.cs b/LibMatrix/EventTypes/Common/RoomEmotesEventContent.cs deleted file mode 100644 index 8d05a2e..0000000 --- a/LibMatrix/EventTypes/Common/RoomEmotesEventContent.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System.Text.Json.Serialization; -using LibMatrix.Interfaces; - -namespace LibMatrix.EventTypes.Common; - -[MatrixEvent(EventName = "im.ponies.room_emotes")] -public class RoomEmotesEventContent : TimelineEventContent { - [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 { - - } -} |