publicstaticarray$descriptions=['RPC_MCGET_FAIL'=>'Telegram is having internal issues, please try again later.','RPC_CALL_FAIL'=>'Telegram is having internal issues, please try again later.','USER_PRIVACY_RESTRICTED'=>"The user's privacy settings do not allow you to do this",'CHANNEL_PRIVATE'=>"You haven't joined this channel/supergroup",'USER_IS_BOT'=>"Bots can't send messages to other bots",'BOT_METHOD_INVALID'=>'This method cannot be run by a bot','PHONE_CODE_EXPIRED'=>'The phone code you provided has expired, this may happen if it was sent to any chat on telegram (if the code is sent through a telegram chat (not the official account) to avoid it append or prepend to the code some chars)','USERNAME_INVALID'=>'The provided username is not valid','ACCESS_TOKEN_INVALID'=>'The provided token is not valid','ACTIVE_USER_REQUIRED'=>'The method is only available to already activated users','FIRSTNAME_INVALID'=>'The first name is invalid','LASTNAME_INVALID'=>'The last name is invalid','PHONE_NUMBER_INVALID'=>'The phone number is invalid','PHONE_CODE_HASH_EMPTY'=>'phone_code_hash is missing','PHONE_CODE_EMPTY'=>'phone_code is missing','API_ID_INVALID'=>'The api_id/api_hash combination is invalid','PHONE_NUMBER_OCCUPIED'=>'The phone number is already in use','PHONE_NUMBER_UNOCCUPIED'=>'The phone number is not yet being used','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)','TYPE_CONSTRUCTOR_INVALID'=>'The type constructor is invalid','FILE_PART_INVALID'=>'The file part number is invalid','FILE_PARTS_INVALID'=>'The number of file parts is invalid','MD5_CHECKSUM_INVALID'=>'The MD5 checksums do not match','PHOTO_INVALID_DIMENSIONS'=>'The photo dimensions are invalid','FIELD_NAME_INVALID'=>'The field with the name FIELD_NAME is invalid','FIELD_NAME_EMPTY'=>'The field with the name FIELD_NAME is missing','MSG_WAIT_FAILED'=>'A waiting call returned an error','USERNAME_NOT_OCCUPIED'=>'The provided username is not occupied','PHONE_NUMBER_BANNED'=>'The provided phone number is banned from telegram','AUTH_KEY_UNREGISTERED'=>'The authorization key has expired','INVITE_HASH_EXPIRED'=>'The invite link has expired','USER_DEACTIVATED'=>'The user was deactivated','USER_ALREADY_PARTICIPANT'=>'The user is already in the group','MESSAGE_ID_INVALID'=>'The provided message id is invalid','PEER_ID_INVALID'=>'The provided peer id is invalid','CHAT_ID_INVALID'=>'The provided chat id is invalid','MESSAGE_DELETE_FORBIDDEN'=>"You can't delete one of the messages you tried to delete, most likely because it is a service message.",'CHAT_ADMIN_REQUIRED'=>'You must be an admin in this chat to do this',-429=>'Too many requests','PEER_FLOOD'=>"You are spamreported, you can't do this"];
'ADMIN_RANK_INVALID'=>newself($rpc,'The specified admin rank is invalid.',$code,$caller,$previous),
'ADMIN_RIGHTS_EMPTY'=>newself($rpc,'The chatAdminRights constructor passed in keyboardButtonRequestPeer.peer_type.user_admin_rights has no rights set (i.e. flags is 0).',$code,$caller,$previous),
'ADMINS_TOO_MUCH'=>newself($rpc,'There are too many admins.',$code,$caller,$previous),
'ALBUM_PHOTOS_TOO_MANY'=>newself($rpc,'You have uploaded too many profile photos, delete some before retrying.',$code,$caller,$previous),
'API_ID_INVALID'=>newself($rpc,'API ID invalid.',$code,$caller,$previous),
'API_ID_PUBLISHED_FLOOD'=>newself($rpc,'This API id was published somewhere, you can\'t use it now.',$code,$caller,$previous),
'ARTICLE_TITLE_EMPTY'=>newself($rpc,'The title of the article is empty.',$code,$caller,$previous),
'AUDIO_CONTENT_URL_EMPTY'=>newself($rpc,'The remote URL specified in the content field is empty.',$code,$caller,$previous),
'AUDIO_TITLE_EMPTY'=>newself($rpc,'An empty audio title was provided.',$code,$caller,$previous),
'AUTH_BYTES_INVALID'=>newself($rpc,'The provided authorization is invalid.',$code,$caller,$previous),
'AUTH_TOKEN_ALREADY_ACCEPTED'=>newself($rpc,'The specified auth token was already accepted.',$code,$caller,$previous),
'AUTH_TOKEN_EXCEPTION'=>newself($rpc,'An error occurred while importing the auth token.',$code,$caller,$previous),
'AUTH_TOKEN_EXPIRED'=>newself($rpc,'The authorization token has expired.',$code,$caller,$previous),
'AUTH_TOKEN_INVALID'=>newself($rpc,'The specified auth token is invalid.',$code,$caller,$previous),
'AUTH_TOKEN_INVALIDX'=>newself($rpc,'The specified auth token is invalid.',$code,$caller,$previous),
'AUTOARCHIVE_NOT_AVAILABLE'=>newself($rpc,'The autoarchive setting is not available at this time: please check the value of the [autoarchive_setting_available field in client config »](https://core.telegram.org/api/config#client-configuration) before calling this method.',$code,$caller,$previous),
'BANK_CARD_NUMBER_INVALID'=>newself($rpc,'The specified card number is invalid.',$code,$caller,$previous),
'BANNED_RIGHTS_INVALID'=>newself($rpc,'You provided some invalid flags in the banned rights.',$code,$caller,$previous),
'BOOST_NOT_MODIFIED'=>newself($rpc,'You\'re already [boosting](https://core.telegram.org/api/boost) the specified channel.',$code,$caller,$previous),
'BOOST_PEER_INVALID'=>newself($rpc,'The specified `boost_peer` is invalid.',$code,$caller,$previous),
'BOOSTS_EMPTY'=>newself($rpc,'No boost slots were specified.',$code,$caller,$previous),
'BOOSTS_REQUIRED'=>newself($rpc,'The specified channel must first be [boosted by its users](https://core.telegram.org/api/boost) in order to perform this action.',$code,$caller,$previous),
'BOT_GROUPS_BLOCKED'=>newself($rpc,'This bot can\'t be added to groups.',$code,$caller,$previous),
'BOT_INLINE_DISABLED'=>newself($rpc,'This bot can\'t be used in inline mode.',$code,$caller,$previous),
'BOT_INVALID'=>newself($rpc,'This is not a valid bot.',$code,$caller,$previous),
'BOT_MISSING'=>newself($rpc,'Only bots can call this method, please use [@stickers](https://t.me/stickers) if you\'re a user.',$code,$caller,$previous),
'BOT_ONESIDE_NOT_AVAIL'=>newself($rpc,'Bots can\'t pin messages in PM just for themselves.',$code,$caller,$previous),
'BOT_WEBVIEW_DISABLED'=>newself($rpc,'A webview cannot be opened in the specified conditions: emitted for example if `from_bot_menu` or `url` are set and `peer` is not the chat with the bot.',$code,$caller,$previous),
'BOTS_TOO_MUCH'=>newself($rpc,'There are too many bots in this chat/channel.',$code,$caller,$previous),
'BROADCAST_ID_INVALID'=>newself($rpc,'Broadcast ID invalid.',$code,$caller,$previous),
'BROADCAST_REQUIRED'=>newself($rpc,'This method can only be called on a channel, please use stats.getMegagroupStats for supergroups.',$code,$caller,$previous),
'BUTTON_DATA_INVALID'=>newself($rpc,'The data of one or more of the buttons you provided is invalid.',$code,$caller,$previous),
'BUTTON_TEXT_INVALID'=>newself($rpc,'The specified button text is invalid.',$code,$caller,$previous),
'BUTTON_TYPE_INVALID'=>newself($rpc,'The type of one or more of the buttons you provided is invalid.',$code,$caller,$previous),
'CHANNEL_TOO_BIG'=>newself($rpc,'This channel has too many participants (>1000) to be deleted.',$code,$caller,$previous),
'CHANNEL_TOO_LARGE'=>newself($rpc,'Channel is too large to be deleted; this error is issued when trying to delete channels with more than 1000 members (subject to change).',$code,$caller,$previous),
'CHANNELS_ADMIN_LOCATED_TOO_MUCH'=>newself($rpc,'The user has reached the limit of public geogroups.',$code,$caller,$previous),
'CHANNELS_ADMIN_PUBLIC_TOO_MUCH'=>newself($rpc,'You\'re admin of too many public channels, make some channels private to change the username of this channel.',$code,$caller,$previous),
'CHANNELS_TOO_MUCH'=>newself($rpc,'You have joined too many channels/supergroups.',$code,$caller,$previous),
'CHAT_ABOUT_NOT_MODIFIED'=>newself($rpc,'About text has not changed.',$code,$caller,$previous),
'CHAT_ABOUT_TOO_LONG'=>newself($rpc,'Chat about too long.',$code,$caller,$previous),
'CHAT_INVITE_PERMANENT'=>newself($rpc,'You can\'t set an expiration date on permanent invite links.',$code,$caller,$previous),
'CHAT_LINK_EXISTS'=>newself($rpc,'The chat is public, you can\'t hide the history to new users.',$code,$caller,$previous),
'CHAT_NOT_MODIFIED'=>newself($rpc,'No changes were made to chat information because the new information you passed is identical to the current information.',$code,$caller,$previous),
'CHAT_PUBLIC_REQUIRED'=>newself($rpc,'You can only enable join requests in public groups.',$code,$caller,$previous),
'CHAT_REVOKE_DATE_UNSUPPORTED'=>newself($rpc,'`min_date` and `max_date` are not available for using with non-user peers.',$code,$caller,$previous),
'CHAT_SEND_INLINE_FORBIDDEN'=>newself($rpc,'You can\'t send inline messages in this group.',$code,$caller,$previous),
'CHAT_TITLE_EMPTY'=>newself($rpc,'No chat title provided.',$code,$caller,$previous),
'CHAT_TOO_BIG'=>newself($rpc,'This method is not available for groups with more than `chat_read_mark_size_threshold` members, [see client configuration »](https://core.telegram.org/api/config#client-configuration).',$code,$caller,$previous),
'EMAIL_INVALID'=>newself($rpc,'The specified email is invalid.',$code,$caller,$previous),
'EMAIL_NOT_SETUP'=>newself($rpc,'In order to change the login email with emailVerifyPurposeLoginChange, an existing login email must already be set using emailVerifyPurposeLoginSetup.',$code,$caller,$previous),
'ENCRYPTION_ID_INVALID'=>newself($rpc,'The provided secret chat ID is invalid.',$code,$caller,$previous),
'ENTITIES_TOO_LONG'=>newself($rpc,'You provided too many styled message entities.',$code,$caller,$previous),
'ENTITY_BOUNDS_INVALID'=>newself($rpc,'A specified [entity offset or length](/api/entities#entity-length) is invalid, see [here »](/api/entities#entity-length) for info on how to properly compute the entity offset/length.',$code,$caller,$previous),
'ENTITY_MENTION_USER_INVALID'=>newself($rpc,'You mentioned an invalid user.',$code,$caller,$previous),
'ERROR_TEXT_EMPTY'=>newself($rpc,'The provided error message is empty.',$code,$caller,$previous),
'EXPIRE_DATE_INVALID'=>newself($rpc,'The specified expiration date is invalid.',$code,$caller,$previous),
'EXPORT_CARD_INVALID'=>newself($rpc,'Provided card is invalid.',$code,$caller,$previous),
'FORUM_ENABLED'=>newself($rpc,'You can\'t execute the specified action because the group is a [forum](https://core.telegram.org/api/forum), disable forum functionality to continue.',$code,$caller,$previous),
'FRESH_CHANGE_ADMINS_FORBIDDEN'=>newself($rpc,'You were just elected admin, you can\'t add or modify other admins yet.',$code,$caller,$previous),
'INVITE_FORBIDDEN_WITH_JOINAS'=>newself($rpc,'If the user has anonymously joined a group call as a channel, they can\'t invite other users to the group call because that would cause deanonymization, because the invite would be sent using the original user ID, not the anonymized channel ID.',$code,$caller,$previous),
'INVITE_HASH_EMPTY'=>newself($rpc,'The invite hash is empty.',$code,$caller,$previous),
'INVITE_HASH_EXPIRED'=>newself($rpc,'The invite link has expired.',$code,$caller,$previous),
'INVITE_HASH_INVALID'=>newself($rpc,'The invite hash is invalid.',$code,$caller,$previous),
'INVITE_REQUEST_SENT'=>newself($rpc,'You have successfully requested to join this chat or channel.',$code,$caller,$previous),
'INVITE_REVOKED_MISSING'=>newself($rpc,'The specified invite link was already revoked or is invalid.',$code,$caller,$previous),
'INVITE_SLUG_EMPTY'=>newself($rpc,'The specified invite slug is empty.',$code,$caller,$previous),
'INVITE_SLUG_EXPIRED'=>newself($rpc,'The specified chat folder link has expired.',$code,$caller,$previous),
'INVITES_TOO_MUCH'=>newself($rpc,'The maximum number of per-folder invites specified by the `chatlist_invites_limit_default`/`chatlist_invites_limit_premium` [client configuration parameters »](/api/config#chatlist-invites-limit-default) was reached.',$code,$caller,$previous),
'INVOICE_PAYLOAD_INVALID'=>newself($rpc,'The specified invoice payload is invalid.',$code,$caller,$previous),
'JOIN_AS_PEER_INVALID'=>newself($rpc,'The specified peer cannot be used to join a group call.',$code,$caller,$previous),
'LANG_CODE_INVALID'=>newself($rpc,'The specified language code is invalid.',$code,$caller,$previous),
'LANG_CODE_NOT_SUPPORTED'=>newself($rpc,'The specified language code is not supported.',$code,$caller,$previous),
'LANG_PACK_INVALID'=>newself($rpc,'The provided language pack is invalid.',$code,$caller,$previous),
'LASTNAME_INVALID'=>newself($rpc,'The last name is invalid.',$code,$caller,$previous),
'LIMIT_INVALID'=>newself($rpc,'The provided limit is invalid.',$code,$caller,$previous),
'LINK_NOT_MODIFIED'=>newself($rpc,'Discussion link not modified.',$code,$caller,$previous),
'LOCATION_INVALID'=>newself($rpc,'The provided location is invalid.',$code,$caller,$previous),
'MAX_DATE_INVALID'=>newself($rpc,'The specified maximum date is invalid.',$code,$caller,$previous),
'MAX_ID_INVALID'=>newself($rpc,'The provided max ID is invalid.',$code,$caller,$previous),
'MAX_QTS_INVALID'=>newself($rpc,'The specified max_qts is invalid.',$code,$caller,$previous),
'MD5_CHECKSUM_INVALID'=>newself($rpc,'The MD5 checksums do not match.',$code,$caller,$previous),
'MEDIA_CAPTION_TOO_LONG'=>newself($rpc,'The caption is too long.',$code,$caller,$previous),
'MEDIA_EMPTY'=>newself($rpc,'The provided media object is invalid.',$code,$caller,$previous),
'MEDIA_FILE_INVALID'=>newself($rpc,'The specified media file is invalid.',$code,$caller,$previous),
'MEDIA_GROUPED_INVALID'=>newself($rpc,'You tried to send media of different types in an album.',$code,$caller,$previous),
'MEDIA_NEW_INVALID'=>newself($rpc,'The new media is invalid.',$code,$caller,$previous),
'MEDIA_PREV_INVALID'=>newself($rpc,'Previous media invalid.',$code,$caller,$previous),
'MEDIA_TTL_INVALID'=>newself($rpc,'The specified media TTL is invalid.',$code,$caller,$previous),
'MEDIA_TYPE_INVALID'=>newself($rpc,'The specified media type cannot be used in stories.',$code,$caller,$previous),
'MEDIA_VIDEO_STORY_MISSING'=>newself($rpc,'A non-story video cannot be repubblished as a story (emitted when trying to resend a non-story video as a story using inputDocument).',$code,$caller,$previous),
'MEGAGROUP_GEO_REQUIRED'=>newself($rpc,'This method can only be invoked on a geogroup.',$code,$caller,$previous),
'MEGAGROUP_PREHISTORY_HIDDEN'=>newself($rpc,'Group with hidden history for new members can\'t be set as discussion groups.',$code,$caller,$previous),
'MEGAGROUP_REQUIRED'=>newself($rpc,'You can only use this method on a supergroup.',$code,$caller,$previous),
'MESSAGE_EDIT_TIME_EXPIRED'=>newself($rpc,'You can\'t edit this message anymore, too much time has passed since its creation.',$code,$caller,$previous),
'MESSAGE_EMPTY'=>newself($rpc,'The provided message is empty.',$code,$caller,$previous),
'MESSAGE_ID_INVALID'=>newself($rpc,'The provided message id is invalid.',$code,$caller,$previous),
'MESSAGE_IDS_EMPTY'=>newself($rpc,'No message ids were provided.',$code,$caller,$previous),
'MESSAGE_NOT_MODIFIED'=>newself($rpc,'The provided message data is identical to the previous message data, the message wasn\'t modified.',$code,$caller,$previous),
'MSG_TOO_OLD'=>newself($rpc,'[`chat_read_mark_expire_period` seconds](https://core.telegram.org/api/config#chat-read-mark-expire-period) have passed since the message was sent, read receipts were deleted.',$code,$caller,$previous),
'MSG_WAIT_FAILED'=>newself($rpc,'A waiting call returned an error.',$code,$caller,$previous),
'MULTI_MEDIA_TOO_LONG'=>newself($rpc,'Too many media files for album.',$code,$caller,$previous),
'NEW_SALT_INVALID'=>newself($rpc,'The new salt is invalid.',$code,$caller,$previous),
'NEW_SETTINGS_EMPTY'=>newself($rpc,'No password is set on the current account, and no new password was specified in `new_settings`.',$code,$caller,$previous),
'NEW_SETTINGS_INVALID'=>newself($rpc,'The new password settings are invalid.',$code,$caller,$previous),
'NEXT_OFFSET_INVALID'=>newself($rpc,'The specified offset is longer than 64 bytes.',$code,$caller,$previous),
'OPTIONS_TOO_MUCH'=>newself($rpc,'Too many options provided.',$code,$caller,$previous),
'ORDER_INVALID'=>newself($rpc,'The specified username order is invalid.',$code,$caller,$previous),
'PACK_SHORT_NAME_INVALID'=>newself($rpc,'Short pack name invalid.',$code,$caller,$previous),
'PACK_SHORT_NAME_OCCUPIED'=>newself($rpc,'A stickerpack with this name already exists.',$code,$caller,$previous),
'PACK_TITLE_INVALID'=>newself($rpc,'The stickerpack title is invalid.',$code,$caller,$previous),
'PARTICIPANT_ID_INVALID'=>newself($rpc,'The specified participant ID is invalid.',$code,$caller,$previous),
'PARTICIPANT_JOIN_MISSING'=>newself($rpc,'Trying to enable a presentation, when the user hasn\'t joined the Video Chat with [phone.joinGroupCall](https://core.telegram.org/method/phone.joinGroupCall).',$code,$caller,$previous),
'PARTICIPANT_VERSION_OUTDATED'=>newself($rpc,'The other participant does not use an up to date telegram client with support for calls.',$code,$caller,$previous),
'PASSWORD_MISSING'=>newself($rpc,'You must enable 2FA in order to transfer ownership of a channel.',$code,$caller,$previous),
'PASSWORD_RECOVERY_EXPIRED'=>newself($rpc,'The recovery code has expired.',$code,$caller,$previous),
'PASSWORD_RECOVERY_NA'=>newself($rpc,'No email was set, can\'t recover password via email.',$code,$caller,$previous),
'PASSWORD_REQUIRED'=>newself($rpc,'A [2FA password](https://core.telegram.org/api/srp) must be configured to use Telegram Passport.',$code,$caller,$previous),
'PAYMENT_PROVIDER_INVALID'=>newself($rpc,'The specified payment provider is invalid.',$code,$caller,$previous),
'PEER_HISTORY_EMPTY'=>newself($rpc,'You can\'t pin an empty chat with a user.',$code,$caller,$previous),
'PRIVACY_KEY_INVALID'=>newself($rpc,'The privacy key is invalid.',$code,$caller,$previous),
'PRIVACY_TOO_LONG'=>newself($rpc,'Too many privacy rules were specified, the current limit is 1000.',$code,$caller,$previous),
'PRIVACY_VALUE_INVALID'=>newself($rpc,'The specified privacy rule combination is invalid.',$code,$caller,$previous),
'PUBLIC_KEY_REQUIRED'=>newself($rpc,'A public key is required.',$code,$caller,$previous),
'QUERY_ID_EMPTY'=>newself($rpc,'The query ID is empty.',$code,$caller,$previous),
'QUERY_ID_INVALID'=>newself($rpc,'The query ID is invalid.',$code,$caller,$previous),
'QUERY_TOO_SHORT'=>newself($rpc,'The query string is too short.',$code,$caller,$previous),
'QUIZ_ANSWER_MISSING'=>newself($rpc,'You can forward a quiz while hiding the original author only after choosing an option in the quiz.',$code,$caller,$previous),
'QUIZ_CORRECT_ANSWER_INVALID'=>newself($rpc,'An invalid value was provided to the correct_answers field.',$code,$caller,$previous),
'QUIZ_CORRECT_ANSWERS_EMPTY'=>newself($rpc,'No correct quiz answer was specified.',$code,$caller,$previous),
'REACTION_INVALID'=>newself($rpc,'The specified reaction is invalid.',$code,$caller,$previous),
'REACTIONS_TOO_MANY'=>newself($rpc,'The message already has exactly `reactions_uniq_max` reaction emojis, you can\'t react with a new emoji, see [the docs for more info »](/api/config#client-configuration).',$code,$caller,$previous),
'REPLY_MARKUP_BUY_EMPTY'=>newself($rpc,'Reply markup for buy button empty.',$code,$caller,$previous),
'REQUEST_TOKEN_INVALID'=>newself($rpc,'The master DC did not accept the `request_token` from the CDN DC. Continue downloading the file from the master DC using upload.getFile.',$code,$caller,$previous),
'STICKERS_TOO_MUCH'=>newself($rpc,'There are too many stickers in this stickerpack, you can\'t add any more.',$code,$caller,$previous),
'STICKERSET_INVALID'=>newself($rpc,'The provided sticker set is invalid.',$code,$caller,$previous),
'STORIES_NEVER_CREATED'=>newself($rpc,'This peer hasn\'t ever posted any stories.',$code,$caller,$previous),
'STORIES_TOO_MUCH'=>newself($rpc,'You have hit the maximum active stories limit as specified by the [`story_expiring_limit_*` client configuration parameters](https://core.telegram.org/api/config#story-expiring-limit-default): you should buy a [Premium](/api/premium) subscription, delete an active story, or wait for the oldest story to expire.',$code,$caller,$previous),
'STORY_ID_EMPTY'=>newself($rpc,'You specified no story IDs.',$code,$caller,$previous),
'STORY_ID_INVALID'=>newself($rpc,'The specified story ID is invalid.',$code,$caller,$previous),
'STORY_NOT_MODIFIED'=>newself($rpc,'The new story information you passed is equal to the previous story information, thus it wasn\'t modified.',$code,$caller,$previous),
'STORY_PERIOD_INVALID'=>newself($rpc,'The specified story period is invalid for this account.',$code,$caller,$previous),
'SWITCH_PM_TEXT_EMPTY'=>newself($rpc,'The switch_pm.text field was empty.',$code,$caller,$previous),
'TAKEOUT_INVALID'=>newself($rpc,'The specified takeout ID is invalid.',$code,$caller,$previous),
'TAKEOUT_REQUIRED'=>newself($rpc,'A [takeout](https://core.telegram.org/api/takeout) session needs to be initialized first, [see here » for more info](/api/takeout).',$code,$caller,$previous),
'TASK_ALREADY_EXISTS'=>newself($rpc,'An email reset was already requested.',$code,$caller,$previous),
'TEMP_AUTH_KEY_ALREADY_BOUND'=>newself($rpc,'The passed temporary key is already bound to another **perm_auth_key_id**.',$code,$caller,$previous),
'USER_BOT'=>newself($rpc,'Bots can only be admins in channels.',$code,$caller,$previous),
'USER_BOT_INVALID'=>newself($rpc,'User accounts must provide the `bot` method parameter when calling this method. If there is no such method parameter, this method can only be invoked by bot accounts.',$code,$caller,$previous),
'USER_BOT_REQUIRED'=>newself($rpc,'This method can only be called by a bot.',$code,$caller,$previous),
'USER_CHANNELS_TOO_MUCH'=>newself($rpc,'One of the users you tried to add is already in too many channels/supergroups.',$code,$caller,$previous),
'USER_CREATOR'=>newself($rpc,'You can\'t leave this channel, because you\'re its creator.',$code,$caller,$previous),
'USER_ID_INVALID'=>newself($rpc,'The provided user ID is invalid.',$code,$caller,$previous),
'USER_INVALID'=>newself($rpc,'Invalid user provided.',$code,$caller,$previous),
'INPUT_CONSTRUCTOR_INVALID'=>newself($rpc,'The specified TL constructor is invalid.',$code,$caller,$previous),
'INPUT_FETCH_ERROR'=>newself($rpc,'An error occurred while parsing the provided TL constructor.',$code,$caller,$previous),
'INPUT_FETCH_FAIL'=>newself($rpc,'An error occurred while parsing the provided TL constructor.',$code,$caller,$previous),
'INPUT_LAYER_INVALID'=>newself($rpc,'The specified layer is invalid.',$code,$caller,$previous),
'INPUT_METHOD_INVALID'=>newself($rpc,'The specified method is invalid.',$code,$caller,$previous),
'INPUT_REQUEST_TOO_LONG'=>newself($rpc,'The request payload is too long.',$code,$caller,$previous),
'PEER_FLOOD'=>newself($rpc,'The current account is spamreported, you cannot execute this action, check @spambot for more info.',$code,$caller,$previous),
'ANONYMOUS_REACTIONS_DISABLED'=>newself($rpc,'Sorry, anonymous administrators cannot leave reactions or participate in polls.',$code,$caller,$previous),
'BROADCAST_FORBIDDEN'=>newself($rpc,'Channel poll voters and reactions cannot be fetched to prevent deanonymization.',$code,$caller,$previous),
'CHANNEL_PUBLIC_GROUP_NA'=>newself($rpc,'channel/supergroup not available.',$code,$caller,$previous),
'CHAT_ADMIN_INVITE_REQUIRED'=>newself($rpc,'You do not have the rights to do this.',$code,$caller,$previous),
'EDIT_BOT_INVITE_FORBIDDEN'=>newself($rpc,'Normal users can\'t edit invites that were created by bots.',$code,$caller,$previous),
'GROUPCALL_ALREADY_STARTED'=>newself($rpc,'The groupcall has already started, you can join directly using [phone.joinGroupCall](https://core.telegram.org/method/phone.joinGroupCall).',$code,$caller,$previous),
'INLINE_BOT_REQUIRED'=>newself($rpc,'Only the inline bot can edit message.',$code,$caller,$previous),
'MESSAGE_DELETE_FORBIDDEN'=>newself($rpc,'You can\'t delete one of the messages you tried to delete, most likely because it is a service message.',$code,$caller,$previous),
'POLL_VOTE_REQUIRED'=>newself($rpc,'Cast a vote in the poll before calling this method.',$code,$caller,$previous),
'CALL_PROTOCOL_COMPAT_LAYER_INVALID'=>newself($rpc,'The other side of the call does not support any of the VoIP protocols supported by the local client, as specified by the `protocol.layer` and `protocol.library_versions` fields.',$code,$caller,$previous),
'FILEREF_UPGRADE_NEEDED'=>newself($rpc,'The client has to be updated in order to support [file references](https://core.telegram.org/api/file_reference).',$code,$caller,$previous),
'FRESH_CHANGE_PHONE_FORBIDDEN'=>newself($rpc,'You can\'t change phone number right after logging in, please wait at least 24 hours.',$code,$caller,$previous),
'FRESH_RESET_AUTHORISATION_FORBIDDEN'=>newself($rpc,'You can\'t logout other sessions if less than 24 hours have passed since you logged on the current session.',$code,$caller,$previous),
'PHONE_PASSWORD_FLOOD'=>newself($rpc,'You have tried logging in too many times.',$code,$caller,$previous),
'SEND_CODE_UNAVAILABLE'=>newself($rpc,'Returned when all available options for this type of number were already used (e.g. flash-call, then SMS, then this error might be returned to trigger a second resend).',$code,$caller,$previous),
'STICKERSET_OWNER_ANONYMOUS'=>newself($rpc,'Provided stickerset can\'t be installed as group stickerset to prevent admin deanonymization.',$code,$caller,$previous),
'UPDATE_APP_TO_LOGIN'=>newself($rpc,'Please update to the latest version of MadelineProto to login.',$code,$caller,$previous),
'USERPIC_PRIVACY_REQUIRED'=>newself($rpc,'You need to disable privacy settings for your profile picture in order to make your geolocation public.',$code,$caller,$previous),
'AUTH_KEY_DUPLICATED'=>newself($rpc,'Concurrent usage of the current session from multiple connections was detected, the current session was invalidated by the server for security reasons!',$code,$caller,$previous),