Update docs
This commit is contained in:
parent
135f311023
commit
4ed3a8447c
@ -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.'%']);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user