mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 12:59:46 +00:00
Pass all Updates when building events
This commit is contained in:
@@ -25,7 +25,7 @@ class MessageDeleted(EventBuilder):
|
||||
unless you intend on working with channels and super-groups only.
|
||||
"""
|
||||
@classmethod
|
||||
def build(cls, update):
|
||||
def build(cls, update, others=None):
|
||||
if isinstance(update, types.UpdateDeleteMessages):
|
||||
return cls.Event(
|
||||
deleted_ids=update.messages,
|
||||
|
Reference in New Issue
Block a user