mirror of
https://github.com/nymurbd/MikroTik-scripts.git
synced 2025-08-04 10:14:51 +02:00
global-functions: make Telegram notifications a module
This commit is contained in:
parent
8375673d93
commit
50d1706a06
5 changed files with 169 additions and 160 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
# Make sure all configuration properties are up to date and this
|
||||
# value is in sync with value in script 'global-functions'!
|
||||
:global GlobalConfigVersion 53;
|
||||
:global GlobalConfigVersion 54;
|
||||
|
||||
# This is used for DNS and backup file.
|
||||
:global Domain "example.com";
|
||||
|
@ -25,7 +25,8 @@
|
|||
#:global EmailGeneralCc "another@example.com,third@example.com";
|
||||
|
||||
# You can send Telegram notifications. Register a bot
|
||||
# and add the token and chat ids here.
|
||||
# and add the token and chat ids here, then install the module:
|
||||
# $ScriptInstallUpdate global-functions.d/notification-telegram
|
||||
:global TelegramTokenId "";
|
||||
:global TelegramChatId "";
|
||||
#:global TelegramTokenId "123456:ABCDEF-GHI";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue