Shared sendPayload across Discord, Slack, WhatsApp, Zalo, Zalouser — multi-media iteration, chunk-aware text fallback.
Outbound Adapters — Shared sendPayload
Discord, Slack, WhatsApp, Zalo, and Zalouser now share a unified sendPayload pipeline for outbound messages.
What changed
- Multi-media iteration — Channels handle rich content (images, files, embeds) through a common path
- Chunk-aware text fallback — Long messages split intelligently when a channel has length limits
- Consistent behavior — Same rendering logic across adapters, fewer channel-specific bugs
Benefits
- Smoother delivery of AI-generated content (code blocks, tables, images) to messaging apps
- Better handling of long responses — no more truncation or odd splits
- Easier maintenance — one pipeline to fix and extend