From aaf7233c89af4dfbc2a8b9f5e11b4ff5e9713567 Mon Sep 17 00:00:00 2001 From: bodqhrohro Date: Mon, 4 Nov 2019 00:15:43 +0200 Subject: Presence/iq handling and rudimental telegram client --- config/config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config') 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 -- cgit v1.2.3