Alerting: Add message options for Telegram contact point (#74635)

Co-authored-by: Santiago <santiagohernandez.1997@gmail.com>
This commit is contained in:
Nutmos
2023-09-12 10:45:57 -04:00
committed by GitHub
co-authored by Santiago
parent 3f3db49c4c
commit ad9f0b9e4e
4 changed files with 49 additions and 1 deletions
@@ -843,6 +843,18 @@ func GetAvailableNotifiers() []*NotifierPlugin {
Description: `Mode for parsing entities in the message text. Default is 'HTML'`,
PropertyName: "parse_mode",
},
{
Label: "Disable Web Page Preview",
Description: "Disables link previews for links in this message",
Element: ElementTypeCheckbox,
PropertyName: "disable_web_page_preview",
},
{
Label: "Protect Content",
Description: "Protects the contents of the sent message from forwarding and saving",
Element: ElementTypeCheckbox,
PropertyName: "protect_content",
},
{
Label: "Disable Notification",
Description: "Sends the message silently. Users will receive a notification with no sound.",