telegrambot/.env.example
alisaza 54a8dcb283 Add initial Telegram relay service for Iran→foreign delivery.
Thin Hono API so the Iran-hosted backend can POST ops alerts here and this VPS calls Telegram Bot API.
2026-09-13 13:38:36 +03:30

18 lines
501 B
Plaintext

# HTTP
PORT=3100
HOST=0.0.0.0
# Shared secret between Iran backend and this relay (≥32 chars).
# Backend must send header: X-Ghabilee-Telegram-Relay-Secret
RELAY_SECRET=change-me-to-a-long-random-secret-at-least-32
# Telegram Bot API (same bot used by Ghabilee ops alerts)
TELEGRAM_BOT_TOKEN=
# Default destination: prefer group; private chat is fallback
TELEGRAM_GROUP_CHAT_ID=
TELEGRAM_CHAT_ID=
# Optional default forum topic (ops). Callers may override per request.
TELEGRAM_GROUP_THREAD_ID=