| .. | ||
| src | ||
| index.ts | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
@clawdbot/lark
Feishu / Lark channel plugin for Clawdbot.
Configuration
Add the following to your clawdbot.config.yaml:
channels:
lark:
enabled: true
appId: "cli_..."
appSecret: "..."
encryptKey: "..." # Optional
verificationToken: "..." # Optional
baseUrl: "https://open.feishu.cn" # Optional, default
webhook:
port: 3000
path: "/lark/webhook"
Setup
- Create an app on Feishu Open Platform.
- Get App ID and App Secret.
- Enable "Bot" capabilities.
- Set up "Event Subscriptions":
- Request URL:
https://your-gateway.com/lark/webhook(must matchwebhook.pathand external URL). - Enable
im.message.receive_v1event.
- Request URL:
- (Optional) Enable "Encrypt Key".
Development
Run pnpm build to compile.