From eb2a0230d4e0096d74781579dc9682f7ed9effd9 Mon Sep 17 00:00:00 2001 From: Gleb Smirnov Date: Sun, 15 Sep 2024 11:48:44 +0300 Subject: [PATCH] docs: describe loading of API secrets from env in guide --- guide/docs/installation.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/guide/docs/installation.md b/guide/docs/installation.md index 1f32005..c3e1908 100644 --- a/guide/docs/installation.md +++ b/guide/docs/installation.md @@ -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`.