fix(telegram): warn on oversized media

This commit is contained in:
Peter Steinberger
2026-01-06 16:16:14 +01:00
parent aae5926db9
commit 9254f4b738
11 changed files with 149 additions and 38 deletions

View File

@@ -340,7 +340,6 @@ Set `telegram.enabled: false` to disable automatic startup.
botToken: "your-bot-token",
requireMention: true,
allowFrom: ["123456789"],
mediaMaxMb: 5,
proxy: "socks5://localhost:9050",
webhookUrl: "https://example.com/telegram-webhook",
webhookSecret: "secret",
@@ -615,7 +614,6 @@ If you configure the same alias name (case-insensitive) yourself, your value win
verboseDefault: "off",
elevatedDefault: "on",
timeoutSeconds: 600,
mediaMaxMb: 5,
heartbeat: {
every: "30m",
target: "last"