Skip to content
Dashboard

Chat SDK adds Sendblue support

Content Engineer
lib/bot.ts
import { Chat } from "chat";
import { createSendblueAdapter } from "chat-adapter-sendblue";
import { createMemoryState } from "@chat-adapter/state-memory";
const chat = new Chat({
userName: "imessage-bot",
adapters: {
sendblue: createSendblueAdapter(),
},
state: createMemoryState(),
});
chat.onDirectMessage(async (thread, message) => {
await thread.post(`Got it: ${message.text}`);
});

Configure the adapter to respond to @-mentions in mobile conversations

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?