from pydantic_settings import BaseSettings class Settings(BaseSettings): homeserver_url: str matrix_user: str matrix_password: str default_room_id: str # Optional: access token if login is already done or for bot accounts matrix_access_token: str | None = None class Config: env_file = ".env" settings = Settings()