Skip to content

Commit 3e04df7

Browse files
authored
Update README.md
1 parent 6af3067 commit 3e04df7

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,16 @@ from telebot import apihelper
503503
apihelper.proxy = {'http', 'http://10.10.1.10:3128'}
504504
```
505505

506+
If you want to use socket5 proxy you need install dependency `pip install requests[socks]`.
507+
508+
```python
509+
proxies = {
510+
'http': 'socks5://user:pass@host:port',
511+
'https': 'socks5://user:pass@host:port'
512+
}
513+
```
514+
515+
506516
## F.A.Q.
507517

508518
### Bot 2.0

0 commit comments

Comments
 (0)