From 310810c32023f5434d0173da6660943af7cc3f0c Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Wed, 28 Aug 2019 13:55:11 +0200 Subject: [PATCH] Fix Message.click default parameters --- pyrogram/client/types/messages_and_media/message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/client/types/messages_and_media/message.py b/pyrogram/client/types/messages_and_media/message.py index 7616a6ec..0052e86d 100644 --- a/pyrogram/client/types/messages_and_media/message.py +++ b/pyrogram/client/types/messages_and_media/message.py @@ -2743,7 +2743,7 @@ class Message(Object, Update): revoke=revoke ) - def click(self, x: int or str, y: int = 0, quote: bool = None, timeout: int = 10): + def click(self, x: int or str = 0, y: int = None, quote: bool = None, timeout: int = 10): """Bound method *click* of :obj:`Message`. Use as a shortcut for clicking a button attached to the message instead of: