Add proxy config. Fixes #153

This commit is contained in:
Tulir Asokan
2018-07-12 23:08:08 +03:00
parent 1d9455f639
commit 15fd394d54
3 changed files with 41 additions and 2 deletions
+13
View File
@@ -190,6 +190,19 @@ telegram:
api_hash: tjyd5yge35lbodk1xwzw2jstp90k55qz
# (Optional) Create your own bot at https://t.me/BotFather
bot_token: disabled
# Telethon proxy configuration.
# You must install PySocks from pip for proxies to work.
proxy:
# Allowed types: disabled, socks4, socks5, http
type: disabled
# Proxy IP address and port.
address: 127.0.0.1
port: 1080
# Whether or not to perform DNS resolving remotely.
rdns: true
# Proxy authentication (optional).
username: ""
password: ""
# Python logging configuration.
#