From 1bfb29071874651d1364edd5cd9d4138fe31d46e Mon Sep 17 00:00:00 2001 From: Haytham Salama Date: Sat, 4 Feb 2023 22:53:38 +0200 Subject: [PATCH 1/4] feat: add message thread id for telegram nonfiction --- server/notification-providers/telegram.js | 1 + src/components/notifications/Telegram.vue | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/server/notification-providers/telegram.js b/server/notification-providers/telegram.js index 2b05762245..fb53b971a0 100644 --- a/server/notification-providers/telegram.js +++ b/server/notification-providers/telegram.js @@ -13,6 +13,7 @@ class Telegram extends NotificationProvider { params: { chat_id: notification.telegramChatID, text: msg, + message_thread_id: notification.telegramMessageThreadID, }, }); return okMsg; diff --git a/src/components/notifications/Telegram.vue b/src/components/notifications/Telegram.vue index 723bd1be69..3f446dc872 100644 --- a/src/components/notifications/Telegram.vue +++ b/src/components/notifications/Telegram.vue @@ -17,6 +17,11 @@ + + + +

Message Thread ID: Optional Unique identifier for the target message thread (topic) of the forum; for forum supergroups only

+
{{ $t("supportTelegramChatID") }} From 4323dee7815559ff22ff191ef56639c686015926 Mon Sep 17 00:00:00 2001 From: Haytham Salama Date: Sat, 4 Feb 2023 22:54:19 +0200 Subject: [PATCH 2/4] feat: add message thread id to lang --- src/lang/ar-SY.json | 1 + src/lang/bg-BG.json | 1 + src/lang/cs-CZ.json | 1 + src/lang/da-DK.json | 1 + src/lang/de-CH.json | 1 + src/lang/de-DE.json | 1 + src/lang/el-GR.json | 1 + src/lang/en.json | 1 + src/lang/nl-NL.json | 1 + src/lang/pl.json | 1 + src/lang/ru-RU.json | 1 + src/lang/sl-SI.json | 1 + src/lang/th-TH.json | 1 + src/lang/tr-TR.json | 1 + src/lang/uk-UA.json | 1 + src/lang/vi-VN.json | 1 + src/lang/zh-CN.json | 1 + src/lang/zh-HK.json | 1 + src/lang/zh-TW.json | 1 + 19 files changed, 19 insertions(+) diff --git a/src/lang/ar-SY.json b/src/lang/ar-SY.json index d852a690f2..98dacd5fd1 100644 --- a/src/lang/ar-SY.json +++ b/src/lang/ar-SY.json @@ -215,6 +215,7 @@ "Bot Token": "رمز الروبوت", "wayToGetTelegramToken": "يمكنك الحصول على رمز من {0}.", "Chat ID": "معرف الدردشة", + "Message Thread ID": "معرف المواضيع", "supportTelegramChatID": "دعم الدردشة المباشرة / معرف الدردشة للقناة", "wayToGetTelegramChatID": "يمكنك الحصول على معرف الدردشة الخاص بك عن طريق إرسال رسالة إلى الروبوت والانتقال إلى عنوان URL هذا لعرض Chat_id", "YOUR BOT TOKEN HERE": "رمز الروبوت الخاص بك هنا", diff --git a/src/lang/bg-BG.json b/src/lang/bg-BG.json index 3a5f532d9d..db81e21f3f 100644 --- a/src/lang/bg-BG.json +++ b/src/lang/bg-BG.json @@ -210,6 +210,7 @@ "Bot Token": "Бот токен", "wayToGetTelegramToken": "Можете да получите токен от {0}.", "Chat ID": "Чат ID", + "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "Поддържа Direct Chat / Group / Channel's Chat ID", "wayToGetTelegramChatID": "Можете да получите вашето чат ID, като изпратите съобщение на бота, след което е нужно да посетите този URL адрес за да го видите:", "YOUR BOT TOKEN HERE": "ВАШИЯТ БОТ ТОКЕН ТУК", diff --git a/src/lang/cs-CZ.json b/src/lang/cs-CZ.json index c6b28312e4..6a0738da6f 100644 --- a/src/lang/cs-CZ.json +++ b/src/lang/cs-CZ.json @@ -215,6 +215,7 @@ "Bot Token": "Token robota", "wayToGetTelegramToken": "Token můžete získat od {0}.", "Chat ID": "ID chatu", + "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "Podpora přímého chatu / skupiny / ID chatu kanálu", "wayToGetTelegramChatID": "ID chatu můžete získat tak, že robotovi zašlete zprávu a přejdete na tuto adresu URL, kde zobrazíte chat_id:", "YOUR BOT TOKEN HERE": "SEM ZADEJTE TOKEN VAŠEHO CHATBOTA", diff --git a/src/lang/da-DK.json b/src/lang/da-DK.json index 679431c327..4cfc222ceb 100644 --- a/src/lang/da-DK.json +++ b/src/lang/da-DK.json @@ -208,6 +208,7 @@ "Bot Token": "Bot Token", "wayToGetTelegramToken": "Du kan få et token fra {0}.", "Chat ID": "Chat ID", + "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "Support Direct Chat / Group / Channel's Chat ID", "wayToGetTelegramChatID": "Du kan få dit chat-ID ved at sende en besked til bot'en og gå til denne URL for at se chat_id'et:", "YOUR BOT TOKEN HERE": "DIT BOT TOKEN HER", diff --git a/src/lang/de-CH.json b/src/lang/de-CH.json index 85da35e06c..42cb3c9e5c 100644 --- a/src/lang/de-CH.json +++ b/src/lang/de-CH.json @@ -214,6 +214,7 @@ "Bot Token": "Bot Token", "wayToGetTelegramToken": "Hier kannst du einen Token erhalten {0}.", "Chat ID": "Chat ID", + "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "Unterstützt Direkt Chat / Gruppe / Kanal Chat-ID's", "wayToGetTelegramChatID": "Du kannst die Chat-ID erhalten, indem du eine Nachricht an den Bot sendest und zu dieser URL gehst, um die chat_id: zu sehen.", "YOUR BOT TOKEN HERE": "HIER DEIN BOT TOKEN", diff --git a/src/lang/de-DE.json b/src/lang/de-DE.json index 45b5ae56ae..d4a023ec7d 100644 --- a/src/lang/de-DE.json +++ b/src/lang/de-DE.json @@ -214,6 +214,7 @@ "Bot Token": "Bot Token", "wayToGetTelegramToken": "Hier kannst du einen Token erhalten {0}.", "Chat ID": "Chat ID", + "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "Unterstützt Direkt Chat / Gruppe / Kanal Chat-ID's", "wayToGetTelegramChatID": "Du kannst die Chat-ID erhalten, indem du eine Nachricht an den Bot sendest und zu dieser URL gehst, um die chat_id: zu sehen.", "YOUR BOT TOKEN HERE": "HIER DEIN BOT TOKEN", diff --git a/src/lang/el-GR.json b/src/lang/el-GR.json index c77d61588c..7031290b70 100644 --- a/src/lang/el-GR.json +++ b/src/lang/el-GR.json @@ -198,6 +198,7 @@ "Bot Token": "Διακριτικό Bot", "wayToGetTelegramToken": "Μπορείτε να πάρετε ένα διακριτικό από {0}.", "Chat ID": "Chat ID", + "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "Support Direct Chat / Group / Channel's Chat ID", "wayToGetTelegramChatID": "Μπορείτε να λάβετε το αναγνωριστικό συνομιλίας σας στέλνοντας ένα μήνυμα στο bot και μεταβαίνοντας σε αυτήν τη διεύθυνση URL για να προβάλετε το chat_id:", "YOUR BOT TOKEN HERE": "ΤΟ BOT ΣΑΣ ΔΙΑΚΡΙΤΙΚΌ ΕΔΩ", diff --git a/src/lang/en.json b/src/lang/en.json index 8a195a2a93..6e26612d67 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -364,6 +364,7 @@ "Bot Token": "Bot Token", "wayToGetTelegramToken": "You can get a token from {0}.", "Chat ID": "Chat ID", + "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "Support Direct Chat / Group / Channel's Chat ID", "wayToGetTelegramChatID": "You can get your chat ID by sending a message to the bot and going to this URL to view the chat_id:", "YOUR BOT TOKEN HERE": "YOUR BOT TOKEN HERE", diff --git a/src/lang/nl-NL.json b/src/lang/nl-NL.json index 32c795456c..e4c1da0022 100644 --- a/src/lang/nl-NL.json +++ b/src/lang/nl-NL.json @@ -217,6 +217,7 @@ "Bot Token": "Bot Token", "wayToGetTelegramToken": "Je kunt een token krijgen van {0}.", "Chat ID": "Chat ID", + "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "Ondersteuning Directe Chat / Groep / Kanaal Chat ID", "wayToGetTelegramChatID": "Je kunt je CHAT ID krijgen door een bericht te sturen naar de bot en naar deze URL te gaan om het chat_id te bekijken:", "YOUR BOT TOKEN HERE": "DE BOT TOKEN HIER", diff --git a/src/lang/pl.json b/src/lang/pl.json index ebc587976f..50bb7fbff3 100644 --- a/src/lang/pl.json +++ b/src/lang/pl.json @@ -189,6 +189,7 @@ "Bot Token": "Token bota", "wayToGetTelegramToken": "Token można uzyskać z {0}.", "Chat ID": "Identyfikator czatu", + "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "Czat wsparcia technicznego / Bezpośrednia rozmowa / Czat grupowy", "wayToGetTelegramChatID": "Możesz uzyskać swój identyfikator czatu, wysyłając wiadomość do bota i przechodząc pod ten adres URL, aby wyświetlić identyfikator czatu:", "YOUR BOT TOKEN HERE": "TWÓJ TOKEN BOTA", diff --git a/src/lang/ru-RU.json b/src/lang/ru-RU.json index 8395eedb0a..c38b6808a6 100644 --- a/src/lang/ru-RU.json +++ b/src/lang/ru-RU.json @@ -216,6 +216,7 @@ "Bot Token": "Токен бота", "wayToGetTelegramToken": "Вы можете взять токен здесь - {0}.", "Chat ID": "ID чата", + "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "Поддерживаются ID чатов, групп и каналов", "wayToGetTelegramChatID": "Вы можете взять ID вашего чата, отправив сообщение боту и перейдя по этому URL для просмотра chat_id:", "YOUR BOT TOKEN HERE": "ВАШ ТОКЕН БОТА ЗДЕСЬ", diff --git a/src/lang/sl-SI.json b/src/lang/sl-SI.json index f4ca81bd68..bf32cbeda2 100644 --- a/src/lang/sl-SI.json +++ b/src/lang/sl-SI.json @@ -193,6 +193,7 @@ "Bot Token": "Robotkov žetonček", "wayToGetTelegramToken": "Lahko dobiš žeton od {0}.", "Chat ID": "ID pogovora", + "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "Direkten pogovor pomoči / Skupina / ID kanala", "wayToGetTelegramChatID": "Id lahko dobiš, če pošlješ sporočilo robotku in odpreš ta URL, da bi videl chat_id:", "YOUR BOT TOKEN HERE": "ROBOTKOV ŽETON TUKAJ", diff --git a/src/lang/th-TH.json b/src/lang/th-TH.json index 7ad132f58b..76c2afb397 100644 --- a/src/lang/th-TH.json +++ b/src/lang/th-TH.json @@ -194,6 +194,7 @@ "Bot Token": "กุญแจของบอท", "wayToGetTelegramToken": "คุณสามารถรับกุญแจได้จาก {0}.", "Chat ID": "ไอดีแชท", + "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "รองรับ แชทส่วนตัว, แชทกลุ่ม, ไอดีแชท", "wayToGetTelegramChatID": "คุณสามารถรับ ID แชทของคุณได้โดยส่งข้อความไปยังบอทและไปที่ URL นี้เพื่อดู chat_id :", "YOUR BOT TOKEN HERE": "กุญแจของบอทของคุณที่นี่", diff --git a/src/lang/tr-TR.json b/src/lang/tr-TR.json index b9bc8adcb9..a9070df3bc 100644 --- a/src/lang/tr-TR.json +++ b/src/lang/tr-TR.json @@ -197,6 +197,7 @@ "Bot Token": "Bot Token", "wayToGetTelegramToken": "{0} adresinden bir token alabilirsiniz.", "Chat ID": "Chat ID", + "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "Doğrudan Sohbet / Grup / Kanalın Sohbet Kimliğini Destekleyin", "wayToGetTelegramChatID": "Bot'a bir mesaj göndererek ve chat_id'yi görüntülemek için bu URL'ye giderek sohbet kimliğinizi alabilirsiniz:", "YOUR BOT TOKEN HERE": "BOT TOKENİNİZ BURADA", diff --git a/src/lang/uk-UA.json b/src/lang/uk-UA.json index fcd678a357..9ad37b66eb 100644 --- a/src/lang/uk-UA.json +++ b/src/lang/uk-UA.json @@ -216,6 +216,7 @@ "Bot Token": "Токен бота", "wayToGetTelegramToken": "Ви можете взяти токен тут - {0}.", "Chat ID": "ID чату", + "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "Підтримуються ID чатів, груп та каналів", "wayToGetTelegramChatID": "Ви можете взяти ID вашого чату, відправивши повідомлення боту і перейшовши по цьому URL для перегляду chat_id:", "YOUR BOT TOKEN HERE": "ВАШ ТОКЕН БОТА ТУТ", diff --git a/src/lang/vi-VN.json b/src/lang/vi-VN.json index 165bf1bb8b..4446a0203a 100644 --- a/src/lang/vi-VN.json +++ b/src/lang/vi-VN.json @@ -193,6 +193,7 @@ "Bot Token": "Bot Token", "wayToGetTelegramToken": "Bạn có thể lấy mã token từ", "Chat ID": "Chat ID", + "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "Hỗ trợ chat trực tiếp / Nhóm / Kênh Chat ID", "wayToGetTelegramChatID": "Bạn có thể lấy chat id của mình bằng cách gửi tin nhắn tới bot và truy cập url này để xem chat_id:", "YOUR BOT TOKEN HERE": "MÃ BOT TOKEN CỦA BẠN", diff --git a/src/lang/zh-CN.json b/src/lang/zh-CN.json index a3393bd16b..f52fab92b9 100644 --- a/src/lang/zh-CN.json +++ b/src/lang/zh-CN.json @@ -213,6 +213,7 @@ "Bot Token": "机器人令牌", "wayToGetTelegramToken": "您可以从 {0} 获取 Token。", "Chat ID": "Chat ID", + "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "支持对话/群组/频道的 Chat ID", "wayToGetTelegramChatID": "您可以发送一条消息给您的机器人,然后访问此链接来查看 chat_id:", "YOUR BOT TOKEN HERE": "这里替换成您的 BOT TOKEN", diff --git a/src/lang/zh-HK.json b/src/lang/zh-HK.json index 14f25b5e9d..3310c99504 100644 --- a/src/lang/zh-HK.json +++ b/src/lang/zh-HK.json @@ -211,6 +211,7 @@ "Bot Token": "機器人權杖", "wayToGetTelegramToken": "您可以從 {0} 取得 Token。", "Chat ID": "聊天 ID", + "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "支援 對話/群組/頻道的聊天 ID", "wayToGetTelegramChatID": "傳送訊息給機器人,並前往以下網址以取得您的 chat ID:", "YOUR BOT TOKEN HERE": "在此填入您的機器人權杖", diff --git a/src/lang/zh-TW.json b/src/lang/zh-TW.json index 5eb0a699ec..992a2a0d25 100644 --- a/src/lang/zh-TW.json +++ b/src/lang/zh-TW.json @@ -212,6 +212,7 @@ "Bot Token": "機器人權杖", "wayToGetTelegramToken": "您可以從 {0} 取得權杖。", "Chat ID": "聊天 ID", + "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "支援 對話/群組/頻道的聊天 ID", "wayToGetTelegramChatID": "傳送訊息給機器人,並前往以下網址以取得您的 chat ID:", "YOUR BOT TOKEN HERE": "在此填入您的機器人權杖", From c42e5503827b283ca2e76aee43f8029b1d371549 Mon Sep 17 00:00:00 2001 From: Haytham Salama Date: Sat, 4 Feb 2023 23:46:19 +0200 Subject: [PATCH 3/4] style: formats --- src/components/notifications/Telegram.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/notifications/Telegram.vue b/src/components/notifications/Telegram.vue index 3f446dc872..a1b74a8a93 100644 --- a/src/components/notifications/Telegram.vue +++ b/src/components/notifications/Telegram.vue @@ -17,7 +17,6 @@
-

Message Thread ID: Optional Unique identifier for the target message thread (topic) of the forum; for forum supergroups only

From 7e3734af53458f086df0a3daa79425532ea393e5 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Thu, 23 Feb 2023 20:59:24 +0800 Subject: [PATCH 4/4] Better handling --- server/notification-providers/telegram.js | 14 +++++++++----- src/components/notifications/Telegram.vue | 8 ++++---- src/lang/ar-SY.json | 2 +- src/lang/bg-BG.json | 1 - src/lang/cs-CZ.json | 1 - src/lang/da-DK.json | 1 - src/lang/de-CH.json | 1 - src/lang/de-DE.json | 1 - src/lang/el-GR.json | 1 - src/lang/en.json | 3 ++- src/lang/nl-NL.json | 1 - src/lang/pl.json | 1 - src/lang/ru-RU.json | 1 - src/lang/sl-SI.json | 1 - src/lang/th-TH.json | 1 - src/lang/tr-TR.json | 1 - src/lang/uk-UA.json | 1 - src/lang/vi-VN.json | 1 - src/lang/zh-CN.json | 1 - src/lang/zh-HK.json | 1 - src/lang/zh-TW.json | 1 - 21 files changed, 16 insertions(+), 28 deletions(-) diff --git a/server/notification-providers/telegram.js b/server/notification-providers/telegram.js index fb53b971a0..7f46b3fc7e 100644 --- a/server/notification-providers/telegram.js +++ b/server/notification-providers/telegram.js @@ -9,12 +9,16 @@ class Telegram extends NotificationProvider { let okMsg = "Sent Successfully."; try { + let params = { + chat_id: notification.telegramChatID, + text: msg, + }; + if (notification.telegramMessageThreadID) { + params.message_thread_id = notification.telegramMessageThreadID; + } + await axios.get(`https://api.telegram.org/bot${notification.telegramBotToken}/sendMessage`, { - params: { - chat_id: notification.telegramChatID, - text: msg, - message_thread_id: notification.telegramMessageThreadID, - }, + params: params, }); return okMsg; diff --git a/src/components/notifications/Telegram.vue b/src/components/notifications/Telegram.vue index a1b74a8a93..042774ac17 100644 --- a/src/components/notifications/Telegram.vue +++ b/src/components/notifications/Telegram.vue @@ -17,10 +17,6 @@ - - -

Message Thread ID: Optional Unique identifier for the target message thread (topic) of the forum; for forum supergroups only

-
{{ $t("supportTelegramChatID") }} @@ -32,6 +28,10 @@ {{ telegramGetUpdatesURL("masked") }}

+ + + +

{{ $t("telegramMessageThreadIDDescription") }}

diff --git a/src/lang/ar-SY.json b/src/lang/ar-SY.json index b44ed206c7..3a4cf140e7 100644 --- a/src/lang/ar-SY.json +++ b/src/lang/ar-SY.json @@ -215,7 +215,7 @@ "Bot Token": "رمز الروبوت", "wayToGetTelegramToken": "يمكنك الحصول على رمز من {0}.", "Chat ID": "معرف الدردشة", - "Message Thread ID": "معرف المواضيع", + "telegramMessageThreadID": "معرف المواضيع", "supportTelegramChatID": "دعم الدردشة المباشرة / معرف الدردشة للقناة", "wayToGetTelegramChatID": "يمكنك الحصول على معرف الدردشة الخاص بك عن طريق إرسال رسالة إلى الروبوت والانتقال إلى عنوان URL هذا لعرض Chat_id", "YOUR BOT TOKEN HERE": "رمز الروبوت الخاص بك هنا", diff --git a/src/lang/bg-BG.json b/src/lang/bg-BG.json index 23e0e54948..ae2cdce619 100644 --- a/src/lang/bg-BG.json +++ b/src/lang/bg-BG.json @@ -210,7 +210,6 @@ "Bot Token": "Бот токен", "wayToGetTelegramToken": "Можете да получите токен от {0}.", "Chat ID": "Чат ID", - "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "Поддържа Direct Chat / Group / Channel's Chat ID", "wayToGetTelegramChatID": "Можете да получите вашето чат ID, като изпратите съобщение на бота, след което е нужно да посетите този URL адрес за да го видите:", "YOUR BOT TOKEN HERE": "ВАШИЯТ БОТ ТОКЕН ТУК", diff --git a/src/lang/cs-CZ.json b/src/lang/cs-CZ.json index 5981971d4c..dc8e263738 100644 --- a/src/lang/cs-CZ.json +++ b/src/lang/cs-CZ.json @@ -215,7 +215,6 @@ "Bot Token": "Token bota", "wayToGetTelegramToken": "Token můžete získat od {0}.", "Chat ID": "ID chatu", - "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "Podpora přímého chatu / skupiny / ID chatu kanálu", "wayToGetTelegramChatID": "ID chatu můžete získat tak, že robotovi zašlete zprávu a přejdete na tuto adresu URL, kde zobrazíte chat_id:", "YOUR BOT TOKEN HERE": "SEM ZADEJTE TOKEN VAŠEHO CHATBOTA", diff --git a/src/lang/da-DK.json b/src/lang/da-DK.json index 02a6322059..1b0fe210be 100644 --- a/src/lang/da-DK.json +++ b/src/lang/da-DK.json @@ -208,7 +208,6 @@ "Bot Token": "Bot Token", "wayToGetTelegramToken": "Du kan få et token fra {0}.", "Chat ID": "Chat ID", - "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "Support Direct Chat / Group / Channel's Chat ID", "wayToGetTelegramChatID": "Du kan få dit chat-ID ved at sende en besked til bot'en og gå til denne URL for at se chat_id'et:", "YOUR BOT TOKEN HERE": "DIT BOT TOKEN HER", diff --git a/src/lang/de-CH.json b/src/lang/de-CH.json index 7e0f0ebd35..d8a46562ee 100644 --- a/src/lang/de-CH.json +++ b/src/lang/de-CH.json @@ -214,7 +214,6 @@ "Bot Token": "Bot Token", "wayToGetTelegramToken": "Hier kannst du einen Token erhalten {0}.", "Chat ID": "Chat ID", - "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "Unterstützt Direkt Chat / Gruppe / Kanal Chat-ID's", "wayToGetTelegramChatID": "Du kannst die Chat-ID erhalten, indem du eine Nachricht an den Bot sendest und zu dieser URL gehst, um die chat_id: zu sehen.", "YOUR BOT TOKEN HERE": "HIER DEIN BOT TOKEN", diff --git a/src/lang/de-DE.json b/src/lang/de-DE.json index 37d27a6e3e..2e7bbb5f31 100644 --- a/src/lang/de-DE.json +++ b/src/lang/de-DE.json @@ -214,7 +214,6 @@ "Bot Token": "Bot Token", "wayToGetTelegramToken": "Hier kannst du einen Token erhalten {0}.", "Chat ID": "Chat ID", - "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "Unterstützt Direkt Chat / Gruppe / Kanal Chat-ID's", "wayToGetTelegramChatID": "Du kannst deine Chat-ID erhalten, indem du eine Nachricht an den Bot sendest und zu dieser URL gehst, um die chat_id: zu sehen.", "YOUR BOT TOKEN HERE": "HIER DEIN BOT TOKEN", diff --git a/src/lang/el-GR.json b/src/lang/el-GR.json index 1f8459f10b..19a9bd4c1d 100644 --- a/src/lang/el-GR.json +++ b/src/lang/el-GR.json @@ -198,7 +198,6 @@ "Bot Token": "Διακριτικό Bot", "wayToGetTelegramToken": "Μπορείτε να πάρετε ένα διακριτικό από {0}.", "Chat ID": "Chat ID", - "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "Support Direct Chat / Group / Channel's Chat ID", "wayToGetTelegramChatID": "Μπορείτε να λάβετε το αναγνωριστικό συνομιλίας σας στέλνοντας ένα μήνυμα στο bot και μεταβαίνοντας σε αυτήν τη διεύθυνση URL για να προβάλετε το chat_id:", "YOUR BOT TOKEN HERE": "ΤΟ BOT ΣΑΣ ΔΙΑΚΡΙΤΙΚΌ ΕΔΩ", diff --git a/src/lang/en.json b/src/lang/en.json index e70dbb38b3..c1249d31a8 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -361,7 +361,8 @@ "Bot Token": "Bot Token", "wayToGetTelegramToken": "You can get a token from {0}.", "Chat ID": "Chat ID", - "Message Thread ID": "Message Thread ID", + "telegramMessageThreadID": "(Optional) Message Thread ID", + "telegramMessageThreadIDDescription": "Optional Unique identifier for the target message thread (topic) of the forum; for forum supergroups only", "supportTelegramChatID": "Support Direct Chat / Group / Channel's Chat ID", "wayToGetTelegramChatID": "You can get your chat ID by sending a message to the bot and going to this URL to view the chat_id:", "YOUR BOT TOKEN HERE": "YOUR BOT TOKEN HERE", diff --git a/src/lang/nl-NL.json b/src/lang/nl-NL.json index e4c1da0022..32c795456c 100644 --- a/src/lang/nl-NL.json +++ b/src/lang/nl-NL.json @@ -217,7 +217,6 @@ "Bot Token": "Bot Token", "wayToGetTelegramToken": "Je kunt een token krijgen van {0}.", "Chat ID": "Chat ID", - "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "Ondersteuning Directe Chat / Groep / Kanaal Chat ID", "wayToGetTelegramChatID": "Je kunt je CHAT ID krijgen door een bericht te sturen naar de bot en naar deze URL te gaan om het chat_id te bekijken:", "YOUR BOT TOKEN HERE": "DE BOT TOKEN HIER", diff --git a/src/lang/pl.json b/src/lang/pl.json index 6996e761f3..472b595c70 100644 --- a/src/lang/pl.json +++ b/src/lang/pl.json @@ -189,7 +189,6 @@ "Bot Token": "Token bota", "wayToGetTelegramToken": "Token można uzyskać z {0}.", "Chat ID": "Identyfikator czatu", - "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "Czat wsparcia technicznego / Bezpośrednia rozmowa / Czat grupowy", "wayToGetTelegramChatID": "Możesz uzyskać swój identyfikator czatu, wysyłając wiadomość do bota i przechodząc pod ten adres URL, aby wyświetlić identyfikator czatu:", "YOUR BOT TOKEN HERE": "TWÓJ TOKEN BOTA", diff --git a/src/lang/ru-RU.json b/src/lang/ru-RU.json index 96ad866171..7ea1f64315 100644 --- a/src/lang/ru-RU.json +++ b/src/lang/ru-RU.json @@ -216,7 +216,6 @@ "Bot Token": "Токен бота", "wayToGetTelegramToken": "Вы можете взять токен здесь - {0}.", "Chat ID": "ID чата", - "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "Поддерживаются ID чатов, групп и каналов", "wayToGetTelegramChatID": "Вы можете взять ID вашего чата, отправив сообщение боту и перейдя по этому URL для просмотра chat_id:", "YOUR BOT TOKEN HERE": "ВАШ ТОКЕН БОТА ЗДЕСЬ", diff --git a/src/lang/sl-SI.json b/src/lang/sl-SI.json index bf32cbeda2..f4ca81bd68 100644 --- a/src/lang/sl-SI.json +++ b/src/lang/sl-SI.json @@ -193,7 +193,6 @@ "Bot Token": "Robotkov žetonček", "wayToGetTelegramToken": "Lahko dobiš žeton od {0}.", "Chat ID": "ID pogovora", - "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "Direkten pogovor pomoči / Skupina / ID kanala", "wayToGetTelegramChatID": "Id lahko dobiš, če pošlješ sporočilo robotku in odpreš ta URL, da bi videl chat_id:", "YOUR BOT TOKEN HERE": "ROBOTKOV ŽETON TUKAJ", diff --git a/src/lang/th-TH.json b/src/lang/th-TH.json index 2146c7345a..9f5c78a1dc 100644 --- a/src/lang/th-TH.json +++ b/src/lang/th-TH.json @@ -194,7 +194,6 @@ "Bot Token": "กุญแจของบอท", "wayToGetTelegramToken": "คุณสามารถรับกุญแจได้จาก {0}.", "Chat ID": "ไอดีแชท", - "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "รองรับ แชทส่วนตัว, แชทกลุ่ม, ไอดีแชท", "wayToGetTelegramChatID": "คุณสามารถรับ ID แชทของคุณได้โดยส่งข้อความไปยังบอทและไปที่ URL นี้เพื่อดู chat_id :", "YOUR BOT TOKEN HERE": "กุญแจของบอทของคุณที่นี่", diff --git a/src/lang/tr-TR.json b/src/lang/tr-TR.json index d55f2aab8c..80d273e1e2 100644 --- a/src/lang/tr-TR.json +++ b/src/lang/tr-TR.json @@ -197,7 +197,6 @@ "Bot Token": "Bot Token", "wayToGetTelegramToken": "{0} adresinden bir token alabilirsiniz.", "Chat ID": "Chat ID", - "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "Doğrudan Sohbet / Grup / Kanalın Sohbet Kimliğini Destekleyin", "wayToGetTelegramChatID": "Bot'a bir mesaj göndererek ve chat_id'yi görüntülemek için bu URL'ye giderek sohbet kimliğinizi alabilirsiniz:", "YOUR BOT TOKEN HERE": "BOT TOKENİNİZ BURADA", diff --git a/src/lang/uk-UA.json b/src/lang/uk-UA.json index 7de6829c53..9a63cfe075 100644 --- a/src/lang/uk-UA.json +++ b/src/lang/uk-UA.json @@ -216,7 +216,6 @@ "Bot Token": "Токен бота", "wayToGetTelegramToken": "Ви можете взяти токен тут - {0}.", "Chat ID": "ID чату", - "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "Підтримуються ID чатів, груп та каналів", "wayToGetTelegramChatID": "Ви можете взяти ID вашого чату, відправивши повідомлення боту і перейшовши по цьому URL для перегляду chat_id:", "YOUR BOT TOKEN HERE": "ВАШ ТОКЕН БОТА ТУТ", diff --git a/src/lang/vi-VN.json b/src/lang/vi-VN.json index 4446a0203a..165bf1bb8b 100644 --- a/src/lang/vi-VN.json +++ b/src/lang/vi-VN.json @@ -193,7 +193,6 @@ "Bot Token": "Bot Token", "wayToGetTelegramToken": "Bạn có thể lấy mã token từ", "Chat ID": "Chat ID", - "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "Hỗ trợ chat trực tiếp / Nhóm / Kênh Chat ID", "wayToGetTelegramChatID": "Bạn có thể lấy chat id của mình bằng cách gửi tin nhắn tới bot và truy cập url này để xem chat_id:", "YOUR BOT TOKEN HERE": "MÃ BOT TOKEN CỦA BẠN", diff --git a/src/lang/zh-CN.json b/src/lang/zh-CN.json index 8bad70ab05..a053959395 100644 --- a/src/lang/zh-CN.json +++ b/src/lang/zh-CN.json @@ -213,7 +213,6 @@ "Bot Token": "机器人令牌", "wayToGetTelegramToken": "您可以从 {0} 获取 Token。", "Chat ID": "Chat ID", - "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "支持对话/群组/频道的 Chat ID", "wayToGetTelegramChatID": "您可以发送一条消息给您的机器人,然后访问此链接来查看 chat_id:", "YOUR BOT TOKEN HERE": "这里替换成您的 BOT TOKEN", diff --git a/src/lang/zh-HK.json b/src/lang/zh-HK.json index 1d7e0e6511..8111b73ddb 100644 --- a/src/lang/zh-HK.json +++ b/src/lang/zh-HK.json @@ -211,7 +211,6 @@ "Bot Token": "機器人權杖", "wayToGetTelegramToken": "您可以從 {0} 取得 Token。", "Chat ID": "聊天 ID", - "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "支援 對話/群組/頻道的聊天 ID", "wayToGetTelegramChatID": "傳送訊息給機器人,並前往以下網址以取得您的 chat ID:", "YOUR BOT TOKEN HERE": "在此填入您的機器人權杖", diff --git a/src/lang/zh-TW.json b/src/lang/zh-TW.json index 5a63ac5420..3e20821593 100644 --- a/src/lang/zh-TW.json +++ b/src/lang/zh-TW.json @@ -212,7 +212,6 @@ "Bot Token": "機器人權杖", "wayToGetTelegramToken": "您可以從 {0} 取得權杖。", "Chat ID": "聊天 ID", - "Message Thread ID": "Message Thread ID", "supportTelegramChatID": "支援 對話/群組/頻道的聊天 ID", "wayToGetTelegramChatID": "傳送訊息給機器人,並前往以下網址以取得您的 chat ID:", "YOUR BOT TOKEN HERE": "在此填入您的機器人權杖",