Support multi telegramId for admins #34

This commit is contained in:
Alireza Ahmadi
2023-03-06 19:15:20 +01:00
parent edc911c2f3
commit 2951b5f94c
9 changed files with 48 additions and 31 deletions

View File

@@ -34,7 +34,7 @@ type AllSetting struct {
WebBasePath string `json:"webBasePath" form:"webBasePath"`
TgBotEnable bool `json:"tgBotEnable" form:"tgBotEnable"`
TgBotToken string `json:"tgBotToken" form:"tgBotToken"`
TgBotChatId int `json:"tgBotChatId" form:"tgBotChatId"`
TgBotChatId string `json:"tgBotChatId" form:"tgBotChatId"`
TgRunTime string `json:"tgRunTime" form:"tgRunTime"`
XrayTemplateConfig string `json:"xrayTemplateConfig" form:"xrayTemplateConfig"`