Bot what send you set of files and track your progress. Useful when you have a lot of files to read/listen to and want to get them one by one.
After start, there is a button Next lesson. This button increments the lesson pointer for the user and sends next bulk of files.
- Admin send files directly to the bot
- Bot parses file name to get lesson number
- It stores file_id in DB among with lesson number. So files itself are stored in Telegram.
chats
- usersfiles
- files metadata without datalesson
many to 1 tofiles
chats_lesson
1:1 tochats
for tracking user's progress
ADMIN_USERNAMES
comma separated list of usernamesWEBHOOK
any non-empty string. Otherwise, polling will be usedTELEGRAM_TOKEN
DATABASE_URL
HEROKU_APP_NAME