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

/// GroupUpdateJoinRequestsRead — [NOTE: This is under active development and should be considered unstable while this note is here]. Marks all join requests as read for the group owner.
pub async fn group_update_join_requests_read(
    client: &crate::xrpc::Client,
    input: &GroupUpdateJoinRequestsReadInput,
) -> Result<GroupUpdateJoinRequestsReadOutput, crate::xrpc::Error> {
    client
        .procedure("chat.bsky.group.updateJoinRequestsRead", input)
        .await
}