2022-03-18 21:33:23 +01: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 19:31:43 +02:00
|
|
|
Enabled bool `json:"enabled"`
|
2022-03-18 21:33:23 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// BrowserNotificationConfiguration represents the configuration for
|
|
|
|
// browser notifications.
|
|
|
|
type BrowserNotificationConfiguration struct {
|
|
|
|
GoLiveMessage string `json:"goLiveMessage,omitempty"`
|
2023-05-30 19:31:43 +02:00
|
|
|
Enabled bool `json:"enabled"`
|
2022-03-18 21:33:23 +01:00
|
|
|
}
|