From 0d0511e35d9965fc0ea5190ae3347c3d77c3334c Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Mon, 14 Aug 2023 04:09:13 +0200 Subject: Split LibMatrix into separate repo --- LibMatrix/MessagesResponse.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 LibMatrix/MessagesResponse.cs (limited to 'LibMatrix/MessagesResponse.cs') diff --git a/LibMatrix/MessagesResponse.cs b/LibMatrix/MessagesResponse.cs new file mode 100644 index 0000000..f09d136 --- /dev/null +++ b/LibMatrix/MessagesResponse.cs @@ -0,0 +1,18 @@ +using System.Text.Json.Serialization; +using LibMatrix.Responses; + +namespace LibMatrix; + +public class MessagesResponse { + [JsonPropertyName("start")] + public string Start { get; set; } + + [JsonPropertyName("end")] + public string? End { get; set; } + + [JsonPropertyName("chunk")] + public List Chunk { get; set; } = new(); + + [JsonPropertyName("state")] + public List State { get; set; } = new(); +} -- cgit 1.4.1