mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 13:27:47 +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),
|
peer=self.resolve_peer(chat_id),
|
||||||
msg_id=message_id,
|
msg_id=message_id,
|
||||||
data=callback_data.encode()
|
data=callback_data.encode()
|
||||||
)
|
),
|
||||||
|
retries=0,
|
||||||
|
timeout=10
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user