feat: Telegram QR-Code Invite-Link + WhatsApp Empfang-Fix
Telegram:
- /start <contact_id> Deep-Link Handler: verknüpft Kontakt automatisch mit chat_id
- QR-Code Endpunkt GET /api/v1/contacts/{id}/telegram-qr (PNG)
- TUI: Taste T öffnet QR-Code im Browser (HTML mit eingebettetem PNG)
- config.py + .env.example: TELEGRAM_BOT_USERNAME=mcm_bot
- qrcode[pil] zu requirements.txt hinzugefügt
WhatsApp:
- receiveTimeout 5→3s, HTTP-Timeout 8s → verhindert Polling-Overlap
This commit is contained in:
@@ -9,6 +9,8 @@ DEBUG=false
|
||||
|
||||
# ── Telegram ───────────────────────────────────────────────
|
||||
TELEGRAM_TOKEN=
|
||||
# Bot-Username ohne @ (für QR-Code / Invite-Links)
|
||||
TELEGRAM_BOT_USERNAME=mcm_bot
|
||||
|
||||
# ── WhatsApp (Green API) ───────────────────────────────────
|
||||
# Konto anlegen unter: https://console.green-api.com
|
||||
|
||||
Reference in New Issue
Block a user