mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-25 19:03:46 +03:00
Add more errors, update to v0.9.1
This commit is contained in:
parent
9b5d1b02e0
commit
fabf806979
|
@ -142,6 +142,10 @@ class RPCError(Exception):
|
||||||
'CHANNEL_INVALID':
|
'CHANNEL_INVALID':
|
||||||
'Invalid channel object. Make sure to pass the right types.',
|
'Invalid channel object. Make sure to pass the right types.',
|
||||||
'MESSAGE_ID_INVALID': 'The specified message ID is invalid.',
|
'MESSAGE_ID_INVALID': 'The specified message ID is invalid.',
|
||||||
|
'CONNECTION_LAYER_INVALID':
|
||||||
|
'The very first request must always be InvokeWithLayerRequest.',
|
||||||
|
'INPUT_METHOD_INVALID':
|
||||||
|
'The invoked method does not exist anymore or has never existed.',
|
||||||
|
|
||||||
# 401 UNAUTHORIZED
|
# 401 UNAUTHORIZED
|
||||||
'AUTH_KEY_UNREGISTERED': 'The key is not registered in the system.',
|
'AUTH_KEY_UNREGISTERED': 'The key is not registered in the system.',
|
||||||
|
|
|
@ -39,7 +39,7 @@ from .utils import (find_user_or_chat, get_input_peer,
|
||||||
class TelegramClient:
|
class TelegramClient:
|
||||||
|
|
||||||
# Current TelegramClient version
|
# Current TelegramClient version
|
||||||
__version__ = '0.9'
|
__version__ = '0.9.1'
|
||||||
|
|
||||||
# region Initialization
|
# region Initialization
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user