diff --git a/src/room/message.rs b/src/room/message.rs index bce2c577..edd54cdd 100644 --- a/src/room/message.rs +++ b/src/room/message.rs @@ -423,6 +423,7 @@ pub struct FormattedBody { pub format: MessageFormat, /// The formatted version of the `body`. + #[serde(rename = "formatted_body")] pub body: String, }