schon/evibes/settings/extensions.py
Egor fureunoir Gorbunov 0464c1b11b Features: 1) Introduced Telegram forwarder with bot functionality for message forwarding and user support; 2) Added new commands (/start, /unlink, /help) for Telegram bot; 3) Enabled webhook integration and message linking via Telegram.
Fixes: 1) Replaced legacy `TELEGRAM_API_TOKEN` configuration with `TELEGRAM_TOKEN`; 2) Incorporated anti-spam checks for user messages to prevent abuse.

Extra: Refactored websocket consumers by integrating Telegram support and enhancing thread-assignment workflows; improved logging and API consistency; minor cleanup and deprecations.
2025-11-12 11:23:44 +03:00

14 lines
344 B
Python

# noinspection PyUnresolvedReferences
from evibes.settings.base import * # noqa: F403
GRAPH_MODELS = {
"all_applications": True,
"group_models": True,
}
EXTENSIONS_MAX_UNIQUE_QUERY_ATTEMPTS = 500
HEALTHCHECK_CELERY_RESULT_TIMEOUT = 5
HEALTHCHECK_CELERY_QUEUE_TIMEOUT = 5
TELEGRAM_TOKEN = getenv("TELEGRAM_TOKEN", "") # noqa: F405