From e585f21a67ee0878de5773545503c4f56aa64be5 Mon Sep 17 00:00:00 2001 From: Shrimadhav U K Date: Sat, 12 May 2018 15:02:05 +0530 Subject: [PATCH] small spelling mistake --- docs/docs/FILES.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/FILES.md b/docs/docs/FILES.md index 6e7d22a9..8f000d56 100644 --- a/docs/docs/FILES.md +++ b/docs/docs/FILES.md @@ -385,7 +385,7 @@ $output_file_name = $MadelineProto->download_to_file( ); ``` -This will send the file `video.mp4` to [@danogentili](https://t.me/danogentili): while uploading, he will receive progress messages `Upload progress: 24%` until the upload is complete; while uploading, he will receive progress messages `Download progress: 34%` until the download is complete. +This will send the file `video.mp4` to [@danogentili](https://t.me/danogentili): while uploading, he will receive progress messages `Upload progress: 24%` until the upload is complete; while downloading, he will receive progress messages `Download progress: 34%` until the download is complete. A FileCallback object can be provided to `uploadMedia`, `sendMedia`, `uploadProfilePicture`, `upload`, `upload_encrypted`, `download_to_*`: the first parameter to its constructor must be the file path/object that is usually accepted by the function, the second must be a callable function or object. @@ -431,4 +431,4 @@ $output_file_name = $MadelineProto->download_to_file( ); ``` -Next section \ No newline at end of file +Next section