-
Notifications
You must be signed in to change notification settings - Fork 15
/
config
51 lines (43 loc) · 1.59 KB
/
config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# See https://pypi.python.org/pypi/ConfigArgParse for syntax
# Phone number. No leading +
tg-phone: 10123456789
# App api_id from https://my.telegram.org/apps
tg-api-id: 00000
# App api_hash. No single quotation marks
tg-api-hash: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
# Session name (account credential, login code is not needed for future logins)
tg-session: telegramircd
# Where to store $tg_session.session . Make sure this directory is writable (especially when you use a systemd service)
tg-session-dir: .
# HTTP/WebSocket related options
# Use HTTPS to server links if at least one of http-cert or http-key is specified
#http-cert: /etc/telegramircd/cert.pem
#http-key: /etc/telegramircd/key.pem
http-listen: [127.0.0.1, ::1]
http-port: 9003
# Display document links as http://127.1:9003/document/$id
http-url: http://127.1:9003
#ignore: [channel_name_regex0, channel_name_regex1]
# uncomment the next line if you do not want to receive private messages with bots
#ignore-bot
#ignore-topic: [group_name_regex0]
# IRC related options
# Use IRC over TLS if at least one of irc-cert or irc-key is specified
#irc-cert: /etc/telegramircd/irc-cert.pem
#irc-key: /etc/telegramircd/irc-key.pem
irc-listen: [127.0.0.1, ::1]
# reserved nicks for clients
#irc-nicks: [ray]
# IRC connection password
#irc-password:
irc-port: 6669
# join mode
#join: new
# logger
#logger-ignore:
#logger-mask: /tmp/telegramircd/$channel/%Y-%m-%d.log
#logger-time-format: %H:%M
# when to mark_read private messages from users, choices: always, reply, never
#mark-read: reply
# SASL PLAIN password (as an alternative to --irc-password)
#sasl-password: