From 03df8907371835d424297abafba9caa59dadc3ac Mon Sep 17 00:00:00 2001 From: "alexei.dolgolyov" Date: Tue, 3 Feb 2026 12:29:24 +0300 Subject: [PATCH] Fix max asset size minimum value validation error Change telegram_max_asset_size input minimum from 0 to 1 (service requires at least 1 byte). Set default to 50 MB for no extra filtering. Co-Authored-By: Claude Opus 4.5 --- Common/Immich Album Watcher/README.md | 2 +- Common/Immich Album Watcher/blueprint.yaml | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Common/Immich Album Watcher/README.md b/Common/Immich Album Watcher/README.md index e365397..c49fa1a 100644 --- a/Common/Immich Album Watcher/README.md +++ b/Common/Immich Album Watcher/README.md @@ -150,7 +150,7 @@ When enabled, photos/videos are sent as media attachments to Telegram using the ### Limitations - Only assets with valid public URLs will be sent -- Telegram has a 50 MB file size limit for media (configurable filter to skip large assets) +- Telegram has a 50 MB file size limit for media (configurable 1-50 MB filter to skip large assets) - Optional video warning can be shown when videos are present - Media captions use the Image/Video Asset Templates diff --git a/Common/Immich Album Watcher/blueprint.yaml b/Common/Immich Album Watcher/blueprint.yaml index b0264e4..efd8e01 100644 --- a/Common/Immich Album Watcher/blueprint.yaml +++ b/Common/Immich Album Watcher/blueprint.yaml @@ -447,12 +447,11 @@ blueprint: description: > Maximum file size in megabytes for assets sent to Telegram. Assets larger than this will be skipped. - Telegram has a 50 MB limit, so values above 50 have no effect. - Set to 0 for no size filtering (use Telegram's default limit). - default: 0 + Set to 50 for no extra filtering (Telegram's default limit). + default: 50 selector: number: - min: 0 + min: 1 max: 50 unit_of_measurement: MB mode: slider