global-functions: make Telegram notifications a module

This commit is contained in:
Christian Hesse 2021-06-02 22:53:43 +02:00
parent 8375673d93
commit 50d1706a06
5 changed files with 169 additions and 160 deletions

View file

@ -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";