Skip to content
Dashboard

Chat SDK adds Twilio adapter support

lib/bot.ts
import { Chat } from "chat";
import { createTwilioAdapter } from "@chat-adapter/twilio";
const bot = new Chat({
userName: "mybot",
adapters: {
twilio: createTwilioAdapter(),
},
});
bot.onNewMention(async (thread, message) => {
await thread.post(`You said: ${message.text}`);
});

Configure the adapter to respond to @-mentions in text messages

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

Ready to deploy?