This repository has been archived on 2024-08-21. You can view files and clone it, but cannot push or open issues or pull requests.
TelegramPoster/config.json
2023-01-17 11:40:59 +01:00

99 lines
2.0 KiB
JSON

{
"module": null,
"locale": "en",
"locale_log": "en",
"locale_fallback": "en",
"admin": 0,
"bot": {
"api_id": 0,
"api_hash": "",
"bot_token": ""
},
"mode": {
"post": true,
"submit": true,
"api_based": false
},
"reports": {
"sent": false,
"error": true,
"startup": true,
"shutdown": true
},
"logging": {
"size": 512,
"location": "logs"
},
"locations": {
"data": "data",
"cache": "cache",
"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"
],
"api": {
"address": "http://localhost:8054",
"username": "",
"password": "",
"albums": {
"queue": "poster_queue",
"sent": "poster_sent"
}
}
},
"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"
]
}