diff --git a/docs b/docs index dcbeb7cec..c64cf9210 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit dcbeb7cec2a1b230d7f7b96620917a5c9b2eba05 +Subproject commit c64cf921092dd496fc3a62efeb88d6359f651862 diff --git a/schemas b/schemas index 68c8a4ca8..2bfc17e1d 160000 --- a/schemas +++ b/schemas @@ -1 +1 @@ -Subproject commit 68c8a4ca854c1a7ec72dfaf4803b37f0030709a1 +Subproject commit 2bfc17e1d396cbf5f90aacafcf5930b03d460dc5 diff --git a/src/danog/MadelineProto/TL/TL.php b/src/danog/MadelineProto/TL/TL.php index 0eb5d3efa..73518e375 100644 --- a/src/danog/MadelineProto/TL/TL.php +++ b/src/danog/MadelineProto/TL/TL.php @@ -667,6 +667,10 @@ class TL } } } + if ($current_argument['name'] === 'hash' && $current_argument['type'] === 'long') { + $serialized .= \pack('@8'); + continue; + } if ($current_argument['name'] === 'hash' && $current_argument['type'] === 'int') { $serialized .= \pack('@4'); continue;