Add Telegram bot token and name

This commit is contained in:
Ehco1996
2024-03-01 20:39:28 +08:00
parent feb40db2bc
commit 140e843d93
5 changed files with 81 additions and 20 deletions

View File

@@ -215,6 +215,10 @@ func updateOptionMap(key string, value string) (err error) {
common.WeChatServerToken = value
case "WeChatAccountQRCodeImageURL":
common.WeChatAccountQRCodeImageURL = value
case "TelegramBotToken":
common.TelegramBotToken = value
case "TelegramBotName":
common.TelegramBotName = value
case "TurnstileSiteKey":
common.TurnstileSiteKey = value
case "TurnstileSecretKey":