from pydantic_settings import BaseSettings class Settings(BaseSettings): TELEGRAM_BOT_TOKEN: str API_URL: str = "http://backend:8000" BOT_USERNAME: str = "" # Will be set dynamically on startup BOT_API_SECRET: str = "" # Secret for backend API communication class Config: env_file = ".env" extra = "ignore" settings = Settings()