about summary refs log tree commit diff
path: root/LibMatrix/MessagesResponse.cs
blob: d7bb54ada6871fc375b6698739592349fc362101 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System.Collections.Generic;
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<StateEventResponse> Chunk { get; set; } = new();

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