From 7493353c5a880ed91b3c6b6b6360c9fb987bcd1a Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Mon, 22 Apr 2019 22:11:18 +0200 Subject: [PATCH] Add missing request body to create_media_conent --- src/r0/media/create_content.rs | 3 +++ 1 file changed, 3 insertions(+) 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 {