clarify telegram channel ID param and documentation
This commit is contained in:
committed by
Umputun
parent
e1d629191e
commit
f43dfd57e0
@@ -218,7 +218,7 @@ type NotifyGroup struct {
|
||||
Admins []string `long:"admins" env:"ADMINS" description:"types of admin notifications" choice:"none" choice:"telegram" choice:"email" choice:"slack" choice:"webhook" default:"none" env-delim:","` //nolint
|
||||
QueueSize int `long:"queue" env:"QUEUE" description:"size of notification queue" default:"100"`
|
||||
Telegram struct {
|
||||
Channel string `long:"chan" env:"CHAN" description:"telegram channel for admin notifications"`
|
||||
Channel string `long:"chan" env:"CHAN" description:"ID of telegram channel for admin notifications"`
|
||||
API string `long:"api" env:"API" default:"https://api.telegram.org/bot" description:"[deprecated, not used] telegram api prefix"`
|
||||
Token string `long:"token" env:"TOKEN" description:"[deprecated, use --telegram.token] telegram token"`
|
||||
Timeout time.Duration `long:"timeout" env:"TIMEOUT" default:"5s" description:"[deprecated, use --telegram.timeout] telegram timeout"`
|
||||
|
||||
Reference in New Issue
Block a user