Begin updating the way updates are built

This commit is contained in:
Lonami Exo
2022-02-15 11:57:55 +01:00
parent c914a92dcf
commit 483e2aadf1
18 changed files with 337 additions and 284 deletions

View File

@@ -41,7 +41,7 @@ class MessageEdited(EventBuilder):
print('Message', event.id, 'changed at', event.date)
"""
@classmethod
def _build(cls, update, others, self_id, entities, client):
def _build(cls, client, update, entities):
if isinstance(update, (_tl.UpdateEditMessage,
_tl.UpdateEditChannelMessage)):
return cls._new(client, update.message, entities, None)