This commit is contained in:
2026-08-24 15:54:08 +03:30
commit 236002a87c
133 changed files with 5946 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
from django.conf import settings
from .bot_api import send_bot_message
TELEGRAM_BASE_URL = "https://api.telegram.org"
def send_telegram(chat_id: str, text: str) -> bool:
return send_bot_message(TELEGRAM_BASE_URL, settings.TELEGRAM_BOT_TOKEN, chat_id, text)