fix telegram token server setting

This commit is contained in:
Dmitry Verkhoturov
2021-06-13 15:47:52 -05:00
committed by Umputun
parent fd4c6ceb18
commit de6e541604
+1 -1
View File
@@ -194,7 +194,7 @@ type AdminGroup struct {
// TelegramGroup defines token for Telegram used in notify and auth modules
type TelegramGroup struct {
Token string `long:"host" env:"HOST" description:"SMTP host"`
Token string `long:"token" env:"TOKEN" description:"telegram token (used for auth and telegram notifications)"`
Timeout time.Duration `long:"timeout" env:"TIMEOUT" default:"5s" description:"telegram timeout"`
}