open-lark 0.14.0

Enterprise-grade Lark/Feishu Open API SDK with comprehensive Chinese documentation and advanced error handling
Documentation
use crate::core::config::Config;

pub use update::*;

mod update;

/// 知识空间设置服务
pub struct SpaceSettingService {
    config: Config,
}

impl SpaceSettingService {
    pub fn new(config: Config) -> Self {
        Self { config }
    }

    /// 更新知识空间设置
    pub async fn update(
        &self,
        request: UpdateSpaceSettingRequest,
        option: Option<crate::core::req_option::RequestOption>,
    ) -> crate::core::SDKResult<crate::core::api_resp::BaseResponse<UpdateSpaceSettingResponse>>
    {
        update_space_setting(request, &self.config, option).await
    }
}