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
13
14
15
16
17
18
// Generated by atproto-codegen. Do not edit.
//! Lexicon: app.bsky.draft.createDraft

use serde::{Deserialize, Serialize};

/// Inserts a draft using private storage (stash). An upper limit of drafts might be enforced. Requires authentication.
/// XRPC Procedure: app.bsky.draft.createDraft
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Input {
    pub draft: crate::app::bsky::draft::defs::Draft,
}

#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Output {
    pub id: String,
}