feat: 增加tg文件上传

This commit is contained in:
dnslin
2025-12-13 12:03:53 +08:00
parent debce7c476
commit f223083998
7 changed files with 274 additions and 12 deletions

View File

@@ -34,3 +34,17 @@ ONEDRIVE_DELETE_AFTER_UPLOAD=false
# OneDrive 远程存储路径
ONEDRIVE_REMOTE_PATH=/aria2bot
# ==================== Telegram 频道存储配置 ====================
# 启用 Telegram 频道存储功能
# Bot 必须是频道管理员且有发送消息权限
TELEGRAM_CHANNEL_ENABLED=false
# 频道 ID数字 ID 如 -1001234567890或 @username 格式)
TELEGRAM_CHANNEL_ID=
# 下载完成后自动发送到频道
TELEGRAM_CHANNEL_AUTO_UPLOAD=false
# 发送后删除本地文件
TELEGRAM_CHANNEL_DELETE_AFTER_UPLOAD=false