Important
This bot is no more used. Fresh, user friendly and modern bot can be found on: https://gitlab.com/tizhproger/dynamic-personal-telegram-bot
Code here is outdated and not optimized, leading to a lot of self coding, hard coded data and absence of flexibility.
Userbot based on Theleton with modified modules from FTG
This bot requires PostgreSQL database for storing notes and some config data. Most of variables are saved with Heroku VARS.
Instructions:
- Create Telegram app (https://core.telegram.org/api/obtaining_api_id)
- Create private channel and save its name
- Obtain session string with script: (https://colab.research.google.com/drive/17XOivQqSl3bNLO3gVj2_ZRQSBI3FEhCM?usp=sharing)
- Deploy bot on heroku via button with all required credentials
- Get PostgreSQL credentials (https://dashboard.heroku.com/apps/your_app_name/resources)
- Connect to your DB using this credentials
- Open db_tables.txt document in this repo
- Copy and paste all creation commands
- Create all necessary tables in DB
- Run your app on heroku (https://dashboard.heroku.com/apps/your_app_name/resources)
- Use bot and be happy :)