open_lark/service/cloud_docs/assistant/mod.rs
1use std::sync::Arc;
2
3use crate::core::config::Config;
4
5pub use v1::V1;
6
7pub mod v1;
8
9/// 云文档助手服务
10pub struct AssistantService {
11 /// V1版本API
12 pub v1: V1,
13}
14
15impl AssistantService {
16 pub fn new(config: Arc<Config>) -> Self {
17 Self {
18 v1: V1::new((*config).clone()),
19 }
20 }
21}