1 min read

Chat SDK now supports Messenger, extending its single-codebase approach to Slack, Discord, GitHub, Teams, and Telegram with the new Messenger adapter.
Teams can build bots that support messages, reactions, attachments, postback buttons, and direct conversations, with display names fetched automatically from user profiles.
Try the Messenger adapter today:
import { Chat } from "chat";import { createMessengerAdapter } from "@chat-adapter/messenger";
const bot = new Chat({ userName: "mybot", adapters: { messenger: createMessengerAdapter(), },});
bot.onDirectMessage(async (thread, message) => { await thread.post(`You said: ${message.text}`);});The adapter does not support message history, editing, or deletion. Certain components, like tables and fields, render as text fallbacks. Streaming is handled by accumulating and then sending the final message.
Read the documentation to get started, browse the directory, or build your own adapter.
Special thanks to @mitkodkn, whose community contribution in PR #461 laid the groundwork for this adapter.
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