mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-30 06:16:37 +08:00
de58b118b4
Implement TelegramPusher in pkg/push, register config schema in channels_definition.go, add validation in model/push_channel.go, update task routing, and update settings-tab.tsx UI validation.
16 lines
321 B
Go
16 lines
321 B
Go
// Copyright 2026 Arctel.net
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package push
|
|
|
|
const (
|
|
channelCustom = "custom"
|
|
channelEmail = "email"
|
|
channelLark = "lark"
|
|
channelTelegram = "telegram"
|
|
defaultLevelInfo = "INFO"
|
|
keyTitle = "title"
|
|
keyContent = "content"
|
|
keyLevel = "level"
|
|
)
|