204 lines
4.6 KiB
JSON
204 lines
4.6 KiB
JSON
{
|
|
"locale": "en",
|
|
"bot": {
|
|
"owner": 0,
|
|
"admins": [],
|
|
"api_id": 0,
|
|
"api_hash": "",
|
|
"bot_token": "",
|
|
"max_concurrent_transmissions": 1,
|
|
"scoped_commands": true
|
|
},
|
|
"database": {
|
|
"user": null,
|
|
"password": null,
|
|
"host": "127.0.0.1",
|
|
"port": 27017,
|
|
"name": "tgposter"
|
|
},
|
|
"reports": {
|
|
"chat_id": "owner",
|
|
"sent": false,
|
|
"error": true,
|
|
"update": true,
|
|
"startup": true,
|
|
"shutdown": true
|
|
},
|
|
"mode": {
|
|
"post": true,
|
|
"submit": true
|
|
},
|
|
"logging": {
|
|
"size": 512,
|
|
"location": "logs"
|
|
},
|
|
"locations": {
|
|
"tmp": "tmp",
|
|
"data": "data",
|
|
"cache": "cache"
|
|
},
|
|
"disabled_plugins": [],
|
|
"posting": {
|
|
"channel": 0,
|
|
"comments": 0,
|
|
"silent": false,
|
|
"move_sent": false,
|
|
"use_interval": false,
|
|
"interval": "1h30m",
|
|
"submitted_caption": {
|
|
"enabled": true,
|
|
"ignore_admins": true,
|
|
"text": "#submitted"
|
|
},
|
|
"types": {
|
|
"photo": true,
|
|
"video": false
|
|
},
|
|
"extensions": {
|
|
"photo": [
|
|
"jpg",
|
|
"png",
|
|
"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/jpeg",
|
|
"video/mp4",
|
|
"video/quicktime"
|
|
]
|
|
},
|
|
"commands": {
|
|
"start": {
|
|
"scopes": [
|
|
{
|
|
"name": "BotCommandScopeDefault"
|
|
},
|
|
{
|
|
"name": "BotCommandScopeChat",
|
|
"chat_id": "owner"
|
|
}
|
|
]
|
|
},
|
|
"rules": {
|
|
"scopes": [
|
|
{
|
|
"name": "BotCommandScopeDefault"
|
|
},
|
|
{
|
|
"name": "BotCommandScopeChat",
|
|
"chat_id": "owner"
|
|
}
|
|
]
|
|
},
|
|
"language": {
|
|
"scopes": [
|
|
{
|
|
"name": "BotCommandScopeDefault"
|
|
},
|
|
{
|
|
"name": "BotCommandScopeChat",
|
|
"chat_id": "owner"
|
|
}
|
|
]
|
|
},
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |