package
Version:
v0.0.0-...-517d227
Opens a new window with list of versions in this module.
Published: Sep 5, 2022
License: BSD-3-Clause
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
New returns a new handler (Telegram) and appends it to SenderHandlers
type ClientConfig struct {
TimeoutSeconds int `mapstructure:"timeout_seconds" json:"timeoutSeconds"`
Verbose bool `mapstructure:"verbose" json:"verbose"`
BotTokens []string `mapstructure:"bot_tokens" json:"botTokens"`
}
type Config struct {
Handler _handler.Config `mapstructure:"handler" json:"handler"`
Client ClientConfig `mapstructure:"client" json:"client"`
}
Config for bot handlers. Mostly controls timing
Source Files
¶
Click to show internal directories.
Click to hide internal directories.