- Enhanced logging setup in main.py for better error tracking and console output. - Improved error handling in group and user management functions. - Updated .env.example to include a sample session string and removed outdated test configurations. - Expanded README.md with new tool examples and usage instructions for better clarity. - Removed the test.py file as it is no longer needed for testing.
9 lines
439 B
Text
9 lines
439 B
Text
# Telegram API Credentials (Required - get from https://my.telegram.org/apps)
|
|
TELEGRAM_API_ID=123456
|
|
TELEGRAM_API_HASH=0123456789abcdef0123456789abcdef
|
|
|
|
# Session Management (Choose ONE)
|
|
# Option 1: File-based session (a .session file will be created)
|
|
TELEGRAM_SESSION_NAME=telegram_session
|
|
# Option 2: String-based session (if you generate one, e.g., using Telethon's string session generator)
|
|
TELEGRAM_SESSION_STRING=1231231232erfdfdffd
|