feat: add public media copy

This commit is contained in:
krau
2025-05-28 16:43:11 +08:00
parent 6c2bfd72cd
commit 6ecfbd8385
4 changed files with 70 additions and 35 deletions

View File

@@ -17,6 +17,9 @@ type Config struct {
Threads int `toml:"threads" mapstructure:"threads" json:"threads"`
Stream bool `toml:"stream" mapstructure:"stream" json:"stream"`
// Experimental: 将拷贝媒体文件的功能设为公开可用
AsPublicCopyMediaBot bool `toml:"as_public_copy_media_bot" mapstructure:"as_public_copy_media_bot" json:"as_public_copy_media_bot"`
Users []userConfig `toml:"users" mapstructure:"users" json:"users"`
Temp tempConfig `toml:"temp" mapstructure:"temp"`