client: add initial proxy support (#1062)

This commit is contained in:
lavacat
2026-04-16 13:14:29 +03:00
committed by GitHub
parent 0f0b21b22c
commit d7864fcd3a
7 changed files with 113 additions and 4 deletions
+10
View File
@@ -54,6 +54,16 @@ ping:
# The timeout (in seconds) for a single ping.
timeout_seconds: 10
# Proxy settings
proxy:
# Allowed types: disabled, socks5, mtproxy
type: disabled
# Proxy IP address/domain name and port.
address: "127.0.0.1:1080"
# Proxy authentication (optional). Put MTProxy secret in password field.
username:
password:
sync:
# Number of most recently active dialogs to check when syncing chats.
# Set to -1 to remove limit.