添加群晖synology chat通知推送 (#1610)

This commit is contained in:
Appoip
2022-09-04 18:10:20 +08:00
committed by GitHub
parent 2de189d189
commit 952cdc0e3f
6 changed files with 123 additions and 2 deletions
+7
View File
@@ -4,6 +4,7 @@ export enum NotificationMode {
'serverChan' = 'serverChan',
'pushDeer' = 'pushDeer',
'bark' = 'bark',
'chat' = 'chat'
'telegramBot' = 'telegramBot',
'dingtalkBot' = 'dingtalkBot',
'weWorkBot' = 'weWorkBot',
@@ -37,6 +38,11 @@ export class PushDeerNotification extends NotificationBaseInfo {
public pushDeerKey = '';
}
export class ChatNotification extends NotificationBaseInfo {
public chatUrl = '';
public chattoken = '';
}
export class BarkNotification extends NotificationBaseInfo {
public barkPush = '';
public barkIcon = 'http://qn.whyour.cn/logo.png';
@@ -86,6 +92,7 @@ export interface NotificationInfo
GotifyNotification,
ServerChanNotification,
PushDeerNotification,
ChatNotification,
BarkNotification,
TelegramBotNotification,
DingtalkBotNotification,