✨ 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:
1 parent
6afd95d82c
commit
f2a642bf79
7 files changed
+127
No files matched your search
@@ -12,6 +12,8 @@
|
||||
"weChatPushSecret": "",
|
||||
"weChatPushTemplateId": "",
|
||||
"weChatPushUserId": "",
|
||||
"tgChatId": "",
|
||||
"tgBotToken": "",
|
||||
"isInit": true,
|
||||
"httpsEnabled": 2
|
||||
}
|
||||
Reference in new issue
Block a user