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 GroupEditGroupInput {
    pub convo_id: String,
    pub name: 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 GroupEditGroupOutput {
    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>,
}

/// GroupEditGroup — [NOTE: This is under active development and should be considered unstable while this note is here]. Edits group settings.
pub async fn group_edit_group(
    client: &crate::xrpc::Client,
    input: &GroupEditGroupInput,
) -> Result<GroupEditGroupOutput, crate::xrpc::Error> {
    client.procedure("chat.bsky.group.editGroup", input).await
}