summaryrefslogtreecommitdiffstatshomepage
path: root/src/message.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/message.rs')
-rw-r--r--src/message.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/message.rs b/src/message.rs
index 419bb4d..14973bf 100644
--- a/src/message.rs
+++ b/src/message.rs
@@ -80,6 +80,7 @@ impl<'a, 'b> MessageParams<'a, 'b> {
}
#[derive(Deserialize, Debug, PartialEq, Copy, Clone)]
+#[serde(rename_all = "lowercase")]
pub enum MessageFormat {
Plain,
Markdown,