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