mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-05 16:55:20 +00:00
Make request_callback_answer try only once with a timeout of 10 seconds
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
Reference in New Issue
Block a user