Feishu / Lark
Kyber supports Feishu (飞书) and Lark via WebSocket long connection.
Setup
- Go to the Feishu Open Platform
- Create a new application
- Get your App ID and App Secret
- Enable the bot capability
- Configure event subscriptions for message events
Configuration
{
"channels": {
"feishu": {
"enabled": true,
"appId": "YOUR_APP_ID",
"appSecret": "YOUR_APP_SECRET",
"encryptKey": "",
"verificationToken": "",
"allowFrom": []
}
}
}Fields
| Field | Type | Default | Description |
|---|---|---|---|
enabled | bool | false | Enable the Feishu channel |
appId | string | App ID from Feishu Open Platform | |
appSecret | string | App Secret | |
encryptKey | string | "" | Encrypt key for event subscription (optional) |
verificationToken | string | "" | Verification token for event subscription (optional) |
allowFrom | array | [] | Allowed user open_ids |
Optional dependency
Feishu support requires the lark-oapi package:
pip install kyber-chat[feishu]Or if installed with pipx:
pipx inject kyber-chat lark-oapi