From 88bc7b59a1ff8e5f76e8d0907e9c901d5e1dc588 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Thu, 7 Dec 2017 02:02:51 +0100 Subject: [PATCH] Fix wrong keyword argument --- pyrogram/client/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) )