#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct NotificationUpdateSeenInput {
pub seen_at: crate::syntax::Datetime,
#[serde(flatten)]
pub extra: std::collections::HashMap<String, serde_json::Value>,
}
pub async fn notification_update_seen(
client: &crate::xrpc::Client,
input: &NotificationUpdateSeenInput,
) -> Result<(), crate::xrpc::Error> {
let _: serde_json::Value = client
.procedure("app.bsky.notification.updateSeen", input)
.await?;
Ok(())
}