feat: add ForceFile option to TelegramStorageConfig and update Save method

This commit is contained in:
krau
2025-08-24 11:38:44 +08:00
parent e824b210d1
commit 25ad9befa0
2 changed files with 3 additions and 2 deletions

View File

@@ -9,6 +9,7 @@ import (
type TelegramStorageConfig struct {
BaseConfig
ChatID int64 `toml:"chat_id" mapstructure:"chat_id" json:"chat_id"`
ForceFile bool `toml:"force_file" mapstructure:"force_file" json:"force_file"`
RateLimit int `toml:"rate_limit" mapstructure:"rate_limit" json:"rate_limit"`
RateBurst int `toml:"rate_burst" mapstructure:"rate_burst" json:"rate_burst"`
}