add telegram post creation feature but experimental
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user