From 400fcc1282894ec0b9b542274e27cce6c129bf61 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Mon, 1 Apr 2024 18:37:05 +0200 Subject: [PATCH] Fixup --- src/FileId.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FileId.php b/src/FileId.php index c367d1b..5adad37 100644 --- a/src/FileId.php +++ b/src/FileId.php @@ -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(