{ "module": null, "locale": "en", "locale_log": "en", "locale_fallback": "en", "admin": 0, "bot": { "api_id": 0, "api_hash": "", "bot_token": "" }, "database": { "user": null, "password": null, "host": "127.0.0.1", "port": 27017, "name": "tgposter" }, "mode": { "post": true, "submit": true, "api_based": false }, "reports": { "sent": false, "error": true, "startup": true, "shutdown": true }, "logging": { "size": 512, "location": "logs" }, "locations": { "tmp": "tmp", "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, "interval": 1, "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": "", "album": "" } }, "caption": { "enabled": false, "text": "sample text", "link": null }, "submission": { "timeout": 30, "file_size": 15728640, "tmp_size": 15728640, "mime_types": [ "image/png", "image/gif", "image/jpeg", "video/mp4", "video/quicktime" ] }, "commands": [ "start", "rules" ], "commands_admin": [ "reboot" ] }