Make more TLObject methods private

Even though raw API is somewhat necessary at times,
these methods should remain implementation details.
This commit is contained in:
Lonami Exo
2022-02-08 10:02:59 +01:00
parent 1f3ce07594
commit 84b016cf1c
9 changed files with 24 additions and 24 deletions

View File

@@ -139,7 +139,7 @@ class BinaryReader:
self.set_position(pos)
raise error
return clazz.from_reader(self)
return clazz._from_reader(self)
def tgread_vector(self):
"""Reads a vector (a list) of Telegram objects."""