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
// Generated by atproto-codegen. Do not edit.
//! Lexicon: com.atproto.admin.disableAccountInvites

use serde::{Deserialize, Serialize};

/// Disable an account from receiving new invite codes, but does not invalidate existing codes.
/// XRPC Procedure: com.atproto.admin.disableAccountInvites
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Input {
    pub account: String,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub note: Option<String>,
}