Skip to content

Commit d3d3ed3

Browse files
committed
docs: add new config option & limit of TG storage
1 parent bdc2992 commit d3d3ed3

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed

docs/getting-started/configuration.md

+8
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,14 @@ _Added in v2._
164164

165165
Request timeout in seconds.
166166

167+
## DOWNLOAD_CHUNK_SIZE
168+
169+
:material-lightbulb-on: Optional, defaults to `4096`
170+
171+
Chunk size when writing downloaded files, in bytes.
172+
173+
_Added in v2.6.0._
174+
167175
## HTTP_PROXY
168176

169177
:material-lightbulb-on: Optional, defaults to your environment

docs/getting-started/configuration.zh.md

+8
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,14 @@ _在 v2 中新增。_
164164

165165
请求超时时间,以秒为单位。
166166

167+
## DOWNLOAD_CHUNK_SIZE
168+
169+
:material-lightbulb-on: 可选,默认为 `4096`
170+
171+
写入下载文件时的块大小,以字节为单位。
172+
173+
_在 v2.6.0 中新增。_
174+
167175
## HTTP_PROXY
168176

169177
:material-lightbulb-on: 可选,默认遵循环境变量

docs/storage/telegram.md

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
Use a Telegram channel (album channel) to store downloaded files.
88

9+
!!! warning
10+
11+
Due to the file size limit of Telegram bot API, files larger than 50MB cannot be stored in Telegram.
12+
913
## Configuration
1014

1115
### STORAGE

docs/storage/telegram.zh.md

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
使用 Telegram 频道(相册频道)存储下载的文件。
88

9+
!!! warning "警告"
10+
11+
由于 Telegram 机器人 API 的文件大小限制,大于 50MB 的文件无法存储在 Telegram 中。
12+
913
## 配置
1014

1115
### STORAGE

0 commit comments

Comments
 (0)