mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-30 17:43:32 +00:00
Add more RPC errors
This commit is contained in:
parent
dd32854db4
commit
aef0cce8d9
@ -290,6 +290,8 @@ STICKER_ID_INVALID The provided sticker id is invalid
|
|||||||
STICKER_INVALID The provided sticker is invalid
|
STICKER_INVALID The provided sticker is invalid
|
||||||
STICKER_PNG_DIMENSIONS The sticker png dimensions are invalid
|
STICKER_PNG_DIMENSIONS The sticker png dimensions are invalid
|
||||||
STICKER_PNG_NOPNG Stickers must be png files but the provided image was not a png
|
STICKER_PNG_NOPNG Stickers must be png files but the provided image was not a png
|
||||||
|
STICKER_TGS_NOTGS A tgs sticker file was expected, but something else was provided
|
||||||
|
STICKER_THUMB_PNG_NOPNG A png sticker thumbnail file was expected, but something else was provided
|
||||||
TAKEOUT_INVALID The takeout id is invalid
|
TAKEOUT_INVALID The takeout id is invalid
|
||||||
TAKEOUT_REQUIRED The method must be invoked inside a takeout session
|
TAKEOUT_REQUIRED The method must be invoked inside a takeout session
|
||||||
TEMP_AUTH_KEY_EMPTY The temporary auth key provided is empty
|
TEMP_AUTH_KEY_EMPTY The temporary auth key provided is empty
|
||||||
@ -298,6 +300,7 @@ THEME_FORMAT_INVALID Invalid theme format provided
|
|||||||
THEME_INVALID Invalid theme provided
|
THEME_INVALID Invalid theme provided
|
||||||
THEME_MIME_INVALID You cannot create this theme because the mime-type is invalid
|
THEME_MIME_INVALID You cannot create this theme because the mime-type is invalid
|
||||||
TMP_PASSWORD_DISABLED The temporary password is disabled
|
TMP_PASSWORD_DISABLED The temporary password is disabled
|
||||||
|
TMP_PASSWORD_INVALID The temporary password is invalid
|
||||||
TOKEN_INVALID The provided token is invalid
|
TOKEN_INVALID The provided token is invalid
|
||||||
TTL_DAYS_INVALID The provided TTL days is invalid
|
TTL_DAYS_INVALID The provided TTL days is invalid
|
||||||
TTL_MEDIA_INVALID The media does not support self-destruction
|
TTL_MEDIA_INVALID The media does not support self-destruction
|
||||||
@ -310,6 +313,7 @@ USERNAME_INVALID The username is invalid
|
|||||||
USERNAME_NOT_MODIFIED The username was not modified because you tried to edit it using the same one
|
USERNAME_NOT_MODIFIED The username was not modified because you tried to edit it using the same one
|
||||||
USERNAME_NOT_OCCUPIED The username is not occupied by anyone
|
USERNAME_NOT_OCCUPIED The username is not occupied by anyone
|
||||||
USERNAME_OCCUPIED The username is already in use by someone else
|
USERNAME_OCCUPIED The username is already in use by someone else
|
||||||
|
USERPIC_UPLOAD_REQUIRED You are required to upload a profile picture for this action
|
||||||
USERS_TOO_FEW Not enough users (to create a chat, for example)
|
USERS_TOO_FEW Not enough users (to create a chat, for example)
|
||||||
USERS_TOO_MUCH The maximum number of users has been exceeded (to create a chat, for example)
|
USERS_TOO_MUCH The maximum number of users has been exceeded (to create a chat, for example)
|
||||||
USER_ADMIN_INVALID The action requires admin privileges. Probably you tried to edit admin privileges on someone you don't have rights to
|
USER_ADMIN_INVALID The action requires admin privileges. Probably you tried to edit admin privileges on someone you don't have rights to
|
||||||
@ -333,6 +337,7 @@ VIDEO_FILE_INVALID The video file is invalid
|
|||||||
VOLUME_LOC_NOT_FOUND The volume location can't be found
|
VOLUME_LOC_NOT_FOUND The volume location can't be found
|
||||||
WALLPAPER_FILE_INVALID The provided file cannot be used as a wallpaper
|
WALLPAPER_FILE_INVALID The provided file cannot be used as a wallpaper
|
||||||
WALLPAPER_INVALID The input wallpaper was not valid
|
WALLPAPER_INVALID The input wallpaper was not valid
|
||||||
|
WALLPAPER_MIME_INVALID The wallpaper mime type is invalid
|
||||||
WC_CONVERT_URL_INVALID WC convert URL invalid
|
WC_CONVERT_URL_INVALID WC convert URL invalid
|
||||||
WEBDOCUMENT_INVALID The web document is invalid
|
WEBDOCUMENT_INVALID The web document is invalid
|
||||||
WEBDOCUMENT_MIME_INVALID The web document mime type is invalid
|
WEBDOCUMENT_MIME_INVALID The web document mime type is invalid
|
||||||
|
|
@ -9,6 +9,7 @@ CHP_CALL_FAIL Telegram is having internal problems. Please try again later
|
|||||||
ENCRYPTION_OCCUPY_ADMIN_FAILED Failed occupying memory for admin info due to Telegram having internal problems. Please try again later
|
ENCRYPTION_OCCUPY_ADMIN_FAILED Failed occupying memory for admin info due to Telegram having internal problems. Please try again later
|
||||||
ENCRYPTION_OCCUPY_FAILED Internal server error while accepting secret chat
|
ENCRYPTION_OCCUPY_FAILED Internal server error while accepting secret chat
|
||||||
FOLDER_DEAC_AUTOFIX_ALL Telegram is having internal problems. Please try again later
|
FOLDER_DEAC_AUTOFIX_ALL Telegram is having internal problems. Please try again later
|
||||||
|
GROUPCALL_ADD_PARTICIPANTS_FAILED Failure while adding voice chat member due to Telegram having internal problems. Please try again later
|
||||||
GROUPED_ID_OCCUPY_FAILED Telegram is having internal problems. Please try again later
|
GROUPED_ID_OCCUPY_FAILED Telegram is having internal problems. Please try again later
|
||||||
HISTORY_GET_FAILED The chat history couldn't be retrieved due to Telegram having internal problems. Please try again later
|
HISTORY_GET_FAILED The chat history couldn't be retrieved due to Telegram having internal problems. Please try again later
|
||||||
IMAGE_ENGINE_DOWN Image engine down due to Telegram having internal problems. Please try again later
|
IMAGE_ENGINE_DOWN Image engine down due to Telegram having internal problems. Please try again later
|
||||||
@ -23,8 +24,10 @@ MSG_RANGE_UNSYNC Message range unsynchronized due to Telegram having internal pr
|
|||||||
MT_SEND_QUEUE_TOO_LONG The MTProto send queue has grown too much due to Telegram having internal problems. Please try again later
|
MT_SEND_QUEUE_TOO_LONG The MTProto send queue has grown too much due to Telegram having internal problems. Please try again later
|
||||||
NEED_CHAT_INVALID The provided chat is invalid
|
NEED_CHAT_INVALID The provided chat is invalid
|
||||||
NEED_MEMBER_INVALID The provided member is invalid or does not exist
|
NEED_MEMBER_INVALID The provided member is invalid or does not exist
|
||||||
|
No workers running The Telegram server is restarting its workers. Try again later.
|
||||||
PARTICIPANT_CALL_FAILED Failure while making call due to Telegram having internal problems. Please try again later
|
PARTICIPANT_CALL_FAILED Failure while making call due to Telegram having internal problems. Please try again later
|
||||||
PERSISTENT_TIMESTAMP_OUTDATED The persistent timestamp is outdated due to Telegram having internal problems. Please try again later
|
PERSISTENT_TIMESTAMP_OUTDATED The persistent timestamp is outdated due to Telegram having internal problems. Please try again later
|
||||||
|
PHOTO_CREATE_FAILED The creation of the photo failed due to Telegram having internal problems. Please try again later
|
||||||
POSTPONED_TIMEOUT Telegram is having internal problems. Please try again later
|
POSTPONED_TIMEOUT Telegram is having internal problems. Please try again later
|
||||||
PTS_CHANGE_EMPTY No PTS change
|
PTS_CHANGE_EMPTY No PTS change
|
||||||
RANDOM_ID_DUPLICATE You provided a random ID that was already used
|
RANDOM_ID_DUPLICATE You provided a random ID that was already used
|
||||||
@ -40,5 +43,3 @@ UPLOAD_NO_VOLUME Telegram is having internal problems. Please try again later
|
|||||||
VOLUME_LOC_NOT_FOUND Telegram is having internal problems. Please try again later
|
VOLUME_LOC_NOT_FOUND Telegram is having internal problems. Please try again later
|
||||||
WORKER_BUSY_TOO_LONG_RETRY Server workers are too busy right now due to Telegram having internal problems. Please try again later
|
WORKER_BUSY_TOO_LONG_RETRY Server workers are too busy right now due to Telegram having internal problems. Please try again later
|
||||||
WP_ID_GENERATE_FAILED Telegram is having internal problems. Please try again later
|
WP_ID_GENERATE_FAILED Telegram is having internal problems. Please try again later
|
||||||
GROUPCALL_ADD_PARTICIPANTS_FAILED Failure while adding voice chat member due to Telegram having internal problems. Please try again later
|
|
||||||
No workers running The Telegram server is restarting its workers. Try again later.
|
|
|
Loading…
Reference in New Issue
Block a user