Skip to content

Commit

Permalink
docs: describe loading of API secrets from env in guide
Browse files Browse the repository at this point in the history
  • Loading branch information
liferooter authored and vanutp committed Sep 15, 2024
1 parent 9c22347 commit eb2a023
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions guide/docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,7 @@ If you require proxy to connect to Telegram, do the following:
password: ...
```
3. Run TGPy normally
## API secrets as environment variables
It's possible to provide Telegram API ID and hash through environment variables `TGPY_API_ID` and `TGPY_API_HASH`.

0 comments on commit eb2a023

Please sign in to comment.