2022-08-08 15:53:26 +03:00
|
|
|
{
|
2022-08-10 14:08:15 +03:00
|
|
|
"locale": "en",
|
2022-09-18 19:10:41 +03:00
|
|
|
"locale_log": "en",
|
2022-08-10 14:08:15 +03:00
|
|
|
"locale_fallback": "en",
|
2023-02-17 22:53:43 +02:00
|
|
|
"owner": 0,
|
|
|
|
"admins": [],
|
2022-08-08 15:53:26 +03:00
|
|
|
"bot": {
|
|
|
|
"api_id": 0,
|
|
|
|
"api_hash": "",
|
|
|
|
"bot_token": ""
|
|
|
|
},
|
2023-02-14 15:45:52 +02:00
|
|
|
"database": {
|
|
|
|
"user": null,
|
|
|
|
"password": null,
|
|
|
|
"host": "127.0.0.1",
|
|
|
|
"port": 27017,
|
|
|
|
"name": "tgposter"
|
|
|
|
},
|
2022-08-30 15:10:05 +03:00
|
|
|
"mode": {
|
|
|
|
"post": true,
|
2023-03-12 20:34:27 +02:00
|
|
|
"submit": true
|
2022-08-30 15:10:05 +03:00
|
|
|
},
|
2022-08-08 15:53:26 +03:00
|
|
|
"reports": {
|
|
|
|
"sent": false,
|
|
|
|
"error": true,
|
|
|
|
"startup": true,
|
|
|
|
"shutdown": true
|
|
|
|
},
|
2022-08-11 13:01:31 +03:00
|
|
|
"logging": {
|
|
|
|
"size": 512,
|
|
|
|
"location": "logs"
|
|
|
|
},
|
2022-08-08 15:53:26 +03:00
|
|
|
"locations": {
|
2023-01-17 15:11:23 +02:00
|
|
|
"tmp": "tmp",
|
2022-08-08 15:53:26 +03:00
|
|
|
"data": "data",
|
2023-01-17 12:40:59 +02:00
|
|
|
"cache": "cache",
|
2022-08-08 15:53:26 +03:00
|
|
|
"sent": "data/sent",
|
2022-08-11 13:01:31 +03:00
|
|
|
"queue": "data/queue",
|
2022-08-09 14:02:52 +03:00
|
|
|
"index": "data/index.json",
|
2022-08-10 14:08:15 +03:00
|
|
|
"locale": "locale"
|
2022-08-08 15:53:26 +03:00
|
|
|
},
|
|
|
|
"posting": {
|
|
|
|
"channel": 0,
|
|
|
|
"silent": false,
|
|
|
|
"move_sent": false,
|
2023-02-17 22:53:43 +02:00
|
|
|
"use_interval": false,
|
|
|
|
"interval": "1h30m",
|
2023-02-24 20:33:34 +02:00
|
|
|
"page_size": 300,
|
2023-02-24 19:39:33 +02:00
|
|
|
"submitted_caption": {
|
|
|
|
"enabled": true,
|
|
|
|
"ignore_admins": true,
|
|
|
|
"text": "#submitted"
|
|
|
|
},
|
2022-08-08 15:53:26 +03:00
|
|
|
"extensions": {
|
|
|
|
"photo": [
|
|
|
|
"jpg",
|
|
|
|
"png",
|
2022-08-08 20:06:10 +03:00
|
|
|
"gif",
|
|
|
|
"jpeg"
|
2022-08-08 15:53:26 +03:00
|
|
|
],
|
|
|
|
"video": [
|
|
|
|
"mp4",
|
|
|
|
"avi",
|
|
|
|
"mkv",
|
2022-08-11 10:59:30 +03:00
|
|
|
"webm",
|
|
|
|
"mov"
|
2022-08-08 15:53:26 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"time": [
|
|
|
|
"08:00",
|
|
|
|
"10:00",
|
|
|
|
"12:00",
|
|
|
|
"14:00",
|
|
|
|
"16:00",
|
|
|
|
"18:00",
|
|
|
|
"20:00",
|
|
|
|
"22:00"
|
2023-01-17 12:40:59 +02:00
|
|
|
],
|
|
|
|
"api": {
|
|
|
|
"address": "http://localhost:8054",
|
2023-02-17 22:53:43 +02:00
|
|
|
"address_external": "https://photos.domain.com",
|
2023-01-17 12:40:59 +02:00
|
|
|
"username": "",
|
|
|
|
"password": "",
|
2023-01-17 15:11:23 +02:00
|
|
|
"album": ""
|
2023-01-17 12:40:59 +02:00
|
|
|
}
|
2022-08-08 15:53:26 +03:00
|
|
|
},
|
|
|
|
"caption": {
|
|
|
|
"enabled": false,
|
|
|
|
"text": "sample text",
|
|
|
|
"link": null
|
2022-08-09 14:02:52 +03:00
|
|
|
},
|
|
|
|
"submission": {
|
2022-08-11 10:59:30 +03:00
|
|
|
"timeout": 30,
|
2022-08-11 14:38:42 +03:00
|
|
|
"file_size": 15728640,
|
2023-02-15 12:56:15 +02:00
|
|
|
"tmp_size": 15728640,
|
2023-02-19 21:44:00 +02:00
|
|
|
"allow_duplicates": false,
|
2023-02-17 17:44:56 +02:00
|
|
|
"require_confirmation": {
|
|
|
|
"users": true,
|
|
|
|
"admins": true
|
|
|
|
},
|
2022-08-11 10:59:30 +03:00
|
|
|
"mime_types": [
|
|
|
|
"image/png",
|
|
|
|
"image/gif",
|
|
|
|
"image/jpeg",
|
|
|
|
"video/mp4",
|
|
|
|
"video/quicktime"
|
|
|
|
]
|
2022-08-10 14:08:15 +03:00
|
|
|
},
|
|
|
|
"commands": [
|
|
|
|
"start",
|
|
|
|
"rules"
|
2022-08-14 19:27:35 +03:00
|
|
|
],
|
|
|
|
"commands_admin": [
|
2023-02-17 22:53:43 +02:00
|
|
|
"import",
|
|
|
|
"export",
|
2022-08-14 19:27:35 +03:00
|
|
|
"reboot"
|
2022-08-10 14:08:15 +03:00
|
|
|
]
|
2022-08-08 15:53:26 +03:00
|
|
|
}
|