TelegramPoster/config.json

84 lines
1.7 KiB
JSON

{
"module": null,
"mode": "both",
"locale": "en",
"locale_fallback": "en",
"admin": 0,
"bot": {
"api_id": 0,
"api_hash": "",
"bot_token": ""
},
"reports": {
"sent": false,
"error": true,
"startup": true,
"shutdown": true
},
"logging": {
"size": 512,
"location": "logs"
},
"locations": {
"data": "data",
"sent": "data/sent",
"queue": "data/queue",
"index": "data/index.json",
"submit": "data/submit.json",
"blocked": "data/blocked.json",
"locale": "locale"
},
"posting": {
"channel": 0,
"silent": false,
"move_sent": false,
"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"
]
},
"caption": {
"enabled": false,
"text": "sample text",
"link": null
},
"submission": {
"timeout": 30,
"file_size": 15728640,
"mime_types": [
"image/png",
"image/gif",
"image/jpeg",
"video/mp4",
"video/quicktime"
]
},
"commands": [
"start",
"rules"
],
"commands_admin": [
"reboot"
]
}