blob: 7a303bc56ebc93455bc2d4fa727b89103717b205 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
using System.Text.Json.Serialization;
using MatrixRoomUtils.Core.Interfaces;
using MatrixRoomUtils.Core.Responses;
namespace MatrixRoomUtils.Core;
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();
}
|