mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 04:52:30 +00:00
Pass all Updates when building events
This commit is contained in:
@@ -12,7 +12,7 @@ class UserUpdate(EventBuilder):
|
||||
Occurs whenever a user goes online, starts typing, etc.
|
||||
"""
|
||||
@classmethod
|
||||
def build(cls, update):
|
||||
def build(cls, update, others=None):
|
||||
if isinstance(update, types.UpdateUserStatus):
|
||||
return cls.Event(update.user_id,
|
||||
status=update.status)
|
||||
|
Reference in New Issue
Block a user