mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-20 22:10:35 +00:00
chore: check for update.message being present
This commit is contained in:
@@ -2134,6 +2134,8 @@ class Telegram(RPCHandler):
|
||||
:param update: message update
|
||||
:return: None
|
||||
"""
|
||||
if not update.message:
|
||||
return
|
||||
chat_id = update.message.chat_id
|
||||
topic_id = update.message.message_thread_id
|
||||
|
||||
|
||||
Reference in New Issue
Block a user