121 lines
2.5 KiB
JSON
121 lines
2.5 KiB
JSON
{
|
|
"locale": "en",
|
|
"locale_log": "en",
|
|
"locale_fallback": "en",
|
|
"owner": 0,
|
|
"admins": [],
|
|
"bot": {
|
|
"api_id": 0,
|
|
"api_hash": "",
|
|
"bot_token": ""
|
|
},
|
|
"database": {
|
|
"user": null,
|
|
"password": null,
|
|
"host": "127.0.0.1",
|
|
"port": 27017,
|
|
"name": "tgposter"
|
|
},
|
|
"mode": {
|
|
"post": true,
|
|
"submit": true
|
|
},
|
|
"reports": {
|
|
"sent": false,
|
|
"error": true,
|
|
"startup": true,
|
|
"shutdown": true
|
|
},
|
|
"logging": {
|
|
"size": 512,
|
|
"location": "logs"
|
|
},
|
|
"locations": {
|
|
"tmp": "tmp",
|
|
"data": "data",
|
|
"cache": "cache",
|
|
"sent": "data/sent",
|
|
"queue": "data/queue",
|
|
"index": "data/index.json",
|
|
"locale": "locale"
|
|
},
|
|
"posting": {
|
|
"channel": 0,
|
|
"silent": false,
|
|
"move_sent": false,
|
|
"use_interval": false,
|
|
"interval": "1h30m",
|
|
"page_size": 300,
|
|
"submitted_caption": {
|
|
"enabled": true,
|
|
"ignore_admins": true,
|
|
"text": "#submitted"
|
|
},
|
|
"extensions": {
|
|
"photo": [
|
|
"jpg",
|
|
"png",
|
|
"gif",
|
|
"jpeg"
|
|
],
|
|
"video": [
|
|
"mp4",
|
|
"avi",
|
|
"mkv",
|
|
"webm",
|
|
"mov"
|
|
]
|
|
},
|
|
"time": [
|
|
"08:00",
|
|
"10:00",
|
|
"12:00",
|
|
"14:00",
|
|
"16:00",
|
|
"18:00",
|
|
"20:00",
|
|
"22:00"
|
|
],
|
|
"api": {
|
|
"address": "http://localhost:8054",
|
|
"address_external": "https://photos.domain.com",
|
|
"username": "",
|
|
"password": "",
|
|
"album": ""
|
|
}
|
|
},
|
|
"caption": {
|
|
"enabled": false,
|
|
"link": null,
|
|
"text": [
|
|
"sample text"
|
|
]
|
|
},
|
|
"submission": {
|
|
"timeout": 30,
|
|
"file_size": 15728640,
|
|
"tmp_size": 15728640,
|
|
"allow_duplicates": false,
|
|
"send_uploaded_id": false,
|
|
"require_confirmation": {
|
|
"users": true,
|
|
"admins": true
|
|
},
|
|
"mime_types": [
|
|
"image/png",
|
|
"image/gif",
|
|
"image/jpeg",
|
|
"video/mp4",
|
|
"video/quicktime"
|
|
]
|
|
},
|
|
"commands": [
|
|
"start",
|
|
"rules"
|
|
],
|
|
"commands_admin": [
|
|
"import",
|
|
"export",
|
|
"reboot"
|
|
]
|
|
} |