mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-02-27 08:50:41 +03:00
Add errors related to #103
This commit is contained in:
parent
7adb4f09d6
commit
5df4716164
|
@ -178,6 +178,10 @@ class RPCError(Exception):
|
||||||
'The method is unavailable for temporary authorization key, not bound to permanent.',
|
'The method is unavailable for temporary authorization key, not bound to permanent.',
|
||||||
'SESSION_PASSWORD_NEEDED':
|
'SESSION_PASSWORD_NEEDED':
|
||||||
'Two-steps verification is enabled and a password is required.',
|
'Two-steps verification is enabled and a password is required.',
|
||||||
|
'USER_ALREADY_PARTICIPANT':
|
||||||
|
'The authenticated user is already a participant of the chat.',
|
||||||
|
'INVITE_HASH_EXPIRED':
|
||||||
|
'The chat the user tried to join has expired and is not valid anymore.',
|
||||||
|
|
||||||
# 420 FLOOD
|
# 420 FLOOD
|
||||||
'FLOOD_WAIT_(\d+)': 'A wait of {} seconds is required.'
|
'FLOOD_WAIT_(\d+)': 'A wait of {} seconds is required.'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user