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

/// GroupRejectJoinRequest — [NOTE: This is under active development and should be considered unstable while this note is here]. Rejects a request to join a group (via join link) the user owns. Action taken by the group owner.
pub async fn group_reject_join_request(
    client: &crate::xrpc::Client,
    input: &GroupRejectJoinRequestInput,
) -> Result<GroupRejectJoinRequestOutput, crate::xrpc::Error> {
    client
        .procedure("chat.bsky.group.rejectJoinRequest", input)
        .await
}