From 62831001b799039e149a53e826ce4aa21932d064 Mon Sep 17 00:00:00 2001 From: Eric Blundell Date: Tue, 20 Mar 2018 09:39:58 -0500 Subject: [PATCH] Slight amendment to client.download_(media/photo) doc --- pyrogram/client/client.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index 57351887..765de03b 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -2640,8 +2640,8 @@ class Client: file_name (:obj:`str`, optional): Specify a custom *file_name* to be used instead of the one provided by Telegram. This parameter is expected to be a full file path to the location you want the - file to be placed. If not specified, the file will be put into the directory - specified by *file_dir* with a generated name. + file to be placed, or a file like object. If not specified, the file will + be put into the directory specified by *file_dir* with a generated name. file_dir (:obj:`str`, optional): Specify a directory to place the file in if no *file_name* is specified. @@ -2714,8 +2714,8 @@ class Client: file_name (:obj:`str`, optional): Specify a custom *file_name* to be used instead of the one provided by Telegram. This parameter is expected to be a full file path to the location you want the - photo to be placed. If not specified, the photo will be put into the directory - specified by *file_dir* with a generated name. + photo to be placed, or a file like object. If not specified, the photo will + be put into the directory specified by *file_dir* with a generated name. file_dir (:obj:`str`, optional): Specify a directory to place the photo in if no *file_name* is specified.