mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-04 08:15:08 +00:00
Use unsigned constructor id
This commit is contained in:
@@ -35,7 +35,7 @@ class Vector(Object):
|
||||
|
||||
def __new__(cls, value: list, t: Object = None) -> bytes:
|
||||
return b"".join(
|
||||
[Int(cls.ID), Int(len(value))]
|
||||
[Int(cls.ID, False), Int(len(value))]
|
||||
+ [
|
||||
t(i) if t
|
||||
else i.write()
|
||||
|
Reference in New Issue
Block a user