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

index f87fa62..ae893f8 100644 --- a/LibMatrix.EventTypes/Spec/RoomMessageEventContent.cs +++ b/LibMatrix.EventTypes/Spec/RoomMessageEventContent.cs
@@ -46,5 +46,11 @@ public class RoomMessageEventContent : TimelineEventContent { [JsonPropertyName("thumbnail_url")] public string? ThumbnailUrl { get; set; } + + [JsonPropertyName("w")] + public int? Width { get; set; } + + [JsonPropertyName("h")] + public int? Height { get; set; } } } \ No newline at end of file