mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-21 17:06:36 +03:00
parent
087191e9c5
commit
946f803de7
|
@ -97,7 +97,8 @@ class UserMethods:
|
||||||
e.__class__.__name__, e)
|
e.__class__.__name__, e)
|
||||||
|
|
||||||
await asyncio.sleep(2)
|
await asyncio.sleep(2)
|
||||||
except (errors.FloodWaitError, errors.SlowModeWaitError, errors.FloodTestPhoneWaitError) as e:
|
except (errors.FloodWaitError, errors.FloodPremiumWaitError,
|
||||||
|
errors.SlowModeWaitError, errors.FloodTestPhoneWaitError) as e:
|
||||||
last_error = e
|
last_error = e
|
||||||
if utils.is_list_like(request):
|
if utils.is_list_like(request):
|
||||||
request = request[request_index]
|
request = request[request_index]
|
||||||
|
|
|
@ -179,6 +179,7 @@ FILTER_TITLE_EMPTY,400,The title field of the filter is empty
|
||||||
FIRSTNAME_INVALID,400,The first name is invalid
|
FIRSTNAME_INVALID,400,The first name is invalid
|
||||||
FLOOD_TEST_PHONE_WAIT_X,420,A wait of {seconds} seconds is required in the test servers
|
FLOOD_TEST_PHONE_WAIT_X,420,A wait of {seconds} seconds is required in the test servers
|
||||||
FLOOD_WAIT_X,420,A wait of {seconds} seconds is required
|
FLOOD_WAIT_X,420,A wait of {seconds} seconds is required
|
||||||
|
FLOOD_PREMIUM_WAIT_X,420,A wait of {seconds} seconds is required in non-premium accounts
|
||||||
FOLDER_ID_EMPTY,400,The folder you tried to delete was already empty
|
FOLDER_ID_EMPTY,400,The folder you tried to delete was already empty
|
||||||
FOLDER_ID_INVALID,400,The folder you tried to use was not valid
|
FOLDER_ID_INVALID,400,The folder you tried to use was not valid
|
||||||
FRESH_CHANGE_ADMINS_FORBIDDEN,400 406,Recently logged-in users cannot add or change admins
|
FRESH_CHANGE_ADMINS_FORBIDDEN,400 406,Recently logged-in users cannot add or change admins
|
||||||
|
|
|
Loading…
Reference in New Issue
Block a user