mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 13:29:47 +00:00
Replace .on_response with static .from_reader for all types
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user