add telegram post creation feature but experimental

This commit is contained in:
2026-02-19 20:02:49 +01:00
parent 5ba5cae98f
commit 2d3c559fcb
7 changed files with 631 additions and 1 deletions

View File

@@ -69,6 +69,13 @@ class Settings(BaseSettings):
redis_url: str = "redis://redis:6379/0"
scheduler_enabled: bool = False # True only on dedicated scheduler container
# Telegram Bot (experimental)
telegram_enabled: bool = False
telegram_bot_token: str = ""
telegram_bot_username: str = "" # e.g. "MyLinkedInBot" (without @)
telegram_webhook_secret: str = "" # Random string to validate incoming webhooks
telegram_webhook_url: str = "" # Base URL of the app, e.g. https://app.example.com
model_config = SettingsConfigDict(
env_file=".env",
env_file_encoding="utf-8",