telegram-chat: log when sending notice

This commit is contained in:
Christian Hesse 2023-10-19 09:19:34 +02:00
parent 4c365c131d
commit b81f3850ae

View file

@ -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!") });