mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-05-06 20:32:55 +08:00
* fix: use native fetch for Telegram attachment upload telegraf's sendMediaGroup uses Node.js streams (multipart-stream) for file uploads, which is incompatible with CF Workers runtime, causing "SyntaxError: Unexpected end of JSON input". Replace with native fetch + FormData + attach:// protocol which works correctly in CF Workers. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: wrap sendTelegramAttachments in top-level try-catch Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>