mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-30 22:05:28 +00:00
Improve type hints
This commit is contained in:
@@ -27,7 +27,7 @@ class {name}(TLObject): # type: ignore
|
||||
{read_types}
|
||||
return {name}({return_arguments})
|
||||
|
||||
def write(self) -> bytes:
|
||||
def write(self, *args) -> bytes:
|
||||
b = BytesIO()
|
||||
b.write(Int(self.ID, False))
|
||||
|
||||
|
Reference in New Issue
Block a user