upd: config change for file formats

This commit is contained in:
Dineshkarthik 2020-06-11 18:55:26 +02:00
parent eba541c0a1
commit c2fd441f61

View file

@ -62,6 +62,14 @@ media_types:
- photo - photo
- video - video
- voice - voice
file_formats:
audio:
- all
document:
- pdf
- epub
video:
- mp4
``` ```
- api_hash - The api_hash you got from telegram apps - api_hash - The api_hash you got from telegram apps
@ -69,6 +77,7 @@ media_types:
- chat_id - The id of the chat/channel you want to download media. Which you get from the above-mentioned steps. - chat_id - The id of the chat/channel you want to download media. Which you get from the above-mentioned steps.
- last_read_message_id - If it is the first time you are going to read the channel let it be `0` or if you have already used this script to download media it will have some numbers which are auto-updated after the scripts successful execution. Don't change it. - last_read_message_id - If it is the first time you are going to read the channel let it be `0` or if you have already used this script to download media it will have some numbers which are auto-updated after the scripts successful execution. Don't change it.
- media_types - Type of media to download, you can update which type of media you want to download it can be one or any of the available types. - media_types - Type of media to download, you can update which type of media you want to download it can be one or any of the available types.
- file_formats - File types to download for supported media types which are `audio`, `document` and `video`. Default format is `all`, downloads all files.
## Execution ## Execution
```sh ```sh