mirror of
https://github.com/danog/TelegramApiServer.git
synced 2024-11-26 20:04:45 +01:00
25 lines
653 B
Plaintext
25 lines
653 B
Plaintext
# SWOOLE
|
|
SWOOLE_SERVER_ADDRESS=127.0.0.1
|
|
SWOOLE_SERVER_PORT=9503
|
|
SWOOLE_WORKER_NUM=1
|
|
SWOOLE_HTTP_COMPRESSION=0
|
|
|
|
API_CLIENT_WHITELIST=["127.0.0.1"]
|
|
API_INDEX_MESSAGE="Welcome to i-c-a.su client for telegram. \nIf you have questions - contact me via telegram: <a href='tg://resolve?domain=xtrime'>@xtrime</a>"
|
|
|
|
# TELEGRAM CLIENT
|
|
TELEGRAM_API_ID=
|
|
TELEGRAM_API_HASH=
|
|
|
|
# TELEGRAM SOCKS5 PROXY (optional)
|
|
TELEGRAM_PROXY_ADDRESS=
|
|
TELEGRAM_PROXY_PORT=
|
|
TELEGRAM_PROXY_USERNAME=
|
|
TELEGRAM_PROXY_PASSWORD=
|
|
|
|
# CURL PROXY (optional)
|
|
# address of your socks5 proxy user:password@127.0.0.1:12000
|
|
CURL_PROXY=
|
|
# value of CURLPROXY_SOCKS5_HOSTNAME const
|
|
CURL_PROXY_TYPE=7
|