about summary refs log tree commit diff
path: root/LibMatrix.Federation/FederationTypes/FederationBackfillResponse.cs
diff options
context:
space:
mode:
Diffstat (limited to 'LibMatrix.Federation/FederationTypes/FederationBackfillResponse.cs')
-rw-r--r--LibMatrix.Federation/FederationTypes/FederationBackfillResponse.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/LibMatrix.Federation/FederationTypes/FederationBackfillResponse.cs b/LibMatrix.Federation/FederationTypes/FederationBackfillResponse.cs
new file mode 100644

index 0000000..0fe72bd --- /dev/null +++ b/LibMatrix.Federation/FederationTypes/FederationBackfillResponse.cs
@@ -0,0 +1,14 @@ +using System.Text.Json.Serialization; + +namespace LibMatrix.Federation.FederationTypes; + +public class FederationBackfillResponse { + [JsonPropertyName("origin")] + public required string Origin { get; set; } + + [JsonPropertyName("origin_server_ts")] + public required long OriginServerTs { get; set; } + + [JsonPropertyName("pdus")] + public required List<SignedFederationEvent> Pdus { get; set; } +} \ No newline at end of file