chore: check for update.message being present

pull/11143/head
Matthias 1 year ago
parent d73f01701e
commit 51ae0f0377

@ -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

Loading…
Cancel
Save