---
title: "Chat SDK now supports XChat"
url: https://daily.dev/posts/chat-sdk-now-supports-xchat-5ex9imbkk
source_url: https://vercel.com/changelog/chat-sdk-now-supports-xchat
type: article
source: "Vercel"
published: 2026-08-25T10:36:16.237Z
updated: 2026-08-26T22:58:48.935Z
tags: ["bots", "encryption", "vercel"]
reading_time: 1
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Chat SDK now supports XChat

**[Vercel](https://daily.dev/sources/vercel)** · 1 min read · 0 upvotes · 0 comments

## Summary

Chat SDK adds a new adapter for XChat, X's end-to-end encrypted messaging product, letting developers build bots for encrypted 1:1 and group conversations. The adapter automatically handles encryption, key management, and signature verification. Bots can message users first if the user has encrypted chat enabled and follows the bot. Since XChat lacks markdown rendering, the adapter falls back to tappable links for URLs and mentions, ASCII code blocks for tables, and text with link previews for cards, while streaming is implemented via message edits.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://vercel.com/changelog/chat-sdk-now-supports-xchat>

## Questions this post answers

### How do I build a bot for XChat, X's encrypted messaging feature?

Use the official XChat adapter for Chat SDK, which handles encryption, key management, and signature verification automatically. Import createXchatAdapter from @chat-adapter/x/chat, pass it into the adapters config of a new Chat instance, and use bot.onDirectMessage to reply to incoming messages with thread.post.

_See how daily.dev surfaces new Chat SDK adapters for developers building encrypted messaging bots._

### Does the XChat adapter for Chat SDK support markdown formatting?

No, XChat has no native markdown rendering, so the adapter falls back automatically: URLs and @mentions become tappable links, tables render as ASCII code blocks, and cards appear as plain text with a link preview. Streaming responses are implemented through message edits rather than native streaming support.

_Track messaging platform quirks like these on daily.dev before they bite your bot integration._

## Similar posts on daily.dev

- [Chat SDK adds X adapter support](https://daily.dev/posts/chat-sdk-adds-x-adapter-support-itflhanre) · Vercel · 3 upvotes · 0 comments
- [Chat SDK adds Messenger adapter support](https://daily.dev/posts/chat-sdk-adds-messenger-adapter-support-ib7hqnjgo) · Vercel · 1 upvotes · 0 comments

---

Tags: [#bots](https://daily.dev/tags/bots), [#encryption](https://daily.dev/tags/encryption), [#vercel](https://daily.dev/tags/vercel)

[View this post on daily.dev](https://daily.dev/posts/chat-sdk-now-supports-xchat-5ex9imbkk)
