diff --git a/src/r0/sync.rs b/src/r0/sync.rs index 1408ca42..16a5e925 100644 --- a/src/r0/sync.rs +++ b/src/r0/sync.rs @@ -184,7 +184,7 @@ pub mod get_member_events { /// This API endpoint's reponse. #[derive(Clone, Debug, Deserialize, Serialize)] pub struct Response { - pub chunks: Vec + pub chunk: Vec } impl ::Endpoint for Endpoint { @@ -268,7 +268,7 @@ pub mod get_message_events { #[derive(Clone, Debug, Deserialize, Serialize)] pub struct Response { pub start: String, - pub chunks: Vec, + pub chunk: Vec, pub end: String }