Update docs

This commit is contained in:
Daniil Gentili 2019-12-29 15:20:40 +01:00
parent 135f311023
commit 4ed3a8447c
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -457,7 +457,7 @@ class MyCallback implements \danog\MadelineProto\FileCallbackInterface
{
return $this->file;
}
public function __invoke($progress)
public function __invoke($progress, $speed, $time)
{
yield $this->MadelineProto->messages->sendMessage(['peer' => $this->peer, 'message' => 'Progress: '.$progress.'%']);
}