(config: FeishuConfig)
| 17 | private botOpenId: string | null = null; |
| 18 | |
| 19 | constructor(config: FeishuConfig) { |
| 20 | this.config = config; |
| 21 | this.client = new Lark.Client({ |
| 22 | appId: config.appId, |
| 23 | appSecret: config.appSecret, |
| 24 | appType: Lark.AppType.SelfBuild, |
| 25 | domain: resolveDomain(config.domain), |
| 26 | }); |
| 27 | } |
| 28 | |
| 29 | /** |
| 30 | * 获取原生 Lark 客户端 |
nothing calls this directly
no test coverage detected