open-lark 0.14.0

Enterprise-grade Lark/Feishu Open API SDK with comprehensive Chinese documentation and advanced error handling
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::core::config::Config;

pub mod document;
pub mod document_block;

pub struct V1 {
    pub document: document::DocumentService,
    pub document_block: document_block::DocumentBlockService,
}

impl V1 {
    pub fn new(config: Config) -> Self {
        Self {
            document: document::DocumentService::new(config.clone()),
            document_block: document_block::DocumentBlockService::new(config),
        }
    }
}