Small fixes on webpage.py
This commit is contained in:
parent
d71d9686d7
commit
0e9c7af2e5
@ -77,7 +77,7 @@ class WebPage(Object):
|
|||||||
Embedded content height.
|
Embedded content height.
|
||||||
|
|
||||||
duration (``int``, *optional*):
|
duration (``int``, *optional*):
|
||||||
Uknown at the time of writing.
|
Unknown at the time of writing.
|
||||||
|
|
||||||
author (``str``, *optional*):
|
author (``str``, *optional*):
|
||||||
Author of the webpage, eg the Twitter user for a tweet, or the author in an article.
|
Author of the webpage, eg the Twitter user for a tweet, or the author in an article.
|
||||||
@ -105,7 +105,7 @@ class WebPage(Object):
|
|||||||
embed_height: int = None,
|
embed_height: int = None,
|
||||||
duration: int = None,
|
duration: int = None,
|
||||||
author: str = None
|
author: str = None
|
||||||
) -> "pyrogram.WebPage":
|
):
|
||||||
super().__init__(client)
|
super().__init__(client)
|
||||||
|
|
||||||
self.id = id
|
self.id = id
|
||||||
|
Loading…
Reference in New Issue
Block a user