Files
janssen/KPC/TRASH/_tg_confirm_v0.py
T
2026-06-17 15:05:10 +02:00

20 lines
805 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"""_tg_confirm_v0.py — DOČASNÝ test Telegram potvrzení (znovupoužívá hotový bot)."""
import sys
sys.stdout.reconfigure(encoding="utf-8")
sys.path.insert(0, r"U:\ordinaceprojekt")
from Knihovny.telegram_notify import zeptej_se_telegram
msg = (
"💳 Návrh platby (KPC agent — test)\n\n"
"Pillow — povinné ručení karavan SWIFT (SPZ 2ST4934)\n"
"Období: 13.07.202612.07.2027\n"
"Částka: 468 Kč\n"
"Účet příjemce: 501401304/2010, VS 100112956\n"
"Z účtu: osobní 2100046291/2010\n"
"Splatnost: dnes (17.06.2026)\n\n"
"FIO kontrola: poslední krytí končí 12.07.2026 → nové období placené není ✅\n\n"
"Vytvořit KPC a nahrát do Dropboxu? Odpověz: ano / ne"
)
odp = zeptej_se_telegram(msg, timeout=150)
print("ODPOVED:", repr(odp))