diff options
author | Emma [it/its]@Rory& <root@rory.gay> | 2024-02-09 16:30:49 +0100 |
---|---|---|
committer | Emma [it/its]@Rory& <root@rory.gay> | 2024-02-09 16:30:49 +0100 |
commit | f11fe491349854526f8d13e8b62458baeb3b23b6 (patch) | |
tree | c1c423d6bce67b2aa235b28daac914e6a7d1a6d9 /LibMatrix.EventTypes/Spec/RoomMessageEventContent.cs | |
parent | Allow specifying chunk size for GetManyMessages (diff) | |
download | LibMatrix-bak-f11fe491349854526f8d13e8b62458baeb3b23b6.tar.xz |
Consistently use EventId for event types
Diffstat (limited to 'LibMatrix.EventTypes/Spec/RoomMessageEventContent.cs')
-rw-r--r-- | LibMatrix.EventTypes/Spec/RoomMessageEventContent.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/LibMatrix.EventTypes/Spec/RoomMessageEventContent.cs b/LibMatrix.EventTypes/Spec/RoomMessageEventContent.cs index 1e27bce..f3e3f4f 100644 --- a/LibMatrix.EventTypes/Spec/RoomMessageEventContent.cs +++ b/LibMatrix.EventTypes/Spec/RoomMessageEventContent.cs @@ -37,10 +37,11 @@ public class RoomMessageEventContent : TimelineEventContent { public class FileInfoStruct { [JsonPropertyName("mimetype")] public string? MimeType { get; set; } + [JsonPropertyName("size")] public long Size { get; set; } + [JsonPropertyName("thumbnail_url")] public string? ThumbnailUrl { get; set; } } - -} +} \ No newline at end of file |