aboutsummaryrefslogtreecommitdiffstats
path: root/telegram-chat.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-10-19 09:19:34 +0200
committerGravatar Christian Hesse <mail@eworm.de>2023-10-19 09:19:34 +0200
commitb81f3850ae85d6443bfffee75ecd00588447def1 (patch)
treedfeb770911ea0334651d5a5f5c6c6ad07e2b77be /telegram-chat.rsc
parent4c365c131d28b0eb45ee72b12ef10c846b535e79 (diff)
telegram-chat: log when sending notice
Diffstat (limited to 'telegram-chat.rsc')
-rw-r--r--telegram-chat.rsc1
1 files changed, 1 insertions, 0 deletions
diff --git a/telegram-chat.rsc b/telegram-chat.rsc
index 197cbf4..e0a6295 100644
--- a/telegram-chat.rsc
+++ b/telegram-chat.rsc
@@ -87,6 +87,7 @@ $WaitFullyConnected;
:if ($Trusted = true) do={
:local Done false;
:if ($Message->"text" = "?") do={
+ $LogPrintExit2 info $0 ("Sending notice for update " . $UpdateID . ".") false;
$SendTelegram2 ({ origin=$0; chatid=($Chat->"id"); silent=true; replyto=($Message->"message_id"); \
subject=([ $SymbolForNotification "speech-balloon" ] . "Telegram Chat"); \
message=("Online, awaiting your commands!") });