diff options
author | bodqhrohro <bodqhrohro@gmail.com> | 2019-12-16 04:02:53 +0300 |
---|---|---|
committer | bodqhrohro <bodqhrohro@gmail.com> | 2019-12-16 04:02:53 +0300 |
commit | 10aae376f7dae843a5472cfc5c7083b4c032021d (patch) | |
tree | c5356518819df8f3863599a456602a0a4bcedae4 /config | |
parent | 3918686f211a3eac60916a81423c64240ad1988a (diff) |
Catch timeout setting
Diffstat (limited to 'config')
-rw-r--r-- | config/config.go | 1 |
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 |