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 <noreply@anthropic.com>
This commit is contained in:
@@ -150,7 +150,7 @@ When enabled, photos/videos are sent as media attachments to Telegram using the
|
|||||||
### Limitations
|
### Limitations
|
||||||
|
|
||||||
- Only assets with valid public URLs will be sent
|
- 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
|
- Optional video warning can be shown when videos are present
|
||||||
- Media captions use the Image/Video Asset Templates
|
- Media captions use the Image/Video Asset Templates
|
||||||
|
|
||||||
|
|||||||
@@ -447,12 +447,11 @@ blueprint:
|
|||||||
description: >
|
description: >
|
||||||
Maximum file size in megabytes for assets sent to Telegram.
|
Maximum file size in megabytes for assets sent to Telegram.
|
||||||
Assets larger than this will be skipped.
|
Assets larger than this will be skipped.
|
||||||
Telegram has a 50 MB limit, so values above 50 have no effect.
|
Set to 50 for no extra filtering (Telegram's default limit).
|
||||||
Set to 0 for no size filtering (use Telegram's default limit).
|
default: 50
|
||||||
default: 0
|
|
||||||
selector:
|
selector:
|
||||||
number:
|
number:
|
||||||
min: 0
|
min: 1
|
||||||
max: 50
|
max: 50
|
||||||
unit_of_measurement: MB
|
unit_of_measurement: MB
|
||||||
mode: slider
|
mode: slider
|
||||||
|
|||||||
Reference in New Issue
Block a user