mirror of
https://github.com/nymurbd/MikroTik-scripts.git
synced 2025-07-13 03:24:30 +02:00
telegram-chat: note active state when answering broadcast
This commit is contained in:
parent
cc81e55649
commit
f72aadfc59
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@
|
|||
$LogPrint info $ScriptName ("Sending notice for update " . $UpdateID . ".");
|
||||
$SendTelegram2 ({ origin=$ScriptName; chatid=($Chat->"id"); silent=true; replyto=($Message->"message_id"); \
|
||||
subject=([ $SymbolForNotification "speech-balloon" ] . "Telegram Chat"); \
|
||||
message=("Online, awaiting your commands!") });
|
||||
message=("Online" . [ $IfThenElse $TelegramChatActive " (and active!)" ] . ", awaiting your commands!") });
|
||||
:set Done true;
|
||||
}
|
||||
:if ($Done = false && [ :pick ($Message->"text") 0 1 ] = "!") do={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue