Chat SDK 添加 WhatsApp 适配器支持

来源: Vercel News

原文

Chat SDK now supports WhatsApp, extending its single-codebase approach to Slack, Discord, GitHub, Teams, and Telegram with the new WhatsApp adapter.

Teams can build bots that support messages, reactions, auto-chunking, and read receipts. The adapter handles multi-media downloads (e.g., images, voice messages, stickers) and supports location sharing with Google Maps URLs.

Try the WhatsApp adapter today:

The adapter does not support message history, editing, or deletion. Cards render as interactive reply buttons with up to three options, and fall back to formatted text. Additionally, WhatsApp enforces a 24-hour messaging window, so bots can only respond within that period.

Read the documentation to get started, browse the directory, or build your own adapter.

Special thanks to @ghellach, whose community contribution in PR #102 laid the groundwork for this adapter.

Read more