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.
Fixes: 1) Corrected `admin.py` imports for consistency and model alignment;
Extra: Refactored `choices.py` for reusable enums; restructured `models.py` for clarity and maintainability.