mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-08 07:54:52 +00:00
Update docstrings
This commit is contained in:
parent
ad6cfcd165
commit
a961eb88db
2 changed files with 5 additions and 3 deletions
|
|
@ -20,10 +20,11 @@
|
||||||
class InputMedia:
|
class InputMedia:
|
||||||
class Photo:
|
class Photo:
|
||||||
"""This object represents a photo to be sent inside an album.
|
"""This object represents a photo to be sent inside an album.
|
||||||
|
It is intended to be used with :obj:`pyrogram.Client.send_media_group`.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
media (:obj:`str`):
|
media (:obj:`str`):
|
||||||
File to send.
|
Photo file to send.
|
||||||
Pass a file path as string to send a photo that exists on your local machine.
|
Pass a file path as string to send a photo that exists on your local machine.
|
||||||
|
|
||||||
caption (:obj:`str`):
|
caption (:obj:`str`):
|
||||||
|
|
@ -45,10 +46,11 @@ class InputMedia:
|
||||||
|
|
||||||
class Video:
|
class Video:
|
||||||
"""This object represents a video to be sent inside an album.
|
"""This object represents a video to be sent inside an album.
|
||||||
|
It is intended to be used with :obj:`pyrogram.Client.send_media_group`.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
media (:obj:`str`):
|
media (:obj:`str`):
|
||||||
File to send.
|
Video file to send.
|
||||||
Pass a file path as string to send a video that exists on your local machine.
|
Pass a file path as string to send a video that exists on your local machine.
|
||||||
|
|
||||||
caption (:obj:`str`):
|
caption (:obj:`str`):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue