Fix UserUpdate.last_seen check

This commit is contained in:
Lonami Exo 2023-04-30 10:32:08 +02:00
parent d7bd554ba0
commit ce29f13606

View File

@ -246,7 +246,7 @@ class UserUpdate(EventBuilder):
return isinstance(self.action, types.SendMessageUploadPhotoAction)
@property
@_requires_action
@_requires_status
def last_seen(self):
"""
Exact `datetime.datetime` when the user was last seen if known.