mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-02 15:25:41 +00:00
Fix docstring for argument being optional
This commit is contained in:
@@ -65,7 +65,7 @@ class DownloadMedia(BaseClient):
|
||||
total (``int``):
|
||||
The size of the file.
|
||||
|
||||
*args (``tuple``):
|
||||
*args (``tuple``, *optional*):
|
||||
Extra custom arguments as defined in the *progress_args* parameter.
|
||||
You can either keep *\*args* or add every single extra argument in your function signature.
|
||||
|
||||
|
@@ -104,7 +104,7 @@ class SendAudio(BaseClient):
|
||||
total (``int``):
|
||||
The size of the file.
|
||||
|
||||
*args (``tuple``):
|
||||
*args (``tuple``, *optional*):
|
||||
Extra custom arguments as defined in the *progress_args* parameter.
|
||||
You can either keep *\*args* or add every single extra argument in your function signature.
|
||||
|
||||
|
@@ -90,7 +90,7 @@ class SendDocument(BaseClient):
|
||||
total (``int``):
|
||||
The size of the file.
|
||||
|
||||
*args (``tuple``):
|
||||
*args (``tuple``, *optional*):
|
||||
Extra custom arguments as defined in the *progress_args* parameter.
|
||||
You can either keep *\*args* or add every single extra argument in your function signature.
|
||||
|
||||
|
@@ -108,7 +108,7 @@ class SendGIF(BaseClient):
|
||||
total (``int``):
|
||||
The size of the file.
|
||||
|
||||
*args (``tuple``):
|
||||
*args (``tuple``, *optional*):
|
||||
Extra custom arguments as defined in the *progress_args* parameter.
|
||||
You can either keep *\*args* or add every single extra argument in your function signature.
|
||||
|
||||
|
@@ -95,7 +95,7 @@ class SendPhoto(BaseClient):
|
||||
total (``int``):
|
||||
The size of the file.
|
||||
|
||||
*args (``tuple``):
|
||||
*args (``tuple``, *optional*):
|
||||
Extra custom arguments as defined in the *progress_args* parameter.
|
||||
You can either keep *\*args* or add every single extra argument in your function signature.
|
||||
|
||||
|
@@ -79,7 +79,7 @@ class SendSticker(BaseClient):
|
||||
total (``int``):
|
||||
The size of the file.
|
||||
|
||||
*args (``tuple``):
|
||||
*args (``tuple``, *optional*):
|
||||
Extra custom arguments as defined in the *progress_args* parameter.
|
||||
You can either keep *\*args* or add every single extra argument in your function signature.
|
||||
|
||||
|
@@ -112,7 +112,7 @@ class SendVideo(BaseClient):
|
||||
total (``int``):
|
||||
The size of the file.
|
||||
|
||||
*args (``tuple``):
|
||||
*args (``tuple``, *optional*):
|
||||
Extra custom arguments as defined in the *progress_args* parameter.
|
||||
You can either keep *\*args* or add every single extra argument in your function signature.
|
||||
|
||||
|
@@ -88,7 +88,7 @@ class SendVideoNote(BaseClient):
|
||||
total (``int``):
|
||||
The size of the file.
|
||||
|
||||
*args (``tuple``):
|
||||
*args (``tuple``, *optional*):
|
||||
Extra custom arguments as defined in the *progress_args* parameter.
|
||||
You can either keep *\*args* or add every single extra argument in your function signature.
|
||||
|
||||
|
@@ -94,7 +94,7 @@ class SendVoice(BaseClient):
|
||||
total (``int``):
|
||||
The size of the file.
|
||||
|
||||
*args (``tuple``):
|
||||
*args (``tuple``, *optional*):
|
||||
Extra custom arguments as defined in the *progress_args* parameter.
|
||||
You can either keep *\*args* or add every single extra argument in your function signature.
|
||||
|
||||
|
Reference in New Issue
Block a user