shrike 0.1.0

AT Protocol library for Rust
Documentation
// Code generated by lexgen. DO NOT EDIT.

#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct GraphMuteThreadInput {
    pub root: crate::syntax::AtUri,
    /// Extra fields not defined in the schema.
    #[serde(flatten)]
    pub extra: std::collections::HashMap<String, serde_json::Value>,
}

/// GraphMuteThread — Mutes a thread preventing notifications from the thread and any of its children. Mutes are privat...
pub async fn graph_mute_thread(
    client: &crate::xrpc::Client,
    input: &GraphMuteThreadInput,
) -> Result<(), crate::xrpc::Error> {
    let _: serde_json::Value = client.procedure("app.bsky.graph.muteThread", input).await?;
    Ok(())
}