Remove telegram deprecation warning

closes #4688
This commit is contained in:
Matthias 2021-04-07 06:57:05 +02:00
parent ac6bff536f
commit d2680f6cb8
2 changed files with 2 additions and 2 deletions

View File

@ -159,10 +159,10 @@ class Telegram(RPCHandler):
for handle in handles: for handle in handles:
self._updater.dispatcher.add_handler(handle) self._updater.dispatcher.add_handler(handle)
self._updater.start_polling( self._updater.start_polling(
clean=True,
bootstrap_retries=-1, bootstrap_retries=-1,
timeout=30, timeout=30,
read_latency=60, read_latency=60,
drop_pending_updates=True,
) )
logger.info( logger.info(
'rpc.telegram is listening for following commands: %s', 'rpc.telegram is listening for following commands: %s',

View File

@ -69,7 +69,7 @@ setup(name='freqtrade',
# from requirements.txt # from requirements.txt
'ccxt>=1.24.96', 'ccxt>=1.24.96',
'SQLAlchemy', 'SQLAlchemy',
'python-telegram-bot', 'python-telegram-bot>=13.4',
'arrow>=0.17.0', 'arrow>=0.17.0',
'cachetools', 'cachetools',
'requests', 'requests',