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 v1::V1;

pub mod v1;

/// 云文档助手服务
pub struct AssistantService {
    /// V1版本API
    pub v1: V1,
}

impl AssistantService {
    pub fn new(config: Config) -> Self {
        Self {
            v1: V1::new(config.clone()),
        }
    }

    /// 使用共享配置(实验性)
    pub fn new_from_shared(shared: std::sync::Arc<Config>) -> Self {
        Self {
            v1: V1::new(shared.as_ref().clone()),
        }
    }
}