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
// Generated by atproto-codegen. Do not edit.
//! Lexicon: app.bsky.notification.registerPush

use serde::{Deserialize, Serialize};

/// Register to receive push notifications, via a specified service, for the requesting account. Requires auth.
/// XRPC Procedure: app.bsky.notification.registerPush
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Input {
    #[serde(skip_serializing_if = "Option::is_none")]
    pub age_restricted: Option<bool>,
    pub app_id: String,
    pub platform: String,
    pub service_did: String,
    pub token: String,
}