proto-blue-api 0.2.1

AT Protocol high-level API: agent, rich text, moderation, generated types
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// Generated by atproto-codegen. Do not edit.
//! Lexicon: app.bsky.draft.updateDraft

use serde::{Deserialize, Serialize};

/// 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.
/// XRPC Procedure: app.bsky.draft.updateDraft
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Input {
    pub draft: crate::app::bsky::draft::defs::DraftWithId,
}