From 80eabb9f9fcfd5dbe62344efb163d8cb3a5bb995 Mon Sep 17 00:00:00 2001 From: 0xMRTT <0xMRTT@proton.me> Date: Sat, 17 Jun 2023 16:37:32 +0200 Subject: [PATCH] fix: parent message id --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 0ad745a..4453414 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,6 +6,7 @@ use serde::{Serialize, Deserialize}; pub struct Delta { pub role: String, pub id: String, + #[serde(rename(serialize = "parentMessageId", deserialize = "parentMessageId"))] pub parent_message_id: String, pub text: String, pub delta: String,