mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Implemented mattermost notifications based on slack notification
This commit is contained in:
parent
fa1540717b
commit
b287c8655f
21 changed files with 579 additions and 2 deletions
12
Ombi.Core/SettingModels/MattermostNotificationSettings.cs
Normal file
12
Ombi.Core/SettingModels/MattermostNotificationSettings.cs
Normal file
|
@ -0,0 +1,12 @@
|
|||
using System;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Ombi.Core.SettingModels
|
||||
{
|
||||
public sealed class MattermostNotificationSettings : NotificationSettings
|
||||
{
|
||||
public string WebhookUrl { get; set; }
|
||||
public string Channel { get; set; }
|
||||
public string Username { get; set; }
|
||||
}
|
||||
}
|
|
@ -51,11 +51,13 @@ namespace Ombi.Core.SettingModels
|
|||
}
|
||||
};
|
||||
SlackNotification = new List<NotificationMessage>();
|
||||
MattermostNotification = new List<NotificationMessage>();
|
||||
PushoverNotification = new List<NotificationMessage>();
|
||||
PushbulletNotification = new List<NotificationMessage>();
|
||||
}
|
||||
public List<NotificationMessage> EmailNotification { get; set; }
|
||||
public List<NotificationMessage> SlackNotification { get; set; }
|
||||
public List<NotificationMessage> MattermostNotification { get; set; }
|
||||
public List<NotificationMessage> PushbulletNotification { get; set; }
|
||||
public List<NotificationMessage> PushoverNotification { get; set; }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue