Skip to content

Commit

Permalink
📝 update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
StarHeartHunt committed Apr 13, 2024
1 parent bae64ed commit 0aac457
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion website/docs/guide/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ DRIVER=~fastapi+~httpx

如果不需要启用加密功能,请将配置项中的 `encrypt_key` 键值对删去,或将 `encrypt_key` 置为 `null`

对于[Lark(飞书平台海外版)](https://www.larksuite.com) 的用户,飞书适配器也提供**实验性**支持,仅需要在配置文件中将 `is_lark` 改为 `true`
对于[Lark(飞书平台海外版)](https://www.larksuite.com)的用户,需要在配置文件中将 `is_lark` 改为 `true`

```bash
FEISHU_BOTS='
Expand All @@ -57,6 +57,23 @@ FEISHU_BOTS='
'
```

对于企业自建飞书平台的用户,可以使用 `api_base` 分 Bot 指定 API 调用地址。

```bash
FEISHU_BOTS='
[
{
"app_id": "<your app_id>",
"app_secret": "<your app_secret>",
"verification_token": "<your app_verification_token>",
"encrypt_key": "<your encrypt_key>",
"is_lark": false,
"api_base":"<your feishu domain>"
}
]
'
```

飞书适配器支持同时传入多份配置,仅需要按相同格式传入 `FEISHU_BOTS` 即可。

```bash
Expand Down

0 comments on commit 0aac457

Please sign in to comment.