mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-01 21:24:50 +00:00
Make request_callback_answer try only once with a timeout of 10 seconds
This commit is contained in:
parent
69d1432251
commit
166b3646ac
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Reference in a new issue