telegram-mcp/.env.example
anonim 726fef23f3 feat: enhance Telegram MCP server with new features and configuration updates
- Updated .env.example with new Telegram API credentials and session string options.
- Expanded .gitignore to exclude session files and configuration.
- Refactored main.py to support string session authentication and added new functions for contact and message management.
- Updated README.md to reflect new features, installation instructions, and usage examples.
- Added python-dotenv as a dependency in pyproject.toml for environment variable management.
2025-03-31 18:45:36 +03:00

10 lines
No EOL
398 B
Text

# Your Telegram API credentials from https://my.telegram.org/apps
TELEGRAM_API_ID=123456
TELEGRAM_API_HASH=0123456789abcdef0123456789abcdef
# Session name (can be any name you choose)
TELEGRAM_SESSION_NAME=telegram_session
# Optional: Session string for portable authentication (leave empty if not using)
# This will be generated by the session_string_generator.py script
TELEGRAM_SESSION_STRING=