WithMaxMessageLength(4000) already ensures msg.Content ≤ 4000 chars before reaching Send(), making the SplitMessage call redundant. The HTML expansion safety net (re-split when >4096 after conversion) is still preserved. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| init.go | ||
| telegram.go | ||
| telegram_commands.go | ||
| telegram_test.go | ||