/system_mes and /sendusers0 only accepted plain text, so a photo with a caption was silently ignored and nothing was sent. One _broadcast helper now sends text (text_html) or photo (caption_html, 1024 limit checked), uploads the photo through the main bot once and reuses its file_id, honours retry_after and reports error reasons. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| bot | ||
| service | ||
| __init__.py | ||