aboutsummaryrefslogtreecommitdiff
path: root/config/config.go
diff options
context:
space:
mode:
authorbodqhrohro <bodqhrohro@gmail.com>2019-12-16 04:02:53 +0300
committerbodqhrohro <bodqhrohro@gmail.com>2019-12-16 04:02:53 +0300
commit10aae376f7dae843a5472cfc5c7083b4c032021d (patch)
treec5356518819df8f3863599a456602a0a4bcedae4 /config/config.go
parent3918686f211a3eac60916a81423c64240ad1988a (diff)
Catch timeout setting
Diffstat (limited to 'config/config.go')
-rw-r--r--config/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/config.go b/config/config.go
index bcd493e..dad6706 100644
--- a/config/config.go
+++ b/config/config.go
@@ -54,6 +54,7 @@ type TelegramTdlibClientConfig struct {
ApplicationVersion string `yaml:":application_version"`
UseChatInfoDatabase bool `yaml:":use_chat_info_database"`
UseSecretChats bool `yaml:":use_secret_chats"`
+ CatchTimeout int64 `yaml:":catch_timeout"`
}
// ReadConfig reads the specified config file, validates it and returns a struct