docs: update proxy configuration comments for clarity in README and example config files

This commit is contained in:
krau
2026-01-06 09:35:21 +08:00
parent 8972d8a169
commit 3f914f7a64
5 changed files with 5 additions and 5 deletions

View File

@@ -64,7 +64,7 @@ proxy = "socks5://127.0.0.1:7890"
- `rpc_retry`: Number of retries for RPC requests, default is 5.
- `proxy`: Proxy configuration, optional.
- `enable`: Whether to enable the proxy.
- `url`: Proxy address, only supports `socks5://`
- `url`: Proxy address
- `userbot`: Userbot configuration, optional.
- `enable`: Enable userbot integration. Requires logging in with a user account; you should use your own API ID & Hash when enabling this.
- `session`: Path to the userbot session file, default is `data/usersession.db`.

View File

@@ -62,7 +62,7 @@ proxy = "socks5://127.0.0.1:7890"
- `rpc_retry`: RPC 请求重试次数, 默认为 5.
- `proxy`: 代理配置, 可选.
- `enable`: 是否启用代理.
- `url`: 代理地址, 只支持 `socks5://`
- `url`: 代理地址
- `userbot`: userbot 配置, 可选.
- `enable`: 启用 userbot 集成, 需要登录用户账号, 此时请务必使用自己的 api id & hash.
- `session`: userbot 会话文件路径, 默认为 `data/usersession.db`.