diff --git a/Working-Behind-a-Proxy.md b/Working-Behind-a-Proxy.md index f8ecc2a..16e7fd4 100644 --- a/Working-Behind-a-Proxy.md +++ b/Working-Behind-a-Proxy.md @@ -28,7 +28,7 @@ pip install python-telegram-bot[socks] ```python TOKEN='YOUR_BOT_TOKEN' REQUEST_KWARGS={ - 'proxy_url': 'socks5://URL_OF_THE_PROXY_SERVER:PROXY_PORT', + 'proxy_url': 'socks5 OR socks5h://URL_OF_THE_PROXY_SERVER:PROXY_PORT', # Optional, if you need authentication: 'urllib3_proxy_kwargs': { 'username': 'PROXY_USER',