diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index 8194c7d2..fbb38131 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -488,6 +488,6 @@ class Client: peer=self.resolve_peer(chat_id), id=message_id, message=text, - disable_web_page_preview=disable_web_page_preview or None + no_webpage=disable_web_page_preview or None ) )