mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-25 19:38:31 +00:00
Fix Message.click default parameters
This commit is contained in:
parent
b74a8eba5e
commit
310810c320
@ -2743,7 +2743,7 @@ class Message(Object, Update):
|
|||||||
revoke=revoke
|
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`.
|
"""Bound method *click* of :obj:`Message`.
|
||||||
|
|
||||||
Use as a shortcut for clicking a button attached to the message instead of:
|
Use as a shortcut for clicking a button attached to the message instead of:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user