Pass all Updates when building events

This commit is contained in:
Lonami Exo
2019-06-30 16:34:34 +02:00
parent 71979e7b23
commit a7a7c4add2
12 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -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,