Fix Message.click default parameters

This commit is contained in:
Dan 2019-08-28 13:55:11 +02:00 committed by GitHub
parent b74a8eba5e
commit 310810c320
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: