proto_blue_api/generated/app/bsky/draft/updateDraft.rs
1// Generated by atproto-codegen. Do not edit.
2//! Lexicon: app.bsky.draft.updateDraft
3
4use serde::{Deserialize, Serialize};
5
6/// Updates a draft using private storage (stash). If the draft ID points to a non-existing ID, the update will be silently ignored. This is done because updates don't enforce draft limit, so it accepts all writes, but will ignore invalid ones. Requires authentication.
7/// XRPC Procedure: app.bsky.draft.updateDraft
8#[derive(Debug, Clone, Serialize, Deserialize)]
9#[serde(rename_all = "camelCase")]
10pub struct Input {
11 pub draft: crate::app::bsky::draft::defs::DraftWithId,
12}