mirror of
https://github.com/Jinnrry/PMail.git
synced 2026-04-25 09:57:00 +08:00
✨ feat: Add Telegram push hook functionality and configuration options
- Add "tgChatId" and "tgBotToken" fields to configuration files - Modify "config.go" to include new configuration fields - Implement Telegram push hook functionality in "telegram_push.go" - Add test file "telegram_push_test.go" to test Telegram push hook functionality
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
"weChatPushSecret": "",
|
||||
"weChatPushTemplateId": "",
|
||||
"weChatPushUserId": "",
|
||||
"tgChatId": "",
|
||||
"tgBotToken": "",
|
||||
"isInit": true,
|
||||
"httpsEnabled": 2
|
||||
}
|
||||
Reference in New Issue
Block a user