-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappsettings.json.example
More file actions
65 lines (57 loc) · 1.91 KB
/
Copy pathappsettings.json.example
File metadata and controls
65 lines (57 loc) · 1.91 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"Bot": {
"Token": "123456:PUT-YOUR-BOTFATHER-TOKEN-HERE",
"ApiBaseUrl": null,
"Proxy": null,
"Language": "en-US"
},
"Database": {
"ConnectionString": "Data Source=TelegramMediaRelayBot.db",
"Name": "TelegramMediaRelayBot"
},
"_comment_proxies": "Named proxies, referenced by name below. Use socks5h:// so DNS is resolved through the proxy (important when not on a global VPN).",
"Proxies": {
"vpn": "socks5h://127.0.0.1:1080"
},
"Download": {
"UseGalleryDl": true,
"MaxConcurrent": 3,
"DefaultProxy": null,
"CookiesFromBrowser": null,
"CookiesFile": null,
"_comment_rules": "Per-host proxy overrides, first match wins. Host = exact ('vk.com') or suffix ('*.vk.com'). Proxy = a name from Proxies, or null for a direct connection.",
"Rules": [
{ "Hosts": ["vk.com", "*.vk.com"], "Proxy": null }
]
},
"Tor": {
"_comment": "Route downloads through a Tor SOCKS proxy. Requires a running Tor daemon.",
"Enabled": false,
"SocksHost": "127.0.0.1",
"SocksPort": 9050
},
"Session": {
"TtlMinutes": 30,
"CleanupIntervalMinutes": 5,
"UnMuteCheckIntervalSeconds": 20
},
"Delays": {
"VideoGetMs": 1000,
"ContactSendMs": 1000
},
"Logging": {
"Level": "Information",
"ShowDownloadProgress": false,
"ShowUploadProgress": false
},
"Access": {
"_comment": "Controls who may use the bot. Disabled = anyone with an invite link. Enabled with AllowAll = anyone; use Whitelisted/BlacklistedReferrerIds to gate by inviter.",
"Enabled": false,
"ShowDeniedMessage": false,
"DeniedMessageContact": "",
"AllowNewUsers": true,
"AllowAll": true,
"WhitelistedReferrerIds": [],
"BlacklistedReferrerIds": []
}
}