mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 21:07:59 +00:00
Make request_callback_answer try only once with a timeout of 10 seconds
This commit is contained in:
parent
69d1432251
commit
166b3646ac
@ -47,5 +47,7 @@ class RequestCallbackAnswer(BaseClient):
|
||||
peer=self.resolve_peer(chat_id),
|
||||
msg_id=message_id,
|
||||
data=callback_data.encode()
|
||||
)
|
||||
),
|
||||
retries=0,
|
||||
timeout=10
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user