Versions in this module Expand all Collapse all v1 v1.0.0 Feb 29, 2024 Changes in this version + const ConfigKeyBotToken + const DefaultConfigFile + var ConfigFile string + type Config struct + Telegram Telegram + Uploads []Upload + func NewConfig(cmd *cobra.Command) (*Config, error) + type Tags struct + Expr []string + Plain []string + Regexp []string + type Telegram struct + Token string + type Upload struct + ChatId int64 + Directory string + Document bool + FilePatterns []string + MaxSize datasize.ByteSize + MinSize datasize.ByteSize + Tags Tags