Answer the question
In order to leave comments, you need to log in
How to attach proxy to telegram bot?
It's just that the bot, of course, does not start ( thanks to RKN ). You need to use a proxy. I looked at the official documentation and decided to do it through socks5. Here are the options:
REQUEST_KWARGS = {
'proxy_url': 'socks5://orbtl.s5.opennetwork.cc:999/',
'urllib3_proxy_kwargs': {
'username': '*****',
'password': '*****',
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question