diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/config.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/config.go b/config/config.go index 6759dd8..bcd493e 100644 --- a/config/config.go +++ b/config/config.go @@ -42,9 +42,8 @@ type TelegramContentConfig struct { // TelegramTdlibConfig is for :tdlib: subtree type TelegramTdlibConfig struct { - Path string `yaml:":lib_path"` - Logfile string `yaml:":logfile"` - Client TelegramTdlibClientConfig `yaml:":client"` + Path string `yaml:":lib_path"` + Client TelegramTdlibClientConfig `yaml:":client"` } // TelegramTdlibClientConfig is for :client: subtree @@ -54,6 +53,7 @@ type TelegramTdlibClientConfig struct { DeviceModel string `yaml:":device_model"` ApplicationVersion string `yaml:":application_version"` UseChatInfoDatabase bool `yaml:":use_chat_info_database"` + UseSecretChats bool `yaml:":use_secret_chats"` } // ReadConfig reads the specified config file, validates it and returns a struct |