1
0
This commit is contained in:
2026-03-22 16:07:50 +09:00
parent 0943f2a5c6
commit 55b2c75768

View File

@@ -144,6 +144,7 @@ struct GetMessagesParams {
#[derive(Serialize)] #[derive(Serialize)]
struct GetMessagesResp { struct GetMessagesResp {
#[serde(skip_serializing_if = "Option::is_none")]
cursor: Option<String>, cursor: Option<String>,
messages: Vec<serde_json::Value>, messages: Vec<serde_json::Value>,
} }
@@ -175,6 +176,7 @@ struct ListConvosParams {
#[derive(Serialize)] #[derive(Serialize)]
struct ListConvosResp { struct ListConvosResp {
#[serde(skip_serializing_if = "Option::is_none")]
cursor: Option<String>, cursor: Option<String>,
convos: Vec<ConvoView>, convos: Vec<ConvoView>,
} }
@@ -225,6 +227,7 @@ struct GetLogParams {
#[derive(Serialize)] #[derive(Serialize)]
struct GetLogResp { struct GetLogResp {
#[serde(skip_serializing_if = "Option::is_none")]
cursor: Option<String>, cursor: Option<String>,
logs: Vec<serde_json::Value>, logs: Vec<serde_json::Value>,
} }