mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 20:14:51 +00:00
Pyrofork: fix docs
Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
parent
7a7225b08f
commit
16bc4a4178
2 changed files with 5 additions and 4 deletions
|
|
@ -1479,8 +1479,7 @@ class Story(Object, Update):
|
|||
New story video.
|
||||
Pass a file_id as string to send a video that exists on the Telegram servers,
|
||||
pass an HTTP URL as a string for Telegram to get a video from the Internet,
|
||||
pass a file path as string to upload a
|
||||
channel=self.sender_chat.id if self.sender_chat else None,new video that exists on your local machine, or
|
||||
pass a file path as string to upload a new video that exists on your local machine, or
|
||||
pass a binary file-like object with its attribute ".name" set for in-memory uploads.
|
||||
|
||||
privacy (:obj:`~pyrogram.enums.StoriesPrivacyRules`, *optional*):
|
||||
|
|
@ -1535,7 +1534,9 @@ class Story(Object, Update):
|
|||
Use as a shortcut for:
|
||||
|
||||
.. code-block:: python
|
||||
channel=self.sender_chat.id if self.sender_chat else None,
|
||||
|
||||
await c.edit_story(
|
||||
channel=chat_id,
|
||||
caption="hello"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ class WebPagePreview(Object):
|
|||
"""A web page preview.
|
||||
|
||||
Parameters:
|
||||
webpage (:obj:`~pyrogram.types.WebPageEmpty` | :obj:`~pyrogram.types.WebPage):
|
||||
webpage (:obj:`~pyrogram.types.WebPageEmpty` | :obj:`~pyrogram.types.WebPage`):
|
||||
Web Page Information.
|
||||
|
||||
force_large_media (``bool``, *optional*):
|
||||
|
|
|
|||
Loading…
Reference in a new issue