From 4ed3a8447cf21c69322bcdaf149eb3ce0befe8c0 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sun, 29 Dec 2019 15:20:40 +0100 Subject: [PATCH] Update docs --- docs/docs/FILES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/FILES.md b/docs/docs/FILES.md index 32d1d3fc..304340d9 100644 --- a/docs/docs/FILES.md +++ b/docs/docs/FILES.md @@ -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.'%']); }