------------------------…

------------------------…



------------------------------------------------------------------------------------------------------------------------
555 process_update dispatcher.py
> handler.handle_update(update, self, check, context)

---

122 handle_update handlers.py
> return self.callback(update, context)

---

154 get_id userinfo.py
> text += f"\nVideo File ID: <code>{reply.animation.file_id}</code>\n"

AttributeError:
'NoneType' object has no attribute 'file_id'

-------------------------------------------------------------------------------
An exception was raised while handling an update
User: 1477711713
Chat: None 1477711713
Callback data: None
Message: /id

Full Traceback: Traceback (most recent call last):
File "E:\SaitamaRobot\env\lib\site-packages\telegram\ext\dispatcher.py", line 555, in process_update
handler.handle_update(update, self, check, context)
File "E:\SaitamaRobot\SaitamaRobot\modules\helper_funcs\handlers.py", line 122, in handle_update
return self.callback(update, context)
File "E:\SaitamaRobot\SaitamaRobot\modules\userinfo.py", line 154, in get_id
text += f"\nVideo File ID: <code>{reply.animation.file_id}</code>\n"
AttributeError: 'NoneType' object has no attribute 'file_id'

Report Page