<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/chat-sdk-now-supports-xchat-5ex9imbkk" -->

---
title: Chat SDK now supports XChat | daily.dev
description: 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...
canonical: https://daily.dev/posts/chat-sdk-now-supports-xchat-5ex9imbkk
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Chat SDK now supports XChat | daily.dev
og:description: 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...
og:url: https://daily.dev/posts/chat-sdk-now-supports-xchat-5ex9imbkk
og:image: https://api.daily.dev/og/posts/5EX9iMbKK.png
og:image:alt: Chat SDK now supports XChat
og:image:width: 1200
og:image:height: 630
og:locale: 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. Install createXchatAdapter from @chat-adapter/x/chat, pass it to the adapters config when creating a Chat instance, and use bot.onDirectMessage to respond to messages. Bots can message users first if the user has encrypted chat enabled and follows the bot.

_daily.dev surfaces adapter releases like this for developers wiring bots into encrypted chat platforms._

### Does XChat support markdown formatting for bot messages?

No, XChat has no markdown rendering, so the Chat SDK 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.

_developers formatting bot output across chat platforms can track adapter quirks like this via daily.dev._

## 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
- [X launches standalone XChat app on iOS](https://daily.dev/posts/x-launches-standalone-xchat-app-on-ios-t8fd1kdxp) · TechCrunch · 0 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
- [X launches Chat, its new encrypted DMs](https://daily.dev/posts/x-launches-chat-its-new-encrypted-dms-ofwhmpjro) · The Verge · 0 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)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Chat SDK now supports XChat","url":"https://daily.dev/posts/chat-sdk-now-supports-xchat-5ex9imbkk","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/chat-sdk-now-supports-xchat-5ex9imbkk"},"datePublished":"2026-08-25T10:36:16.237Z","dateModified":"2026-09-13T21:24:06.891Z","description":"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...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/f35d0460e94cecc0bcbd206bf7a26beb?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/f35d0460e94cecc0bcbd206bf7a26beb?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Vercel","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Vercel","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/04cca7235cf84db092f24b7ba427b3e1","url":"https://daily.dev/sources/vercel"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/chat-sdk-now-supports-xchat-5ex9imbkk","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"bots,encryption,vercel","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Vercel","item":"https://daily.dev/sources/vercel"},{"@type":"ListItem","position":3,"name":"Chat SDK now supports XChat"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/chat-sdk-now-supports-xchat-5ex9imbkk#faq","mainEntity":[{"@type":"Question","name":"How do I build a bot for XChat, X's encrypted messaging feature?","acceptedAnswer":{"@type":"Answer","text":"Use the official XChat adapter for Chat SDK, which handles encryption, key management, and signature verification automatically. Install createXchatAdapter from @chat-adapter/x/chat, pass it to the adapters config when creating a Chat instance, and use bot.onDirectMessage to respond to messages. Bots can message users first if the user has encrypted chat enabled and follows the bot. daily.dev surfaces adapter releases like this for developers wiring bots into encrypted chat platforms."}},{"@type":"Question","name":"Does XChat support markdown formatting for bot messages?","acceptedAnswer":{"@type":"Answer","text":"No, XChat has no markdown rendering, so the Chat SDK 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. developers formatting bot output across chat platforms can track adapter quirks like this via daily.dev."}}]}
```

