about summary refs log tree commit diff
path: root/LibMatrix/MessagesResponse.cs
blob: 97a6c7812d1ebc0a1f03dbbb800b7a2624f7bdea (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<LegacyMatrixEventResponse> Chunk { get; set; } = new();

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