update
This commit is contained in:
@@ -34,3 +34,4 @@ class settings:
|
||||
self._maxTTL = int(d['maxTTL']) if 'maxTTL' in d and d['maxTTL'].isnumeric(
|
||||
) and int(d['maxTTL']) >= self._minTTL else max(1440, self._minTTL)
|
||||
self._maxRetryCount = int(d['maxRetryCount']) if 'maxRetryCount' in d and d['maxRetryCount'].isnumeric() and int(d['maxRetryCount']) >= 0 else 3
|
||||
self._telegramBotApiServer = d['telegramBotApiServer'] if 'telegramBotApiServer' in d else 'https://api.telegram.org'
|
||||
|
||||
Reference in New Issue
Block a user