shrike 0.1.1

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

#[derive(Debug, Clone, Default, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct ConvoGetConvoParams {
    pub convo_id: String,
}

#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct ConvoGetConvoOutput {
    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>,
}

/// ConvoGetConvo XRPC query.
pub async fn convo_get_convo(
    client: &crate::xrpc::Client,
    params: &ConvoGetConvoParams,
) -> Result<ConvoGetConvoOutput, crate::xrpc::Error> {
    client.query("chat.bsky.convo.getConvo", params).await
}