This commit is contained in:
Daniil Gentili 2024-04-01 18:37:05 +02:00
parent e0013d757b
commit 400fcc1282

View File

@ -292,7 +292,7 @@ final class FileId
break;
case $photoSize instanceof PhotoSizeSourceThumbnail:
$fileId .= \pack('V', PhotoSizeSourceType::THUMBNAIL->value);
$fileId .= \pack('Va4', $photoSize->thumbFileType->value, $photoSize->thumbType);
$fileId .= \pack('Va4', $photoSize->thumbFileType->toInnerID(), $photoSize->thumbType);
break;
case $photoSize instanceof PhotoSizeSourceDialogPhoto:
$fileId .= \pack(