#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct ContactSendNotificationInput {
pub from: crate::syntax::Did,
pub to: crate::syntax::Did,
#[serde(flatten)]
pub extra: std::collections::HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct ContactSendNotificationOutput {
#[serde(flatten)]
pub extra: std::collections::HashMap<String, serde_json::Value>,
}
pub async fn contact_send_notification(
client: &crate::xrpc::Client,
input: &ContactSendNotificationInput,
) -> Result<ContactSendNotificationOutput, crate::xrpc::Error> {
client
.procedure("app.bsky.contact.sendNotification", input)
.await
}