mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 04:35:24 +00:00
Use unsigned constructor id
This commit is contained in:
parent
5568e65b43
commit
f30746a0b2
@ -35,7 +35,7 @@ class Vector(Object):
|
|||||||
|
|
||||||
def __new__(cls, value: list, t: Object = None) -> bytes:
|
def __new__(cls, value: list, t: Object = None) -> bytes:
|
||||||
return b"".join(
|
return b"".join(
|
||||||
[Int(cls.ID), Int(len(value))]
|
[Int(cls.ID, False), Int(len(value))]
|
||||||
+ [
|
+ [
|
||||||
t(i) if t
|
t(i) if t
|
||||||
else i.write()
|
else i.write()
|
||||||
|
Loading…
Reference in New Issue
Block a user