2022-03-18 23:33:23 +03:00
|
|
|
package models
|
|
|
|
|
|
|
|
// DiscordConfiguration represents the configuration for the discord
|
|
|
|
// notification service.
|
|
|
|
type DiscordConfiguration struct {
|
|
|
|
Webhook string `json:"webhook,omitempty"`
|
|
|
|
GoLiveMessage string `json:"goLiveMessage,omitempty"`
|
2023-05-30 20:31:43 +03:00
|
|
|
Enabled bool `json:"enabled"`
|
2022-03-18 23:33:23 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
// BrowserNotificationConfiguration represents the configuration for
|
|
|
|
// browser notifications.
|
|
|
|
type BrowserNotificationConfiguration struct {
|
|
|
|
GoLiveMessage string `json:"goLiveMessage,omitempty"`
|
2023-05-30 20:31:43 +03:00
|
|
|
Enabled bool `json:"enabled"`
|
2022-03-18 23:33:23 +03:00
|
|
|
}
|