aboutsummaryrefslogtreecommitdiffstats
path: root/global-config
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-01-30 16:08:00 +0100
committerGravatar Christian Hesse <mail@eworm.de>2023-01-31 17:26:51 +0100
commit819c7294c62c84fbc59bbf16a7d9ce97b4957e57 (patch)
tree6103eedc20429f2fa21b5c98a795ee6de3646536 /global-config
parentf666d2f8fffd7cefc4aa590533f47e7c7d14abd7 (diff)
introduce telegram-chatchange-90
Druvis from Mikrotik produced a video "MikroTik Telegram bot - Chat with your Router?". He shows his script to chat with a Router via Telegram bot to send it commands: https://youtu.be/KLX6j3sLRIE This script is kind of limited and has several issues... 🥴 Let's make it robust, usable, multi-device capable and just fun! 😁 (Sadly Mikrotik has a policy to not allow links in Youtube comments. Thus my comment with several hints was removed immediately. If anybody is in contact with Druvis... Please tell him about this script!)
Diffstat (limited to 'global-config')
-rw-r--r--global-config8
1 files changed, 8 insertions, 0 deletions
diff --git a/global-config b/global-config
index dcd7a09..4b5338a 100644
--- a/global-config
+++ b/global-config
@@ -35,6 +35,14 @@
:global TelegramChatId "";
#:global TelegramTokenId "123456:ABCDEF-GHI";
#:global TelegramChatId "12345678";
+# Using telegram-chat you have to define trusted chat ids (not group ids!)
+# or user names. Groups allow to chat with devices simultaneously.
+#:global TelegramChatIdsTrusted {
+# "12345678";
+# "example_user";
+#};
+:global TelegramChatGroups "(all)";
+#:global TelegramChatGroups "(all|home|office)";
# This is whether or not to send Telegram messages with fixed-width font.
:global TelegramFixedWidthFont true;