diff options
author | Rory& <root@rory.gay> | 2024-03-17 13:30:38 +0100 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-03-17 13:30:38 +0100 |
commit | 677fe757733ab4af327ba74d047195be7d578e60 (patch) | |
tree | e4502c0ce8e021e0533f84706568669b36bbe0da /LibMatrix.EventTypes | |
parent | Add AddCollapsiblePart to MessageBuilder (diff) | |
download | LibMatrix-bak-677fe757733ab4af327ba74d047195be7d578e60.tar.xz |
Bot related fixes, image size
Diffstat (limited to 'LibMatrix.EventTypes')
-rw-r--r-- | LibMatrix.EventTypes/Spec/RoomMessageEventContent.cs | 6 |
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 |