#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct DraftUpdateDraftInput {
pub draft: crate::api::app::bsky::DraftDefsDraftWithId,
#[serde(flatten)]
pub extra: std::collections::HashMap<String, serde_json::Value>,
}
pub async fn draft_update_draft(
client: &crate::xrpc::Client,
input: &DraftUpdateDraftInput,
) -> Result<(), crate::xrpc::Error> {
let _: serde_json::Value = client
.procedure("app.bsky.draft.updateDraft", input)
.await?;
Ok(())
}