aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorbodqhrohro <bodqhrohro@gmail.com>2019-11-04 01:15:43 +0300
committerbodqhrohro <bodqhrohro@gmail.com>2019-11-04 01:15:43 +0300
commitaaf7233c89af4dfbc2a8b9f5e11b4ff5e9713567 (patch)
treed449c7a41d1945e249cd066921c7a436f7614f84 /config
parent7e036fd795cc0b5710d3b049dc98f4538c32da6a (diff)
Presence/iq handling and rudimental telegram client
Diffstat (limited to 'config')
-rw-r--r--config/config.go6
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