Chat SDK adds X adapter support
By Steven Van ·
Chat SDK's new adapter lets bots reply to X mentions and DMs via the X API v2, with automatic CRC and OAuth handling.
Chat SDK, the open-source framework built by Vercel, now has an X adapter, extending its single-codebase approach to a platform beyond Slack, Discord, GitHub, Teams, Telegram, and WhatsApp. Bots built with it can reply to public mentions and hold direct message conversations through the X API v2 and the X Activity API.
The adapter handles CRC verification and webhook signature checks automatically, and can manage OAuth token refresh for long-running bots. Likes are the only supported reaction, and since X has no native streaming, responses post once on completion. X's automation rules apply to automated messages.
