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 GroupEnableJoinLinkInput {
    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 GroupEnableJoinLinkOutput {
    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>,
}

/// GroupEnableJoinLink — [NOTE: This is under active development and should be considered unstable while this note is here]. Re-enables a previously disabled join link for the group convo.
pub async fn group_enable_join_link(
    client: &crate::xrpc::Client,
    input: &GroupEnableJoinLinkInput,
) -> Result<GroupEnableJoinLinkOutput, crate::xrpc::Error> {
    client
        .procedure("chat.bsky.group.enableJoinLink", input)
        .await
}