You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implements a full Feishu/Lark adapter (`@chat-adapter/feishu`) with:
- Webhook handling (event v2.0, URL verification, AES-256-CBC decryption)
- Message send/reply/edit/delete using Feishu Open API v1
- Rich text (post) and interactive card support (PATCH for cards, PUT for text)
- Reaction emoji mapping verified against official Feishu emoji docs
- Thread ID encoding (feishu:{chatId}:{rootId}:{dm})
- Markdown ↔ Feishu post format conversion via mdast
- Auto-refreshing tenant_access_token management
Also updates README, CLAUDE.md, example app, and configs to include Feishu.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
A unified TypeScript SDK for building chat bots across Slack, Microsoft Teams, Google Chat, Discord, GitHub, and Linear. Write your bot logic once, deploy everywhere.
7
+
A unified TypeScript SDK for building chat bots across Slack, Microsoft Teams, Google Chat, Discord, GitHub, Linear, and Feishu (Lark). Write your bot logic once, deploy everywhere.
Copy file name to clipboardExpand all lines: examples/nextjs-chat/README.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Next.js Chat Example
2
2
3
-
A full-featured example app demonstrating the Chat SDK with Next.js. Integrates with Slack, Microsoft Teams, Google Chat, Discord, GitHub, and Linear — configure whichever platforms you need via environment variables.
3
+
A full-featured example app demonstrating the Chat SDK with Next.js. Integrates with Slack, Microsoft Teams, Google Chat, Discord, GitHub, Linear, and Feishu (Lark) — configure whichever platforms you need via environment variables.
4
4
5
5
## Getting started
6
6
@@ -46,7 +46,7 @@ The app runs at `http://localhost:3000`. Platform webhooks should point to `/api
46
46
-**Ephemeral messages** — user-only visible messages with DM fallback
47
47
-**DMs** — programmatic direct message initiation
48
48
-**File uploads** — attachment detection and display
49
-
-**Multi-platform** — same bot logic across all six platforms
49
+
-**Multi-platform** — same bot logic across all seven platforms
50
50
51
51
## Project structure
52
52
@@ -82,6 +82,10 @@ Copy `.env.example` for the full list. At minimum, set `BOT_USERNAME` and creden
0 commit comments