mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-25 21:34:30 +02:00
telegram-chat: log when sending notice
This commit is contained in:
parent
4c365c131d
commit
b81f3850ae
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@ $WaitFullyConnected;
|
||||||
:if ($Trusted = true) do={
|
:if ($Trusted = true) do={
|
||||||
:local Done false;
|
:local Done false;
|
||||||
:if ($Message->"text" = "?") do={
|
: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"); \
|
$SendTelegram2 ({ origin=$0; chatid=($Chat->"id"); silent=true; replyto=($Message->"message_id"); \
|
||||||
subject=([ $SymbolForNotification "speech-balloon" ] . "Telegram Chat"); \
|
subject=([ $SymbolForNotification "speech-balloon" ] . "Telegram Chat"); \
|
||||||
message=("Online, awaiting your commands!") });
|
message=("Online, awaiting your commands!") });
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue