shrike 0.1.5

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 GroupDisableJoinLinkInput {
    pub convo_id: String,
    /// Extra fields not defined in the schema.
    #[serde(flatten)]
    pub extra: std::collections::HashMap<String, serde_json::Value>,
}

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

/// GroupDisableJoinLink — [NOTE: This is under active development and should be considered unstable while this note is here]. Disables the active join link for the group convo.
pub async fn group_disable_join_link(
    client: &crate::xrpc::Client,
    input: &GroupDisableJoinLinkInput,
) -> Result<GroupDisableJoinLinkOutput, crate::xrpc::Error> {
    client
        .procedure("chat.bsky.group.disableJoinLink", input)
        .await
}