Chat ChannelsFeishu / Lark

Feishu / Lark

Kyber supports Feishu (飞书) and Lark via WebSocket long connection.

Setup

  1. Go to the Feishu Open Platform
  2. Create a new application
  3. Get your App ID and App Secret
  4. Enable the bot capability
  5. Configure event subscriptions for message events

Configuration

{
  "channels": {
    "feishu": {
      "enabled": true,
      "appId": "YOUR_APP_ID",
      "appSecret": "YOUR_APP_SECRET",
      "encryptKey": "",
      "verificationToken": "",
      "allowFrom": []
    }
  }
}

Fields

FieldTypeDefaultDescription
enabledboolfalseEnable the Feishu channel
appIdstringApp ID from Feishu Open Platform
appSecretstringApp Secret
encryptKeystring""Encrypt key for event subscription (optional)
verificationTokenstring""Verification token for event subscription (optional)
allowFromarray[]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