From 50d1706a067383ad68cd0b227b7b5b339f1157cb Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 2 Jun 2021 22:53:43 +0200 Subject: global-functions: make Telegram notifications a module --- global-config | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'global-config') diff --git a/global-config b/global-config index 19d1215..d2b1f94 100644 --- a/global-config +++ b/global-config @@ -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"; -- cgit v1.2.3-54-g00ecf