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

99 lines
2.0 KiB
JSON
Raw Normal View History

2022-08-08 15:53:26 +03:00
{
"module": null,
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",
2022-08-11 11:24:57 +03:00
"admin": 0,
2022-08-08 15:53:26 +03:00
"bot": {
"api_id": 0,
"api_hash": "",
"bot_token": ""
},
2022-08-30 15:10:05 +03:00
"mode": {
"post": true,
2023-01-17 12:40:59 +02:00
"submit": true,
"api_based": false
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": {
"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-09 15:44:06 +03:00
"submit": "data/submit.json",
2022-08-10 14:08:15 +03:00
"blocked": "data/blocked.json",
"locale": "locale"
2022-08-08 15:53:26 +03:00
},
"posting": {
"channel": 0,
"silent": false,
"move_sent": false,
"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",
"username": "",
"password": "",
"albums": {
"queue": "poster_queue",
"sent": "poster_sent"
}
}
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,
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": [
"reboot"
2022-08-10 14:08:15 +03:00
]
2022-08-08 15:53:26 +03:00
}