diff --git a/src/r0/media/create_content.rs b/src/r0/media/create_content.rs index d0bfa4aa..0ee953de 100644 --- a/src/r0/media/create_content.rs +++ b/src/r0/media/create_content.rs @@ -17,6 +17,9 @@ ruma_api! { /// The content type of the file being uploaded. #[ruma_api(header = "CONTENT_TYPE")] pub content_type: String, + /// The file contents to upload. + #[ruma_api(body)] + pub file: Vec, } response {