diff --git a/pyrogram/raw/core/future_salts.py b/pyrogram/raw/core/future_salts.py index 31eb16e2..88216387 100644 --- a/pyrogram/raw/core/future_salts.py +++ b/pyrogram/raw/core/future_salts.py @@ -48,6 +48,7 @@ class FutureSalts(TLObject): def write(self, *args: Any) -> bytes: b = BytesIO() + b.write(Int(self.ID, False)) b.write(Long(self.req_msg_id))