Telegram bot for sending files to chat or channel by cron.
- Many file formats
- Send files by cron
- Send files by management commands
- File list updating
- Persistent storage for states
- Statistics
- More than one channels and chats
TODO:
- Permissions
- logging
- manual management by one channel
- tests
- docstrings
- Plain text:
.txt
- Markdown:
.md
- HTML:
.html
- Image:
.png
,.jpg
- Music:
.mp3
,.ogg
- Any other file format will be sent as document.
- Clone or download project
cp config{_example,}.py
- Edit config.py
- Place your files to
path
. - add cron tasks.
Run management interface:
python3 update.py
Send file (you can create cron task for it):
python3 send.py "channel alias"
Or send files to all channels:
python3 send.py