Update README.md
This commit is contained in:
parent
6af3067a12
commit
3e04df7080
10
README.md
10
README.md
|
@ -503,6 +503,16 @@ from telebot import apihelper
|
|||
apihelper.proxy = {'http', 'http://10.10.1.10:3128'}
|
||||
```
|
||||
|
||||
If you want to use socket5 proxy you need install dependency `pip install requests[socks]`.
|
||||
|
||||
```python
|
||||
proxies = {
|
||||
'http': 'socks5://user:pass@host:port',
|
||||
'https': 'socks5://user:pass@host:port'
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
## F.A.Q.
|
||||
|
||||
### Bot 2.0
|
||||
|
|
Loading…
Reference in New Issue