Slight amendment to client.download_(media/photo) doc
This commit is contained in:
parent
bd1234f227
commit
62831001b7
@ -2640,8 +2640,8 @@ class Client:
|
|||||||
file_name (:obj:`str`, optional):
|
file_name (:obj:`str`, optional):
|
||||||
Specify a custom *file_name* to be used instead of the one provided by Telegram.
|
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
|
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
|
file to be placed, or a file like object. If not specified, the file will
|
||||||
specified by *file_dir* with a generated name.
|
be put into the directory specified by *file_dir* with a generated name.
|
||||||
|
|
||||||
file_dir (:obj:`str`, optional):
|
file_dir (:obj:`str`, optional):
|
||||||
Specify a directory to place the file in if no *file_name* is specified.
|
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):
|
file_name (:obj:`str`, optional):
|
||||||
Specify a custom *file_name* to be used instead of the one provided by Telegram.
|
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
|
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
|
photo to be placed, or a file like object. If not specified, the photo will
|
||||||
specified by *file_dir* with a generated name.
|
be put into the directory specified by *file_dir* with a generated name.
|
||||||
|
|
||||||
file_dir (:obj:`str`, optional):
|
file_dir (:obj:`str`, optional):
|
||||||
Specify a directory to place the photo in if no *file_name* is specified.
|
Specify a directory to place the photo in if no *file_name* is specified.
|
||||||
|
Loading…
Reference in New Issue
Block a user