Replace .on_response with static .from_reader for all types

This commit is contained in:
Lonami Exo
2017-10-07 13:26:09 +02:00
parent a17def8026
commit 91a5d20e93
3 changed files with 36 additions and 35 deletions

View File

@@ -121,5 +121,6 @@ class TLObject:
def to_bytes(self):
return b''
def on_response(self, reader):
pass
@staticmethod
def from_reader(reader):
return TLObject()