1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

Fixed: Telegram silent notifications

Closes #4041
This commit is contained in:
Mark McDowall 2020-11-01 15:15:08 -08:00
parent cfdaddd81a
commit 0b7aa19ac0

View File

@ -38,6 +38,7 @@ public void SendNotification(string title, string message, TelegramSettings sett
.AddFormParameter("chat_id", settings.ChatId) .AddFormParameter("chat_id", settings.ChatId)
.AddFormParameter("parse_mode", "HTML") .AddFormParameter("parse_mode", "HTML")
.AddFormParameter("text", text) .AddFormParameter("text", text)
.AddFormParameter("disable_notification", settings.SendSilently)
.Build(); .Build();
_httpClient.Post(request); _httpClient.Post(request);