tgfs/example-config.yaml
2023-08-14 05:20:36 +08:00

20 lines
497 B
YAML

telegram:
api_id: your_api_id (mandatory, refer to README)
api_hash: your_api_hash (mandatory refer to README)
session_file: ~/.tgfs/your_account.session (optional, default to ~/.tgfs/account.session)
login_timeout: 300000
private_file_channel: your_channel_id (mandatory, refer to README)
public_file_channel: another_channel_id (optional)
tgfs:
download:
progress: true
chunk_size_kb: 1024
webdav:
host: 0.0.0.0
port: 1900
users:
user:
password: password