Skip to main content

atrium_api/app/bsky/contact/
send_notification.rs

1// @generated - This file is generated by atrium-codegen. DO NOT EDIT.
2//!Definitions for the `app.bsky.contact.sendNotification` namespace.
3pub const NSID: &str = "app.bsky.contact.sendNotification";
4#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
5#[serde(rename_all = "camelCase")]
6pub struct InputData {
7    ///The DID of who this notification comes from.
8    pub from: crate::types::string::Did,
9    ///The DID of who this notification should go to.
10    pub to: crate::types::string::Did,
11}
12pub type Input = crate::types::Object<InputData>;
13#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
14#[serde(rename_all = "camelCase")]
15pub struct OutputData {}
16pub type Output = crate::types::Object<OutputData>;
17#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
18#[serde(tag = "error", content = "message")]
19pub enum Error {}
20impl std::fmt::Display for Error {
21    fn fmt(&self, _f: &mut std::fmt::Formatter) -> std::fmt::Result {
22        Ok(())
23    }
24}