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 ConvoUnlockConvoInput {
    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 ConvoUnlockConvoOutput {
    pub convo: crate::api::chat::bsky::ConvoDefsConvoView,
    /// Extra fields not defined in the schema.
    #[serde(flatten)]
    pub extra: std::collections::HashMap<String, serde_json::Value>,
}

/// ConvoUnlockConvo — [NOTE: This is under active development and should be considered unstable while this note is here]. Unlocks a group convo so it is able to receive new content.
pub async fn convo_unlock_convo(
    client: &crate::xrpc::Client,
    input: &ConvoUnlockConvoInput,
) -> Result<ConvoUnlockConvoOutput, crate::xrpc::Error> {
    client.procedure("chat.bsky.convo.unlockConvo", input).await
}