diff --git a/src/EventHandler/Media.php b/src/EventHandler/Media.php index cae282b9a..31c340da8 100644 --- a/src/EventHandler/Media.php +++ b/src/EventHandler/Media.php @@ -130,7 +130,7 @@ abstract class Media extends AbstractMedia */ public function downloadToFile(string $file, ?callable $cb = null): string { - return $this->getClient()->downloadToFile($this, $file); + return $this->getClient()->downloadToFile($this, $file, $cb); } /** @internal */