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

/// GroupWithdrawJoinRequest — [NOTE: This is under active development and should be considered unstable while this note is here]. Withdraws a pending request to join a group. Action taken by the prospective member who originally requested to join.
pub async fn group_withdraw_join_request(
    client: &crate::xrpc::Client,
    input: &GroupWithdrawJoinRequestInput,
) -> Result<GroupWithdrawJoinRequestOutput, crate::xrpc::Error> {
    client
        .procedure("chat.bsky.group.withdrawJoinRequest", input)
        .await
}