Add maximum asset size filter for Telegram media

- Add telegram_max_asset_size input (0-50 MB slider)
- Pass max_asset_data_size parameter to send_telegram_notification
- Allows filtering out large files before sending to Telegram
- Set to 0 for no filtering (default Telegram 50 MB limit)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-03 03:40:46 +03:00
parent 12bbbe8fd8
commit 5c98657e05
3 changed files with 24 additions and 2 deletions

View File

@@ -145,11 +145,12 @@ When enabled, photos/videos are sent as media attachments to Telegram using the
- Media is downloaded from Immich and uploaded to Telegram (bypasses CORS)
- Large media lists are automatically split into multiple groups (2-10 items per group)
- Optional chat action indicator (typing, uploading photo/video) while processing
- Optional maximum asset size filter to skip large files
### Limitations
- Only assets with valid public URLs will be sent
- Telegram has a 50 MB file size limit for media
- Telegram has a 50 MB file size limit for media (configurable filter to skip large assets)
- Optional video warning can be shown when videos are present
- Media captions use the Image/Video Asset Templates