Spaces:
Sleeping
Sleeping
Update tg.py
Browse files
tg.py
CHANGED
|
@@ -30,8 +30,8 @@ logger = logging.getLogger(__name__)
|
|
| 30 |
# ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 31 |
# Constants
|
| 32 |
# ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 33 |
-
TG_API = "https://api.telegram.org/bot{token}/{method}"
|
| 34 |
-
TG_FILE = "https://api.telegram.org/file/bot{token}/{file_path}"
|
| 35 |
|
| 36 |
# Telegram hard limit for getFile downloads via Bot API is 20 MB.
|
| 37 |
TG_MAX_DOWNLOAD_BYTES = 20 * 1024 * 1024 # 20 MB
|
|
|
|
| 30 |
# ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 31 |
# Constants
|
| 32 |
# ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 33 |
+
TG_API = "https://nitinbot001-white-proxy.hf.space/https://api.telegram.org/bot{token}/{method}"
|
| 34 |
+
TG_FILE = "https://nitinbot001-white-proxy.hf.space/https://api.telegram.org/file/bot{token}/{file_path}"
|
| 35 |
|
| 36 |
# Telegram hard limit for getFile downloads via Bot API is 20 MB.
|
| 37 |
TG_MAX_DOWNLOAD_BYTES = 20 * 1024 * 1024 # 20 MB
|