The Manager splits at MaxMessageLength before calling Send(), and Telegram's Send() was re-splitting at 4000 internally. Aligning the channel-level limit to 4000 avoids that redundant second split while preserving the safety margin for markdown-to-HTML expansion. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| init.go | ||
| telegram.go | ||
| telegram_commands.go | ||
| telegram_test.go | ||