about summary refs log tree commit diff
path: root/LibMatrix/MessagesResponse.cs
blob: f1a220cd701399f589f6dd912885f8ecf023662e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System.Text.Json.Serialization;

namespace LibMatrix;

public class MessagesResponse {
    [JsonPropertyName("start")]
    public string Start { get; set; }

    [JsonPropertyName("end")]
    public string? End { get; set; }

    [JsonPropertyName("chunk")]
    public List<StateEventResponse> Chunk { get; set; } = new();

    [JsonPropertyName("state")]
    public List<StateEventResponse> State { get; set; } = new();
}