diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-11-09 07:37:10 +0100 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-11-09 07:37:10 +0100 |
commit | aaa3204704b677b59b60dd2719080ead5a0c1274 (patch) | |
tree | 552805fd7e417d3f51bef1da0a51d34c0f2d0036 /LibMatrix/Interfaces/EventContent.cs | |
parent | Cleanup, fixes, fix proxy support (diff) | |
download | LibMatrix-aaa3204704b677b59b60dd2719080ead5a0c1274.tar.xz |
State vs Timeline events
Diffstat (limited to '')
-rw-r--r-- | LibMatrix/Interfaces/EventContent.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/LibMatrix/Interfaces/EventContent.cs b/LibMatrix/Interfaces/EventContent.cs index 51671dd..ec09c7e 100644 --- a/LibMatrix/Interfaces/EventContent.cs +++ b/LibMatrix/Interfaces/EventContent.cs @@ -3,11 +3,14 @@ using System.Text.Json.Serialization; namespace LibMatrix.Interfaces; public abstract class EventContent { + +} +public abstract class TimelineEventContent : EventContent { [JsonPropertyName("m.relates_to")] public MessageRelatesTo? RelatesTo { get; set; } // [JsonPropertyName("m.new_content")] - // public EventContent? NewContent { get; set; } + // public TimelineEventContent? NewContent { get; set; } public class MessageRelatesTo { [JsonPropertyName("m.in_reply_to")] |