1
0
mirror of https://github.com/danog/telerpc.git synced 2024-11-26 20:14:48 +01:00
This commit is contained in:
Daniil Gentili 2024-06-15 19:05:33 +02:00
parent ce8f39360e
commit bc26d28ba3

View File

@ -15,6 +15,63 @@ final class Main
'SESSION_PASSWORD_NEEDED' => 401, 'SESSION_PASSWORD_NEEDED' => 401,
'AUTH_KEY_DUPLICATED' => 406, 'AUTH_KEY_DUPLICATED' => 406,
'FILE_MIGRATE_%d' => 303,
'NETWORK_MIGRATE_%d' => 303,
'PHONE_MIGRATE_%d' => 303,
'STATS_MIGRATE_%d' => 303,
'USER_MIGRATE_%d' => 303,
'BASE_PORT_LOC_INVALID' => 400,
'BOT_GAMES_DISABLED' => 400,
'BOT_METHOD_INVALID' => 400,
'BOT_POLLS_DISABLED' => 400,
'CHANNEL_ADD_INVALID' => 400,
'CHANNEL_BANNED' => 400,
'CONNECTION_DEVICE_MODEL_EMPTY' => 400,
'CONNECTION_LANG_PACK_INVALID' => 400,
'CONNECTION_NOT_INITED' => 400,
'CONNECTION_SYSTEM_EMPTY' => 400,
'CONNECTION_SYSTEM_LANG_CODE_EMPTY' => 400,
'EMAIL_UNCONFIRMED_%d' => 400,
'FIELD_NAME_EMPTY' => 400,
'FIELD_NAME_INVALID' => 400,
'FILE_MIGRATE_%d' => 400,
'FILE_PART_%d_MISSING' => 400,
'GROUP_CALL_INVALID' => 400,
'INPUT_CONSTRUCTOR_INVALID' => 400,
'INPUT_FETCH_ERROR' => 400,
'INPUT_FETCH_FAIL' => 400,
'INPUT_LAYER_INVALID' => 400,
'INPUT_METHOD_INVALID' => 400,
'INPUT_REQUEST_TOO_LONG' => 400,
'PASSWORD_TOO_FRESH_%d' => 400,
'PEER_FLOOD' => 400,
'PHOTO_THUMB_URL_INVALID' => 400,
'POLL_VOTE_REQUIRED' => 400,
'REFLECTOR_NOT_AVAILABLE' => 400,
'REPLY_MARKUP_GAME_EMPTY' => 400,
'SESSION_TOO_FRESH_%d' => 400,
'SHORTNAME_OCCUPY_FAILED' => 400,
'STICKERSET_NOT_MODIFIED' => 400,
'TMP_PASSWORD_INVALID' => 400,
'TYPE_CONSTRUCTOR_INVALID' => 400,
'VOLUME_LOC_NOT_FOUND' => 400,
'WEBDOCUMENT_URL_EMPTY' => 400,
'ACTIVE_USER_REQUIRED' => 401,
'AUTH_KEY_INVALID' => 401,
'AUTH_KEY_PERM_EMPTY' => 401,
'AUTH_KEY_UNREGISTERED' => 401,
'SESSION_EXPIRED' => 401,
'SESSION_PASSWORD_NEEDED' => 401,
'SESSION_REVOKED' => 401,
'USER_DEACTIVATED' => 401,
'USER_DEACTIVATED_BAN' => 401,
'CHAT_FORBIDDEN' => 403,
'AUTH_KEY_DUPLICATED' => 406,
]; ];
private ?\PDO $pdo = null; private ?\PDO $pdo = null;