Skip to content
Dashboard

Chat SDK now supports conversation history

lib/bot.ts
import { Chat } from "chat";
const bot = new Chat({
userName: "mybot",
identity: ({ author }) => author.email ?? null,
transcripts: {
retention: "30d",
maxPerUser: 200,
},
// ...
});

Identify users by email and keep up to 200 messages per user for 30 days

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