NitinBot001 commited on
Commit
045ac0b
Β·
verified Β·
1 Parent(s): 95aae76

Update tg.py

Browse files
Files changed (1) hide show
  1. tg.py +2 -2
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