-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappsettings.json.example
More file actions
55 lines (50 loc) · 1.86 KB
/
appsettings.json.example
File metadata and controls
55 lines (50 loc) · 1.86 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
{
"AppSettings": {
"TelegramBotToken": "1234:abcd",
"SqlConnectionString": "Data Source=TelegramMediaRelayBot.db",
"DatabaseName": "TelegramMediaRelayBot",
"DatabaseType": "sqlite",
"Language": "en-US",
"UserUnMuteCheckInterval": 20,
"UseGalleryDl": true,
"AccessDeniedMessageContact": "",
"_comment_proxy": "Proxy for media downloads via yt-dlp/gallery-dl. Supports HTTP and SOCKS5.",
"Proxy": "socks5://127.0.0.1:9050",
"_comment_telegram_api": "TelegramApiBaseUrl: custom Bot API server URL (null = default). TelegramApiProxy: proxy for Telegram API requests, useful in regions where Telegram is blocked.",
"TelegramApiBaseUrl": null,
"TelegramApiProxy": null,
"_comment_queue": "Maximum number of simultaneous media downloads. Prevents system overload when many links arrive at once.",
"MaxConcurrentDownloads": 3
},
"_comment_tor": "Tor SOCKS proxy for media downloads and automatic circuit rotation.",
"Tor": {
"Enabled": true,
"TorControlPassword": "Password",
"TorSocksHost": "127.0.0.1",
"TorSocksPort": 9050,
"TorControlPort": 9051,
"TorChangingChainInterval": 5
},
"MessageDelaySettings": {
"VideoGetDelay": 1000,
"ContactSendDelay": 1000
},
"ConsoleOutputSettings": {
"LogLevel": "Information",
"ShowVideoDownloadProgress": false,
"ShowVideoUploadProgress": false
},
"AccessPolicy": {
"Enabled": false,
"NewUsersPolicy": {
"Enabled": false,
"ShowAccessDeniedMessage": false,
"AllowNewUsers": true,
"AllowRules": {
"AllowAll": true,
"WhitelistedReferrerIds": [],
"BlacklistedReferrerIds": []
}
}
}
}