1 min read
Chat SDK now supports Lark and Feishu via a new vendor-official adapter.
Build bots that post, edit, and delete messages, stream replies via Lark's native cardkit typewriter API, send interactive cards, and react with emojis across both Lark and Feishu conversations.
import { Chat } from "chat";import { createLarkAdapter } from "@larksuite/vercel-chat-adapter";
const bot = new Chat({ userName: "mybot", adapters: { lark: createLarkAdapter(), },});
bot.onNewMention(async (thread, message) => { await thread.post(`You said: ${message.text}`);});Configure the adapter to respond to @-mentions in Lark and Feishu
The adapter connects over Lark's WebSocket transport, so bots run from any long-running Node process without exposing an HTTP webhook endpoint.
To get started, read the Lark or Feishu documentation.
The Complete Guide to Chat SDK
Learn how Chat SDK works end-to-end: from core concepts to building your first bot to deploying it across Slack, Teams, and more.
Read the guide