about summary refs log tree commit diff
path: root/LibMatrix.EventTypes/EventContent.cs
diff options
context:
space:
mode:
Diffstat (limited to 'LibMatrix.EventTypes/EventContent.cs')
-rw-r--r--LibMatrix.EventTypes/EventContent.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/LibMatrix.EventTypes/EventContent.cs b/LibMatrix.EventTypes/EventContent.cs

index 1011e88..07f56e2 100644 --- a/LibMatrix.EventTypes/EventContent.cs +++ b/LibMatrix.EventTypes/EventContent.cs
@@ -53,6 +53,9 @@ public abstract class TimelineEventContent : EventContent { // used for reactions [JsonPropertyName("key")] public string? Key { get; set; } + + [JsonExtensionData] + public Dictionary<string, object>? AdditionalData { get; set; } = []; public class EventInReplyTo { [JsonPropertyName("event_id")]