Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Apr 1, 2024
1 parent e0013d7 commit 400fcc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FileId.php
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ public function getBotAPI(): string
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(
Expand Down

0 comments on commit 400fcc1

Please sign in to comment.