mirror of
https://github.com/idanoo/autobrr
synced 2025-07-26 02:09:13 +00:00
feat(notifications): add telegram support (#299)
* feat(notifications): add telegram support * feat(notifications): change list view * refactor(notifications): overall setup * feat(notifications): forms add telegram
This commit is contained in:
parent
2ab7133dd0
commit
38addb99e6
15 changed files with 630 additions and 457 deletions
6
web/src/types/Notification.d.ts
vendored
6
web/src/types/Notification.d.ts
vendored
|
@ -1,4 +1,4 @@
|
|||
type NotificationType = "DISCORD";
|
||||
type NotificationType = "DISCORD" | "TELEGRAM";
|
||||
|
||||
interface Notification {
|
||||
id: number;
|
||||
|
@ -6,5 +6,7 @@ interface Notification {
|
|||
enabled: boolean;
|
||||
type: NotificationType;
|
||||
events: string[];
|
||||
webhook: string;
|
||||
webhook?: string;
|
||||
token?: string;
|
||||
channel?: string;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue