From 8b51aa2bb3965a10ff2c6a396e95e0f981723e35 Mon Sep 17 00:00:00 2001 From: Nonoo Date: Tue, 15 Aug 2023 10:07:24 +0200 Subject: [PATCH] Add -max-size cmdline argument info to README --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index c0d6445..5a309a1 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,9 @@ Other user/group IDs can be set with the `-allowed-user-ids` and You can get Telegram user IDs by writing a message to the bot and checking the app's log, as it logs all incoming messages. +You can set a max. upload file size limit with the `-max-size` argument. +Example: `-max-size 512MB` + All command line arguments can be set through OS environment variables. Note that using a command line argument overwrites a setting by the environment variable. Available OS environment variables are: @@ -76,6 +79,7 @@ variable. Available OS environment variables are: - `ALLOWED_USERIDS` - `ADMIN_USERIDS` - `ALLOWED_GROUPIDS` +- `MAX_SIZE` - `YTDLP_COOKIES` The contents of the `YTDLP_COOKIES` environment variable will be written to the