mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 12:59:46 +00:00
Use classmethod for all Event.build
This commit is contained in:
@@ -25,8 +25,8 @@ class Raw(EventBuilder):
|
||||
async def resolve(self, client):
|
||||
pass
|
||||
|
||||
@staticmethod
|
||||
def build(update):
|
||||
@classmethod
|
||||
def build(cls, update):
|
||||
return update
|
||||
|
||||
def filter(self, event):
|
||||
|
Reference in New Issue
Block a user