mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Pyrofork: fix Message.copy text when web_page_preview is not None
Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
parent
f1b4d1ca49
commit
c3a67b7665
1 changed files with 1 additions and 1 deletions
|
|
@ -4159,7 +4159,7 @@ class Message(Object, Update):
|
|||
return await self._client.send_web_page(
|
||||
chat_id,
|
||||
url=self.web_page_preview.webpage.url,
|
||||
text=self.caption,
|
||||
text=self.text,
|
||||
entities=self.entities,
|
||||
parse_mode=enums.ParseMode.DISABLED,
|
||||
large_media=self.web_page_preview.force_large_media,
|
||||
|
|
|
|||
Loading…
Reference in a new issue