about summary refs log tree commit diff
path: root/LibMatrix/Responses/MessagesResponse.cs
blob: 4912add701738f024d87683305d58d72e8f3d52d (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.Responses;

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();
}