Andrew K. Choi
5a00e161e6
🔐 Add Telethon session initialization tools and authorization guide
NEW FILES:
✅ init_telethon_session.py - Interactive Python script for session initialization
✅ init_telethon_session.sh - Bash wrapper for Docker-based authorization
✅ TELETHON_AUTHORIZATION_GUIDE.md - Comprehensive authorization guide
✅ USERBOT_AUTHORIZATION_README.md - Quick start guide for users
FEATURES:
✅ Interactive authorization flow with SMS code verification
✅ 2FA password support
✅ Session persistence to app/sessions/
✅ Docker container integration
✅ Verification of existing sessions
✅ Clear error messages and troubleshooting
USAGE:
$ ./init_telethon_session.sh
Or:
$ python3 init_telethon_session.py
This solves the UserBot authorization issue where Telethon requires
interactive SMS code verification on first setup.