diff options
author | Rory& <root@rory.gay> | 2024-04-19 15:54:30 +0200 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-04-19 15:54:30 +0200 |
commit | 440807e02393410327cd86d5ffa007dee98f8954 (patch) | |
tree | e750b0bab55a9ee7b507cd48eaa4ccb2ddd25fc0 /LibMatrix/StateEvent.cs | |
parent | Fix homeserver resolution, rewrite homeserver initialisation, HSE work (diff) | |
download | LibMatrix-440807e02393410327cd86d5ffa007dee98f8954.tar.xz |
Partial User-Interactive Authentication, allow skipping homeserver typing
Diffstat (limited to 'LibMatrix/StateEvent.cs')
-rw-r--r-- | LibMatrix/StateEvent.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/LibMatrix/StateEvent.cs b/LibMatrix/StateEvent.cs index 26c6a5f..f504c99 100644 --- a/LibMatrix/StateEvent.cs +++ b/LibMatrix/StateEvent.cs @@ -203,6 +203,19 @@ public class PaginatedChunkedStateEventResponse : ChunkedStateEventResponse { public string? End { get; set; } } +public class BatchedChunkedStateEventResponse : ChunkedStateEventResponse { + [JsonPropertyName("next_batch")] + public string? NextBatch { get; set; } + + [JsonPropertyName("prev_batch")] + public string? PrevBatch { get; set; } +} + +public class RecursedBatchedChunkedStateEventResponse : BatchedChunkedStateEventResponse { + [JsonPropertyName("recursion_depth")] + public int? RecursionDepth { get; set; } +} + #region Unused code /* |