mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
parent
cfdaddd81a
commit
0b7aa19ac0
@ -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);
|
Loading…
Reference in New Issue
Block a user