chore: check for update.message being present
This commit is contained in:
@@ -2134,6 +2134,8 @@ class Telegram(RPCHandler):
|
|||||||
:param update: message update
|
:param update: message update
|
||||||
:return: None
|
:return: None
|
||||||
"""
|
"""
|
||||||
|
if not update.message:
|
||||||
|
return
|
||||||
chat_id = update.message.chat_id
|
chat_id = update.message.chat_id
|
||||||
topic_id = update.message.message_thread_id
|
topic_id = update.message.message_thread_id
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user