Update config file description in README

This commit is contained in:
Paul Nameless 2020-05-29 17:28:50 +08:00
parent e323197ac9
commit e2e137f2cd

View file

@ -30,6 +30,7 @@ TODO:
## Requirements ## Requirements
- [tdlib](https://tdlib.github.io/td/build.html?language=Python) - [tdlib](https://tdlib.github.io/td/build.html?language=Python)
For macOS: For macOS:
```sh ```sh
brew install tdlib brew install tdlib
@ -38,11 +39,11 @@ TODO:
- `pip3 install python-telegram` - `pip3 install python-telegram`
- config file at `~/.config/tg/conf.py` - config file at `~/.config/tg/conf.py`
```python ```python
phone = "[your phone number]" PHONE = "[your phone number]"
enc_key = "[telegram db encryption key]" ENC_KEY = "[telegram db encryption key]"
``` ```
- terminal-notifier or other program for notifications - `terminal-notifier` or other program for notifications
- ffmpeg - to record voice msgs - `ffmpeg` to record voice msgs and upload videos correctly
## Usage ## Usage