#[derive(Debug, Clone, Default, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct NotificationGetPreferencesParams {}
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct NotificationGetPreferencesOutput {
pub preferences: crate::api::app::bsky::NotificationDefsPreferences,
#[serde(flatten)]
pub extra: std::collections::HashMap<String, serde_json::Value>,
}
pub async fn notification_get_preferences(
client: &crate::xrpc::Client,
params: &NotificationGetPreferencesParams,
) -> Result<NotificationGetPreferencesOutput, crate::xrpc::Error> {
client
.query("app.bsky.notification.getPreferences", params)
.await
}