Add Telegram mobile replies

This commit is contained in:
rajchales-monito
2026-07-30 10:41:18 +02:00
parent c85d032a6d
commit d239131741
4 changed files with 317 additions and 2 deletions
+19
View File
@@ -226,6 +226,25 @@
<button id="testOpenAiKey" type="button">Otestovat klic</button>
</div>
</fieldset>
<fieldset class="effect-settings telegram-settings">
<legend>Telegram</legend>
<p class="ai-help">
Bot vytvoris v Telegramu pres BotFather. Webhook URL zkopiruj do setWebhook nebo ji pouzijeme pri nastaveni serveru.
</p>
<label><input id="telegramEnabled" type="checkbox"> zapnout Telegram</label>
<label>Jmeno odpovedi <input id="telegramOperatorName" autocomplete="off" placeholder="Alex"></label>
<label class="full-row">Bot token
<input id="telegramBotToken" type="password" autocomplete="off" placeholder="123456:ABC...">
<small id="telegramStatus">Telegram neni nastaveny.</small>
</label>
<label class="full-row">Chat ID <input id="telegramChatId" autocomplete="off" placeholder="123456789"></label>
<label class="full-row">Webhook secret <input id="telegramWebhookSecret" autocomplete="off" placeholder="nahodny-secret"></label>
<label class="full-row">Webhook URL <input id="telegramWebhookUrl" readonly></label>
<div class="ai-actions">
<button id="saveTelegramSettings" type="button">Ulozit Telegram</button>
<button id="testTelegram" type="button">Otestovat Telegram</button>
</div>
</fieldset>
<fieldset class="effect-settings admin-users-settings">
<legend>BO uzivatele</legend>
<form id="adminUserForm" class="admin-user-form">