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.…