mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-10-30 03:00:40 +00:00
Merge manually
This commit is contained in:
parent
c5034c8f38
commit
10228874fa
3 changed files with 4 additions and 1 deletions
|
@ -12,6 +12,7 @@ class Telegram extends NotificationProvider {
|
|||
let params = {
|
||||
chat_id: notification.telegramChatID,
|
||||
text: msg,
|
||||
disable_notification: notification.telegramSendSilently ?? false,
|
||||
};
|
||||
if (notification.telegramMessageThreadID) {
|
||||
params.message_thread_id = notification.telegramMessageThreadID;
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
<div class="form-check form-switch">
|
||||
<input v-model="$parentnotification.telegramSendSilently" class="form-check-input" type="checkbox">
|
||||
<label class="form-check-label">{{ $t("Send Silently") }}</label>
|
||||
<label class="form-check-label">{{ $t("telegramSendSilently") }}</label>
|
||||
</div>
|
||||
|
||||
<div class="form-text">
|
||||
|
|
|
@ -363,6 +363,8 @@
|
|||
"Chat ID": "Chat ID",
|
||||
"telegramMessageThreadID": "(Optional) Message Thread ID",
|
||||
"telegramMessageThreadIDDescription": "Optional Unique identifier for the target message thread (topic) of the forum; for forum supergroups only",
|
||||
"telegramSendSilently": "Send Silently",
|
||||
"telegramSendSilentlyDescription": "Sends the message silently. Users will receive a notification with no sound.",
|
||||
"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",
|
||||
|
|
Loading…
Reference in a new issue