chore: check for update.message being present

This commit is contained in:
Matthias
2024-12-24 14:05:17 +01:00
parent d73f01701e
commit 51ae0f0377

View File

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