diff --git a/TL.php b/TL.php index 987515fa..442927e9 100644 Binary files a/TL.php and b/TL.php differ diff --git a/mtproto.php b/mtproto.php index c2c72bfc..e7d34d60 100755 Binary files a/mtproto.php and b/mtproto.php differ diff --git a/mtproto.py b/mtproto.py index 75ae4331..a511443b 100644 --- a/mtproto.py +++ b/mtproto.py @@ -111,6 +111,7 @@ class Session: if auth_key_id == b'\x00\x00\x00\x00\x00\x00\x00\x00': # No encryption - Plain text (message_id, message_length) = struct.unpack("<8sI", packet[12:24]) + print struct.unpack("<8sI", packet[12:24]) data = packet[24:24+message_length] elif auth_key_id == self.auth_key_id: message_key = packet[12:28]