pony
This commit is contained in:
parent
4cfd96152f
commit
bd40ca528a
|
@ -535,7 +535,7 @@ trait FilesHandler
|
||||||
return $file;
|
return $file;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function download_to_stream($message_media, &$stream, $cb = null, $offset = 0, $end = -1)
|
public function download_to_stream($message_media, $stream, $cb = null, $offset = 0, $end = -1)
|
||||||
{
|
{
|
||||||
if ($cb === null) {
|
if ($cb === null) {
|
||||||
$cb = function ($percent) {
|
$cb = function ($percent) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user