Skip to content

Commit 2ca04f4

Browse files
committed
Add "Media downloads" section to readme
1 parent dbd5606 commit 2ca04f4

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,19 @@ chat: "get_display_name(await message.get_chat())"
4646
message: "message.text"
4747
```
4848
49+
## Media downloads
50+
51+
It is not only possible to store the text messages in something like Elasticsearch. There is also the possibility to download media files attached to those messages.
52+
53+
To enable that, you simply add the following configuration to your `config.yml`:
54+
55+
```yaml
56+
media:
57+
download_path: /path/where/to/put/media-files
58+
```
59+
60+
There are also some more options to restrict those downloads to specific file types, chats or limit them by size. For more options, have a look into the [config.sample.yml](config.sample.yml).
61+
4962
## Initial setup
5063

5164
When started for the first time, the application will ask you to connect with your Telegram account.

0 commit comments

Comments
 (0)