From 36d1ab7ee5c535de6d91a1acfa5ae4f51aec4124 Mon Sep 17 00:00:00 2001 From: Mahdi Date: Tue, 11 Jun 2024 15:09:02 +0330 Subject: [PATCH 01/15] Add support for @replies messages - Add CommentReply class - Add FilterCommentReply class - Some changes for chatId ,senderId,messageId (named id here) --- src/EventHandler/AbstractMessage.php | 9 ++--- .../Filter/FilterCommentReply.php | 33 +++++++++++++++++++ src/EventHandler/Message/CommentReply.php | 24 ++++++++++++++ src/EventHandler/Message/GroupMessage.php | 2 +- src/MTProtoTools/UpdateHandler.php | 3 +- 5 files changed, 65 insertions(+), 6 deletions(-) create mode 100644 src/EventHandler/Filter/FilterCommentReply.php create mode 100644 src/EventHandler/Message/CommentReply.php diff --git a/src/EventHandler/AbstractMessage.php b/src/EventHandler/AbstractMessage.php index 6b3f4ea77..eb214f90c 100644 --- a/src/EventHandler/AbstractMessage.php +++ b/src/EventHandler/AbstractMessage.php @@ -93,12 +93,13 @@ abstract class AbstractMessage extends Update implements SimpleFilters } else { $secretChat = null; } + $fromReplies = (($info['User']['username'] ?? '') === 'replies'); $this->out = $rawMessage['out'] ?? false; - $this->id = $rawMessage['id'] ?? $rawMessage['random_id']; - $this->chatId = isset($secretChat) ? $secretChat->chatId : $info['bot_api_id']; - $this->senderId = isset($secretChat) ? $secretChat->otherID : (isset($rawMessage['from_id']) + $this->id = $fromReplies ? $rawMessage['fwd_from']['saved_from_msg_id'] : $rawMessage['id'] ?? $rawMessage['random_id']; + $this->chatId = isset($secretChat) ? $secretChat->chatId : ($fromReplies ? $rawMessage['reply_to']['reply_to_peer_id'] : $info['bot_api_id']); + $this->senderId = isset($secretChat) ? $secretChat->otherID : ($fromReplies ? $this->getClient()->getIdInternal($rawMessage['fwd_from']['from_id']) : (isset($rawMessage['from_id']) ? $this->getClient()->getIdInternal($rawMessage['from_id']) - : $this->chatId); + : $this->chatId)); $this->date = $rawMessage['date']; $this->mentioned = $rawMessage['mentioned'] ?? false; $this->silent = $rawMessage['silent'] ?? false; diff --git a/src/EventHandler/Filter/FilterCommentReply.php b/src/EventHandler/Filter/FilterCommentReply.php new file mode 100644 index 000000000..718677260 --- /dev/null +++ b/src/EventHandler/Filter/FilterCommentReply.php @@ -0,0 +1,33 @@ +. + * + * @author Mahdi + * @copyright 2016-2023 Mahdi + * @license https://opensource.org/licenses/AGPL-3.0 AGPLv3 + * @link https://docs.madelineproto.xyz MadelineProto documentation + */ + +namespace danog\MadelineProto\EventHandler\Filter; + +use Attribute; +use danog\MadelineProto\EventHandler\Message\CommentReply; +use danog\MadelineProto\EventHandler\Update; + +/** + * Allow messages that coming from @replies. + */ +#[Attribute(Attribute::TARGET_METHOD)] +class FilterCommentReply extends Filter +{ + public function apply(Update $update): bool + { + return $update instanceof CommentReply; + } +} diff --git a/src/EventHandler/Message/CommentReply.php b/src/EventHandler/Message/CommentReply.php new file mode 100644 index 000000000..a78dff3f7 --- /dev/null +++ b/src/EventHandler/Message/CommentReply.php @@ -0,0 +1,24 @@ +. + * + * @author Mahdi + * @copyright 2016-2023 Mahdi + * @license https://opensource.org/licenses/AGPL-3.0 AGPLv3 + * @link https://docs.madelineproto.xyz MadelineProto documentation + */ + +namespace danog\MadelineProto\EventHandler\Message; + +/** + * Represents a reply message that in channel comments. + */ +final class CommentReply extends GroupMessage +{ +} diff --git a/src/EventHandler/Message/GroupMessage.php b/src/EventHandler/Message/GroupMessage.php index c3809c01e..511b40ddb 100644 --- a/src/EventHandler/Message/GroupMessage.php +++ b/src/EventHandler/Message/GroupMessage.php @@ -29,7 +29,7 @@ use Webmozart\Assert\InvalidArgumentException; /** * Represents an incoming or outgoing group message. */ -final class GroupMessage extends Message +class GroupMessage extends Message { /** * Get info about a [channel/supergroup](https://core.telegram.org/api/channel) participant. diff --git a/src/MTProtoTools/UpdateHandler.php b/src/MTProtoTools/UpdateHandler.php index 0a55b547a..dd7f1f828 100644 --- a/src/MTProtoTools/UpdateHandler.php +++ b/src/MTProtoTools/UpdateHandler.php @@ -49,6 +49,7 @@ use danog\MadelineProto\EventHandler\Delete\DeleteScheduledMessages; use danog\MadelineProto\EventHandler\InlineQuery; use danog\MadelineProto\EventHandler\Message; use danog\MadelineProto\EventHandler\Message\ChannelMessage; +use danog\MadelineProto\EventHandler\Message\CommentReply; use danog\MadelineProto\EventHandler\Message\GroupMessage; use danog\MadelineProto\EventHandler\Message\PrivateMessage; use danog\MadelineProto\EventHandler\Message\SecretMessage; @@ -778,7 +779,7 @@ trait UpdateHandler }; } if (($info['User']['username'] ?? '') === 'replies') { - return null; + return new CommentReply($this, $message, $info, $scheduled); } if ($message['_'] === 'encryptedMessage') { return new SecretMessage($this, $message, $info, $scheduled); From 416556fa0e8428c61e589d61b1ce1059e5924707 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Mon, 24 Jun 2024 12:48:33 +0200 Subject: [PATCH 02/15] Always report to fill missing code info --- src/Magic.php | 3 +++ src/RPCErrorException.php | 3 ++- tools/build_docs.php | 4 +++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/Magic.php b/src/Magic.php index 196a4970c..7aba732af 100644 --- a/src/Magic.php +++ b/src/Magic.php @@ -326,6 +326,9 @@ final class Magic self::$twoe1984 = new BigInteger('010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', 16); self::$twoe2047 = new BigInteger('80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', 16); self::$twoe2048 = new BigInteger('0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', 16); + $res = json_decode(file_get_contents(__DIR__.'/v3.json'), true); + RPCErrorException::$errorMethodMap = $res['result']; + RPCErrorException::$descriptions += $res['human_result']; foreach (Extension::ALL_MIMES as $ext => $mimes) { $ext = ".$ext"; foreach ($mimes as $mime) { diff --git a/src/RPCErrorException.php b/src/RPCErrorException.php index 25560a988..fc623a083 100644 --- a/src/RPCErrorException.php +++ b/src/RPCErrorException.php @@ -219,6 +219,7 @@ class RPCErrorException extends \Exception string $caller, ?\Exception $previous = null ): self { + $msg = self::report($rpc, $code, $caller); // Start match return match ($rpc) { 'ADDRESS_INVALID' => new self($rpc, 'The specified geopoint address is invalid.', $code, $caller, $previous), @@ -778,7 +779,7 @@ class RPCErrorException extends \Exception 'SESSION_REVOKED' => new self($rpc, 'The session was revoked by the user.', $code, $caller, $previous), 'USER_DEACTIVATED' => new self($rpc, 'The current account was deleted by the user.', $code, $caller, $previous), 'USER_DEACTIVATED_BAN' => new self($rpc, 'The current account was deleted and banned by Telegram\'s antispam system.', $code, $caller, $previous), - default => new self($rpc, self::report($rpc, $code, $caller), $code, $caller, $previous) + default => new self($rpc, $msg, $code, $caller, $previous) }; // End match diff --git a/tools/build_docs.php b/tools/build_docs.php index bdd899dda..c06c387c0 100755 --- a/tools/build_docs.php +++ b/tools/build_docs.php @@ -55,6 +55,8 @@ chdir($d=__DIR__.'/..'); require 'vendor/autoload.php'; +copy('https://rpc.madelineproto.xyz/v3.json', 'src/v3.json'); + `rm -r src/RPCError/*`; `git checkout src/RPCError/FloodWaitError.php`; `git checkout src/RPCError/FloodPremiumWaitError.php`; @@ -167,7 +169,7 @@ $err = preg_replace_callback('|// Start match.*// End match|sim', static functio $data .= "$err => new self(\$rpc, $human, \$code, \$caller, \$previous),\n"; } } - $data .= "default => new self(\$rpc, self::report(\$rpc, \$code, \$caller), \$code, \$caller, \$previous)\n"; + $data .= "default => new self(\$rpc, \$msg, \$code, \$caller, \$previous)\n"; $data .= "};\n"; return "// Start match\n$data\n// End match"; }, $err); From 059bf913b488de99859378bd689da926a5812d8d Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Mon, 24 Jun 2024 12:50:47 +0200 Subject: [PATCH 03/15] Always report to fill missing code info --- src/v3.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/v3.json diff --git a/src/v3.json b/src/v3.json new file mode 100644 index 000000000..084584a12 --- /dev/null +++ b/src/v3.json @@ -0,0 +1 @@ +{"ok":true,"result":{"420":{"account.deleteAccount":{"2FA_CONFIRM_WAIT_%d":"2FA_CONFIRM_WAIT_%d"},"channels.createChannel":{"ADDRESS_INVALID":"ADDRESS_INVALID"},"upload.getFile":{"FLOOD_PREMIUM_WAIT_%d":"FLOOD_PREMIUM_WAIT_%d"},"payments.applyGiftCode":{"PREMIUM_SUB_ACTIVE_UNTIL_%d":"PREMIUM_SUB_ACTIVE_UNTIL_%d"},"messages.forwardMessages":{"SLOWMODE_WAIT_%d":"SLOWMODE_WAIT_%d"},"messages.sendInlineBotResult":{"SLOWMODE_WAIT_%d":"SLOWMODE_WAIT_%d"},"messages.sendMedia":{"SLOWMODE_WAIT_%d":"SLOWMODE_WAIT_%d"},"messages.sendMessage":{"SLOWMODE_WAIT_%d":"SLOWMODE_WAIT_%d"},"messages.sendMultiMedia":{"SLOWMODE_WAIT_%d":"SLOWMODE_WAIT_%d"},"account.initTakeoutSession":{"TAKEOUT_INIT_DELAY_%d":"TAKEOUT_INIT_DELAY_%d"}},"400":{"account.updateProfile":{"ABOUT_TOO_LONG":"ABOUT_TOO_LONG","FIRSTNAME_INVALID":"FIRSTNAME_INVALID"},"auth.importBotAuthorization":{"ACCESS_TOKEN_EXPIRED":"ACCESS_TOKEN_EXPIRED","ACCESS_TOKEN_INVALID":"ACCESS_TOKEN_INVALID","API_ID_INVALID":"API_ID_INVALID","API_ID_PUBLISHED_FLOOD":"API_ID_PUBLISHED_FLOOD"},"channels.createChannel":{"ADDRESS_INVALID":"ADDRESS_INVALID","CHANNELS_ADMIN_LOCATED_TOO_MUCH":"CHANNELS_ADMIN_LOCATED_TOO_MUCH","CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_ABOUT_TOO_LONG":"CHAT_ABOUT_TOO_LONG","CHAT_TITLE_EMPTY":"CHAT_TITLE_EMPTY","TTL_PERIOD_INVALID":"TTL_PERIOD_INVALID"},"messages.deleteRevokedExportedChatInvites":{"ADMIN_ID_INVALID":"ADMIN_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getExportedChatInvites":{"ADMIN_ID_INVALID":"ADMIN_ID_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"channels.editAdmin":{"ADMIN_RANK_EMOJI_NOT_ALLOWED":"ADMIN_RANK_EMOJI_NOT_ALLOWED","ADMIN_RANK_INVALID":"ADMIN_RANK_INVALID","ADMINS_TOO_MUCH":"ADMINS_TOO_MUCH","BOT_CHANNELS_NA":"BOT_CHANNELS_NA","BOT_GROUPS_BLOCKED":"BOT_GROUPS_BLOCKED","BOTS_TOO_MUCH":"BOTS_TOO_MUCH","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","FRESH_CHANGE_ADMINS_FORBIDDEN":"FRESH_CHANGE_ADMINS_FORBIDDEN","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","PEER_ID_INVALID":"PEER_ID_INVALID","USER_BLOCKED":"USER_BLOCKED","USER_CREATOR":"USER_CREATOR","USER_ID_INVALID":"USER_ID_INVALID","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USERS_TOO_MUCH":"USERS_TOO_MUCH"},"messages.sendMessage":{"ADMIN_RIGHTS_EMPTY":"ADMIN_RIGHTS_EMPTY","BOT_DOMAIN_INVALID":"BOT_DOMAIN_INVALID","BOT_INVALID":"BOT_INVALID","BUTTON_DATA_INVALID":"BUTTON_DATA_INVALID","BUTTON_TYPE_INVALID":"BUTTON_TYPE_INVALID","BUTTON_URL_INVALID":"BUTTON_URL_INVALID","BUTTON_USER_INVALID":"BUTTON_USER_INVALID","BUTTON_USER_PRIVACY_RESTRICTED":"BUTTON_USER_PRIVACY_RESTRICTED","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_RESTRICTED":"CHAT_RESTRICTED","DOCUMENT_INVALID":"DOCUMENT_INVALID","ENCRYPTION_DECLINED":"ENCRYPTION_DECLINED","ENTITIES_TOO_LONG":"ENTITIES_TOO_LONG","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","ENTITY_MENTION_USER_INVALID":"ENTITY_MENTION_USER_INVALID","FROM_MESSAGE_BOT_DISABLED":"FROM_MESSAGE_BOT_DISABLED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MESSAGE_EMPTY":"MESSAGE_EMPTY","MESSAGE_TOO_LONG":"MESSAGE_TOO_LONG","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","PINNED_DIALOGS_TOO_MUCH":"PINNED_DIALOGS_TOO_MUCH","POLL_OPTION_INVALID":"POLL_OPTION_INVALID","QUOTE_TEXT_INVALID":"QUOTE_TEXT_INVALID","REPLY_MARKUP_INVALID":"REPLY_MARKUP_INVALID","REPLY_MARKUP_TOO_LONG":"REPLY_MARKUP_TOO_LONG","REPLY_MESSAGE_ID_INVALID":"REPLY_MESSAGE_ID_INVALID","REPLY_TO_INVALID":"REPLY_TO_INVALID","REPLY_TO_USER_INVALID":"REPLY_TO_USER_INVALID","SCHEDULE_BOT_NOT_ALLOWED":"SCHEDULE_BOT_NOT_ALLOWED","SCHEDULE_DATE_TOO_LATE":"SCHEDULE_DATE_TOO_LATE","SCHEDULE_STATUS_PRIVATE":"SCHEDULE_STATUS_PRIVATE","SCHEDULE_TOO_MUCH":"SCHEDULE_TOO_MUCH","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID","STORY_ID_INVALID":"STORY_ID_INVALID","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_IS_BOT":"USER_IS_BOT","WC_CONVERT_URL_INVALID":"WC_CONVERT_URL_INVALID","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"photos.updateProfilePhoto":{"ALBUM_PHOTOS_TOO_MANY":"ALBUM_PHOTOS_TOO_MANY","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","LOCATION_INVALID":"LOCATION_INVALID","PHOTO_CROP_SIZE_SMALL":"PHOTO_CROP_SIZE_SMALL","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_ID_INVALID":"PHOTO_ID_INVALID"},"photos.uploadProfilePhoto":{"ALBUM_PHOTOS_TOO_MANY":"ALBUM_PHOTOS_TOO_MANY","BOT_INVALID":"BOT_INVALID","EMOJI_MARKUP_INVALID":"EMOJI_MARKUP_INVALID","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","PHOTO_CROP_FILE_MISSING":"PHOTO_CROP_FILE_MISSING","PHOTO_CROP_SIZE_SMALL":"PHOTO_CROP_SIZE_SMALL","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_FILE_MISSING":"PHOTO_FILE_MISSING","PHOTO_INVALID":"PHOTO_INVALID","STICKER_MIME_INVALID":"STICKER_MIME_INVALID","VIDEO_FILE_INVALID":"VIDEO_FILE_INVALID"},"auth.exportLoginToken":{"API_ID_INVALID":"API_ID_INVALID","API_ID_PUBLISHED_FLOOD":"API_ID_PUBLISHED_FLOOD"},"auth.importWebTokenAuthorization":{"API_ID_INVALID":"API_ID_INVALID"},"auth.sendCode":{"API_ID_INVALID":"API_ID_INVALID","API_ID_PUBLISHED_FLOOD":"API_ID_PUBLISHED_FLOOD","PHONE_NUMBER_APP_SIGNUP_FORBIDDEN":"PHONE_NUMBER_APP_SIGNUP_FORBIDDEN","PHONE_NUMBER_BANNED":"PHONE_NUMBER_BANNED","PHONE_NUMBER_FLOOD":"PHONE_NUMBER_FLOOD","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_PASSWORD_PROTECTED":"PHONE_PASSWORD_PROTECTED","SMS_CODE_CREATE_FAILED":"SMS_CODE_CREATE_FAILED"},"messages.setInlineBotResults":{"ARTICLE_TITLE_EMPTY":"ARTICLE_TITLE_EMPTY","AUDIO_CONTENT_URL_EMPTY":"AUDIO_CONTENT_URL_EMPTY","AUDIO_TITLE_EMPTY":"AUDIO_TITLE_EMPTY","BUTTON_DATA_INVALID":"BUTTON_DATA_INVALID","BUTTON_TYPE_INVALID":"BUTTON_TYPE_INVALID","BUTTON_URL_INVALID":"BUTTON_URL_INVALID","DOCUMENT_INVALID":"DOCUMENT_INVALID","FILE_CONTENT_TYPE_INVALID":"FILE_CONTENT_TYPE_INVALID","FILE_TITLE_EMPTY":"FILE_TITLE_EMPTY","GIF_CONTENT_TYPE_INVALID":"GIF_CONTENT_TYPE_INVALID","MESSAGE_EMPTY":"MESSAGE_EMPTY","MESSAGE_TOO_LONG":"MESSAGE_TOO_LONG","NEXT_OFFSET_INVALID":"NEXT_OFFSET_INVALID","PHOTO_CONTENT_TYPE_INVALID":"PHOTO_CONTENT_TYPE_INVALID","PHOTO_CONTENT_URL_EMPTY":"PHOTO_CONTENT_URL_EMPTY","PHOTO_INVALID":"PHOTO_INVALID","PHOTO_THUMB_URL_EMPTY":"PHOTO_THUMB_URL_EMPTY","QUERY_ID_INVALID":"QUERY_ID_INVALID","REPLY_MARKUP_INVALID":"REPLY_MARKUP_INVALID","RESULT_ID_DUPLICATE":"RESULT_ID_DUPLICATE","RESULT_ID_INVALID":"RESULT_ID_INVALID","RESULT_TYPE_INVALID":"RESULT_TYPE_INVALID","RESULTS_TOO_MUCH":"RESULTS_TOO_MUCH","SEND_MESSAGE_MEDIA_INVALID":"SEND_MESSAGE_MEDIA_INVALID","SEND_MESSAGE_TYPE_INVALID":"SEND_MESSAGE_TYPE_INVALID","START_PARAM_EMPTY":"START_PARAM_EMPTY","START_PARAM_INVALID":"START_PARAM_INVALID","STICKER_DOCUMENT_INVALID":"STICKER_DOCUMENT_INVALID","SWITCH_PM_TEXT_EMPTY":"SWITCH_PM_TEXT_EMPTY","SWITCH_WEBVIEW_URL_INVALID":"SWITCH_WEBVIEW_URL_INVALID","URL_INVALID":"URL_INVALID","USER_BOT_INVALID":"USER_BOT_INVALID","VIDEO_TITLE_EMPTY":"VIDEO_TITLE_EMPTY","WEBDOCUMENT_INVALID":"WEBDOCUMENT_INVALID","WEBDOCUMENT_MIME_INVALID":"WEBDOCUMENT_MIME_INVALID","WEBDOCUMENT_SIZE_TOO_BIG":"WEBDOCUMENT_SIZE_TOO_BIG","WEBDOCUMENT_URL_INVALID":"WEBDOCUMENT_URL_INVALID"},"auth.importAuthorization":{"AUTH_BYTES_INVALID":"AUTH_BYTES_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"invokeWithLayer":{"AUTH_BYTES_INVALID":"AUTH_BYTES_INVALID","CDN_METHOD_INVALID":"CDN_METHOD_INVALID","CONNECTION_API_ID_INVALID":"CONNECTION_API_ID_INVALID","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"auth.acceptLoginToken":{"AUTH_TOKEN_ALREADY_ACCEPTED":"AUTH_TOKEN_ALREADY_ACCEPTED","AUTH_TOKEN_EXCEPTION":"AUTH_TOKEN_EXCEPTION","AUTH_TOKEN_EXPIRED":"AUTH_TOKEN_EXPIRED","AUTH_TOKEN_INVALIDX":"AUTH_TOKEN_INVALIDX"},"auth.importLoginToken":{"AUTH_TOKEN_ALREADY_ACCEPTED":"AUTH_TOKEN_ALREADY_ACCEPTED","AUTH_TOKEN_EXPIRED":"AUTH_TOKEN_EXPIRED","AUTH_TOKEN_INVALID":"AUTH_TOKEN_INVALID","AUTH_TOKEN_INVALIDX":"AUTH_TOKEN_INVALIDX"},"account.setGlobalPrivacySettings":{"AUTOARCHIVE_NOT_AVAILABLE":"AUTOARCHIVE_NOT_AVAILABLE"},"payments.getBankCardData":{"BANK_CARD_NUMBER_INVALID":"BANK_CARD_NUMBER_INVALID"},"messages.editChatDefaultBannedRights":{"BANNED_RIGHTS_INVALID":"BANNED_RIGHTS_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID","UNTIL_DATE_INVALID":"UNTIL_DATE_INVALID"},"stories.applyBoost":{"BOOST_NOT_MODIFIED":"BOOST_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED"},"stories.canApplyBoost":{"BOOST_NOT_MODIFIED":"BOOST_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED"},"payments.getPaymentForm":{"BOOST_PEER_INVALID":"BOOST_PEER_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","SLUG_INVALID":"SLUG_INVALID","UNTIL_DATE_INVALID":"UNTIL_DATE_INVALID"},"premium.applyBoost":{"BOOSTS_EMPTY":"BOOSTS_EMPTY","PEER_ID_INVALID":"PEER_ID_INVALID","SLOTS_EMPTY":"SLOTS_EMPTY"},"channels.updateColor":{"BOOSTS_REQUIRED":"BOOSTS_REQUIRED","CHANNEL_INVALID":"CHANNEL_INVALID"},"stories.canSendStory":{"BOOSTS_REQUIRED":"BOOSTS_REQUIRED","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED","STORIES_TOO_MUCH":"STORIES_TOO_MUCH","STORY_SEND_FLOOD_MONTHLY_%d":"STORY_SEND_FLOOD_MONTHLY_%d","STORY_SEND_FLOOD_WEEKLY_%d":"STORY_SEND_FLOOD_WEEKLY_%d"},"stories.sendStory":{"BOOSTS_REQUIRED":"BOOSTS_REQUIRED","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","MEDIA_EMPTY":"MEDIA_EMPTY","MEDIA_FILE_INVALID":"MEDIA_FILE_INVALID","MEDIA_TYPE_INVALID":"MEDIA_TYPE_INVALID","MEDIA_VIDEO_STORY_MISSING":"MEDIA_VIDEO_STORY_MISSING","PEER_ID_INVALID":"PEER_ID_INVALID","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED","STORIES_TOO_MUCH":"STORIES_TOO_MUCH","STORY_PERIOD_INVALID":"STORY_PERIOD_INVALID","VENUE_ID_INVALID":"VENUE_ID_INVALID"},"messages.getBotApp":{"BOT_APP_BOT_INVALID":"BOT_APP_BOT_INVALID","BOT_APP_INVALID":"BOT_APP_INVALID","BOT_APP_SHORTNAME_INVALID":"BOT_APP_SHORTNAME_INVALID"},"messages.requestAppWebView":{"BOT_APP_INVALID":"BOT_APP_INVALID","BOT_APP_SHORTNAME_INVALID":"BOT_APP_SHORTNAME_INVALID"},"bots.setBotCommands":{"BOT_COMMAND_DESCRIPTION_INVALID":"BOT_COMMAND_DESCRIPTION_INVALID","BOT_COMMAND_INVALID":"BOT_COMMAND_INVALID","LANG_CODE_INVALID":"LANG_CODE_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED","USER_ID_INVALID":"USER_ID_INVALID"},"messages.editMessage":{"BOT_DOMAIN_INVALID":"BOT_DOMAIN_INVALID","BOT_INVALID":"BOT_INVALID","BUTTON_DATA_INVALID":"BUTTON_DATA_INVALID","BUTTON_TYPE_INVALID":"BUTTON_TYPE_INVALID","BUTTON_URL_INVALID":"BUTTON_URL_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_FORWARDS_RESTRICTED":"CHAT_FORWARDS_RESTRICTED","DOCUMENT_INVALID":"DOCUMENT_INVALID","ENTITIES_TOO_LONG":"ENTITIES_TOO_LONG","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MEDIA_CAPTION_TOO_LONG":"MEDIA_CAPTION_TOO_LONG","MEDIA_EMPTY":"MEDIA_EMPTY","MEDIA_GROUPED_INVALID":"MEDIA_GROUPED_INVALID","MEDIA_INVALID":"MEDIA_INVALID","MEDIA_NEW_INVALID":"MEDIA_NEW_INVALID","MEDIA_PREV_INVALID":"MEDIA_PREV_INVALID","MEDIA_TTL_INVALID":"MEDIA_TTL_INVALID","MESSAGE_EDIT_TIME_EXPIRED":"MESSAGE_EDIT_TIME_EXPIRED","MESSAGE_EMPTY":"MESSAGE_EMPTY","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MESSAGE_NOT_MODIFIED":"MESSAGE_NOT_MODIFIED","MESSAGE_TOO_LONG":"MESSAGE_TOO_LONG","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","REPLY_MARKUP_INVALID":"REPLY_MARKUP_INVALID","REPLY_MARKUP_TOO_LONG":"REPLY_MARKUP_TOO_LONG","SCHEDULE_DATE_INVALID":"SCHEDULE_DATE_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","WEBPAGE_NOT_FOUND":"WEBPAGE_NOT_FOUND"},"channels.inviteToChannel":{"BOT_GROUPS_BLOCKED":"BOT_GROUPS_BLOCKED","BOTS_TOO_MUCH":"BOTS_TOO_MUCH","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_INVALID":"CHAT_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_BLOCKED":"USER_BLOCKED","USER_BOT":"USER_BOT","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH","USER_ID_INVALID":"USER_ID_INVALID","USER_KICKED":"USER_KICKED","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USERS_TOO_MUCH":"USERS_TOO_MUCH"},"messages.addChatUser":{"BOT_GROUPS_BLOCKED":"BOT_GROUPS_BLOCKED","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ALREADY_PARTICIPANT":"USER_ALREADY_PARTICIPANT","USER_ID_INVALID":"USER_ID_INVALID","USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USERS_TOO_MUCH":"USERS_TOO_MUCH","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.getInlineBotResults":{"BOT_INLINE_DISABLED":"BOT_INLINE_DISABLED","BOT_INVALID":"BOT_INVALID","BOT_RESPONSE_TIMEOUT":"BOT_RESPONSE_TIMEOUT","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID"},"bots.allowSendMessage":{"BOT_INVALID":"BOT_INVALID"},"bots.canSendMessage":{"BOT_INVALID":"BOT_INVALID"},"bots.getBotInfo":{"BOT_INVALID":"BOT_INVALID","LANG_CODE_INVALID":"LANG_CODE_INVALID","USER_BOT_INVALID":"USER_BOT_INVALID"},"bots.invokeWebViewCustomMethod":{"BOT_INVALID":"BOT_INVALID"},"bots.reorderUsernames":{"BOT_INVALID":"BOT_INVALID"},"bots.toggleUsername":{"BOT_INVALID":"BOT_INVALID"},"messages.getAttachMenuBot":{"BOT_INVALID":"BOT_INVALID"},"messages.requestSimpleWebView":{"BOT_INVALID":"BOT_INVALID","URL_INVALID":"URL_INVALID"},"messages.requestWebView":{"BOT_INVALID":"BOT_INVALID","BOT_WEBVIEW_DISABLED":"BOT_WEBVIEW_DISABLED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.startBot":{"BOT_INVALID":"BOT_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","START_PARAM_EMPTY":"START_PARAM_EMPTY","START_PARAM_INVALID":"START_PARAM_INVALID","START_PARAM_TOO_LONG":"START_PARAM_TOO_LONG"},"messages.toggleBotInAttachMenu":{"BOT_INVALID":"BOT_INVALID"},"stickers.addStickerToSet":{"BOT_MISSING":"BOT_MISSING","STICKER_PNG_NOPNG":"STICKER_PNG_NOPNG","STICKER_TGS_NOTGS":"STICKER_TGS_NOTGS","STICKERPACK_STICKERS_TOO_MUCH":"STICKERPACK_STICKERS_TOO_MUCH","STICKERS_TOO_MUCH":"STICKERS_TOO_MUCH","STICKERSET_INVALID":"STICKERSET_INVALID"},"stickers.changeSticker":{"BOT_MISSING":"BOT_MISSING","STICKER_INVALID":"STICKER_INVALID"},"stickers.deleteStickerSet":{"BOT_MISSING":"BOT_MISSING","STICKERSET_INVALID":"STICKERSET_INVALID"},"stickers.removeStickerFromSet":{"BOT_MISSING":"BOT_MISSING","STICKER_INVALID":"STICKER_INVALID"},"messages.updatePinnedMessage":{"BOT_ONESIDE_NOT_AVAIL":"BOT_ONESIDE_NOT_AVAIL","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","PIN_RESTRICTED":"PIN_RESTRICTED","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"messages.sendMedia":{"BOT_PAYMENTS_DISABLED":"BOT_PAYMENTS_DISABLED","BROADCAST_PUBLIC_VOTERS_FORBIDDEN":"BROADCAST_PUBLIC_VOTERS_FORBIDDEN","BUTTON_DATA_INVALID":"BUTTON_DATA_INVALID","BUTTON_TYPE_INVALID":"BUTTON_TYPE_INVALID","BUTTON_URL_INVALID":"BUTTON_URL_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_FORWARDS_RESTRICTED":"CHAT_FORWARDS_RESTRICTED","CHAT_RESTRICTED":"CHAT_RESTRICTED","CURRENCY_TOTAL_AMOUNT_INVALID":"CURRENCY_TOTAL_AMOUNT_INVALID","DOCUMENT_INVALID":"DOCUMENT_INVALID","EMOTICON_INVALID":"EMOTICON_INVALID","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","EXTERNAL_URL_INVALID":"EXTERNAL_URL_INVALID","FILE_PART_LENGTH_INVALID":"FILE_PART_LENGTH_INVALID","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","FILE_REFERENCE_EMPTY":"FILE_REFERENCE_EMPTY","FILE_REFERENCE_EXPIRED":"FILE_REFERENCE_EXPIRED","GAME_BOT_INVALID":"GAME_BOT_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MD5_CHECKSUM_INVALID":"MD5_CHECKSUM_INVALID","MEDIA_CAPTION_TOO_LONG":"MEDIA_CAPTION_TOO_LONG","MEDIA_EMPTY":"MEDIA_EMPTY","MEDIA_INVALID":"MEDIA_INVALID","MESSAGE_EMPTY":"MESSAGE_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","PAYMENT_PROVIDER_INVALID":"PAYMENT_PROVIDER_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_INVALID_DIMENSIONS":"PHOTO_INVALID_DIMENSIONS","PHOTO_SAVE_FILE_INVALID":"PHOTO_SAVE_FILE_INVALID","POLL_ANSWER_INVALID":"POLL_ANSWER_INVALID","POLL_ANSWERS_INVALID":"POLL_ANSWERS_INVALID","POLL_OPTION_DUPLICATE":"POLL_OPTION_DUPLICATE","POLL_OPTION_INVALID":"POLL_OPTION_INVALID","POLL_QUESTION_INVALID":"POLL_QUESTION_INVALID","QUIZ_CORRECT_ANSWER_INVALID":"QUIZ_CORRECT_ANSWER_INVALID","QUIZ_CORRECT_ANSWERS_EMPTY":"QUIZ_CORRECT_ANSWERS_EMPTY","QUIZ_CORRECT_ANSWERS_TOO_MUCH":"QUIZ_CORRECT_ANSWERS_TOO_MUCH","QUIZ_MULTIPLE_INVALID":"QUIZ_MULTIPLE_INVALID","REPLY_MARKUP_BUY_EMPTY":"REPLY_MARKUP_BUY_EMPTY","REPLY_MARKUP_GAME_EMPTY":"REPLY_MARKUP_GAME_EMPTY","REPLY_MARKUP_INVALID":"REPLY_MARKUP_INVALID","REPLY_MARKUP_TOO_LONG":"REPLY_MARKUP_TOO_LONG","SCHEDULE_BOT_NOT_ALLOWED":"SCHEDULE_BOT_NOT_ALLOWED","SCHEDULE_DATE_TOO_LATE":"SCHEDULE_DATE_TOO_LATE","SCHEDULE_TOO_MUCH":"SCHEDULE_TOO_MUCH","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID","STORY_ID_INVALID":"STORY_ID_INVALID","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED","TTL_MEDIA_INVALID":"TTL_MEDIA_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_IS_BOT":"USER_IS_BOT","VIDEO_CONTENT_TYPE_INVALID":"VIDEO_CONTENT_TYPE_INVALID","VOICE_MESSAGES_FORBIDDEN":"VOICE_MESSAGES_FORBIDDEN","WEBDOCUMENT_MIME_INVALID":"WEBDOCUMENT_MIME_INVALID","WEBPAGE_CURL_FAILED":"WEBPAGE_CURL_FAILED","WEBPAGE_MEDIA_EMPTY":"WEBPAGE_MEDIA_EMPTY","WEBPAGE_NOT_FOUND":"WEBPAGE_NOT_FOUND","WEBPAGE_URL_INVALID":"WEBPAGE_URL_INVALID","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.getBotCallbackAnswer":{"BOT_RESPONSE_TIMEOUT":"BOT_RESPONSE_TIMEOUT","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","DATA_INVALID":"DATA_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.setGameScore":{"BOT_SCORE_NOT_MODIFIED":"BOT_SCORE_NOT_MODIFIED","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","SCORE_INVALID":"SCORE_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"channels.setDiscussionGroup":{"BROADCAST_ID_INVALID":"BROADCAST_ID_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","LINK_NOT_MODIFIED":"LINK_NOT_MODIFIED","MEGAGROUP_ID_INVALID":"MEGAGROUP_ID_INVALID","MEGAGROUP_PREHISTORY_HIDDEN":"MEGAGROUP_PREHISTORY_HIDDEN"},"messages.forwardMessages":{"BROADCAST_PUBLIC_VOTERS_FORBIDDEN":"BROADCAST_PUBLIC_VOTERS_FORBIDDEN","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_FORWARDS_RESTRICTED":"CHAT_FORWARDS_RESTRICTED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_RESTRICTED":"CHAT_RESTRICTED","GROUPED_MEDIA_INVALID":"GROUPED_MEDIA_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MEDIA_EMPTY":"MEDIA_EMPTY","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MESSAGE_IDS_EMPTY":"MESSAGE_IDS_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","QUIZ_ANSWER_MISSING":"QUIZ_ANSWER_MISSING","RANDOM_ID_INVALID":"RANDOM_ID_INVALID","SCHEDULE_BOT_NOT_ALLOWED":"SCHEDULE_BOT_NOT_ALLOWED","SCHEDULE_DATE_TOO_LATE":"SCHEDULE_DATE_TOO_LATE","SCHEDULE_TOO_MUCH":"SCHEDULE_TOO_MUCH","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID","SLOWMODE_MULTI_MSGS_DISABLED":"SLOWMODE_MULTI_MSGS_DISABLED","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_IS_BOT":"USER_IS_BOT","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"stats.getBroadcastStats":{"BROADCAST_REQUIRED":"BROADCAST_REQUIRED","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"messages.editInlineBotMessage":{"BUTTON_DATA_INVALID":"BUTTON_DATA_INVALID","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MESSAGE_NOT_MODIFIED":"MESSAGE_NOT_MODIFIED"},"bots.setBotMenuButton":{"BUTTON_TEXT_INVALID":"BUTTON_TEXT_INVALID","BUTTON_URL_INVALID":"BUTTON_URL_INVALID"},"test.test":{"BUTTON_URL_INVALID":"BUTTON_URL_INVALID"},"phone.acceptCall":{"CALL_ALREADY_ACCEPTED":"CALL_ALREADY_ACCEPTED","CALL_ALREADY_DECLINED":"CALL_ALREADY_DECLINED","CALL_PEER_INVALID":"CALL_PEER_INVALID","CALL_PROTOCOL_FLAGS_INVALID":"CALL_PROTOCOL_FLAGS_INVALID"},"phone.discardCall":{"CALL_ALREADY_ACCEPTED":"CALL_ALREADY_ACCEPTED","CALL_OCCUPY_FAILED":"CALL_OCCUPY_FAILED","CALL_PEER_INVALID":"CALL_PEER_INVALID"},"phone.confirmCall":{"CALL_ALREADY_DECLINED":"CALL_ALREADY_DECLINED","CALL_PEER_INVALID":"CALL_PEER_INVALID"},"phone.receivedCall":{"CALL_ALREADY_DECLINED":"CALL_ALREADY_DECLINED","CALL_PEER_INVALID":"CALL_PEER_INVALID"},"phone.saveCallDebug":{"CALL_PEER_INVALID":"CALL_PEER_INVALID","DATA_JSON_INVALID":"DATA_JSON_INVALID"},"phone.setCallRating":{"CALL_PEER_INVALID":"CALL_PEER_INVALID"},"phone.requestCall":{"CALL_PROTOCOL_FLAGS_INVALID":"CALL_PROTOCOL_FLAGS_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","PARTICIPANT_VERSION_OUTDATED":"PARTICIPANT_VERSION_OUTDATED","USER_ID_INVALID":"USER_ID_INVALID","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"updates.getDifference":{"CDN_METHOD_INVALID":"CDN_METHOD_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","DATE_EMPTY":"DATE_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","PERSISTENT_TIMESTAMP_EMPTY":"PERSISTENT_TIMESTAMP_EMPTY","PERSISTENT_TIMESTAMP_INVALID":"PERSISTENT_TIMESTAMP_INVALID","USER_NOT_PARTICIPANT":"USER_NOT_PARTICIPANT","USERNAME_INVALID":"USERNAME_INVALID"},"upload.getCdnFileHashes":{"CDN_METHOD_INVALID":"CDN_METHOD_INVALID","FILE_TOKEN_INVALID":"FILE_TOKEN_INVALID","RSA_DECRYPT_FAILED":"RSA_DECRYPT_FAILED"},"upload.getFile":{"CDN_METHOD_INVALID":"CDN_METHOD_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","FILE_ID_INVALID":"FILE_ID_INVALID","FILE_REFERENCE_*":"FILE_REFERENCE_*","FILE_REFERENCE_EXPIRED":"FILE_REFERENCE_EXPIRED","LIMIT_INVALID":"LIMIT_INVALID","LOCATION_INVALID":"LOCATION_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","OFFSET_INVALID":"OFFSET_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"upload.reuploadCdnFile":{"CDN_METHOD_INVALID":"CDN_METHOD_INVALID","FILE_TOKEN_INVALID":"FILE_TOKEN_INVALID","LOCATION_INVALID":"LOCATION_INVALID","REQUEST_TOKEN_INVALID":"REQUEST_TOKEN_INVALID","RSA_DECRYPT_FAILED":"RSA_DECRYPT_FAILED"},"channels.createForumTopic":{"CHANNEL_FORUM_MISSING":"CHANNEL_FORUM_MISSING","CHANNEL_INVALID":"CHANNEL_INVALID","TOPIC_TITLE_EMPTY":"TOPIC_TITLE_EMPTY"},"channels.editForumTopic":{"CHANNEL_FORUM_MISSING":"CHANNEL_FORUM_MISSING","CHANNEL_INVALID":"CHANNEL_INVALID","DOCUMENT_INVALID":"DOCUMENT_INVALID","GENERAL_MODIFY_ICON_FORBIDDEN":"GENERAL_MODIFY_ICON_FORBIDDEN","TOPIC_CLOSE_SEPARATELY":"TOPIC_CLOSE_SEPARATELY","TOPIC_HIDE_SEPARATELY":"TOPIC_HIDE_SEPARATELY","TOPIC_ID_INVALID":"TOPIC_ID_INVALID","TOPIC_NOT_MODIFIED":"TOPIC_NOT_MODIFIED"},"channels.getForumTopics":{"CHANNEL_FORUM_MISSING":"CHANNEL_FORUM_MISSING","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getForumTopicsByID":{"CHANNEL_FORUM_MISSING":"CHANNEL_FORUM_MISSING","CHANNEL_INVALID":"CHANNEL_INVALID","TOPICS_EMPTY":"TOPICS_EMPTY"},"channels.convertToGigagroup":{"CHANNEL_ID_INVALID":"CHANNEL_ID_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","FORUM_ENABLED":"FORUM_ENABLED","PARTICIPANTS_TOO_FEW":"PARTICIPANTS_TOO_FEW"},"account.updateNotifySettings":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","SETTINGS_INVALID":"SETTINGS_INVALID"},"channels.checkUsername":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_ADMIN_PUBLIC_TOO_MUCH":"CHANNELS_ADMIN_PUBLIC_TOO_MUCH","CHAT_ID_INVALID":"CHAT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USERNAME_INVALID":"USERNAME_INVALID","USERNAME_OCCUPIED":"USERNAME_OCCUPIED","USERNAME_PURCHASE_AVAILABLE":"USERNAME_PURCHASE_AVAILABLE"},"channels.clickSponsoredMessage":{"CHANNEL_INVALID":"CHANNEL_INVALID"},"channels.deleteChannel":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNEL_TOO_LARGE":"CHANNEL_TOO_LARGE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"channels.deleteHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PARICIPANT_MISSING":"CHANNEL_PARICIPANT_MISSING","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNEL_TOO_BIG":"CHANNEL_TOO_BIG","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"channels.deleteMessages":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.deleteParticipantHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MSG_ID_INVALID":"MSG_ID_INVALID","PARTICIPANT_ID_INVALID":"PARTICIPANT_ID_INVALID"},"channels.deleteTopicHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","TOPIC_ID_INVALID":"TOPIC_ID_INVALID"},"channels.deleteUserHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"channels.editAbout":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ABOUT_NOT_MODIFIED":"CHAT_ABOUT_NOT_MODIFIED","CHAT_ABOUT_TOO_LONG":"CHAT_ABOUT_TOO_LONG","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"channels.editBanned":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PARTICIPANT_ID_INVALID":"PARTICIPANT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ADMIN_INVALID":"USER_ADMIN_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"channels.editPhoto":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","FILE_REFERENCE_INVALID":"FILE_REFERENCE_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","PHOTO_CROP_SIZE_SMALL":"PHOTO_CROP_SIZE_SMALL","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_INVALID":"PHOTO_INVALID","STICKER_MIME_INVALID":"STICKER_MIME_INVALID"},"channels.editTitle":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","CHAT_TITLE_EMPTY":"CHAT_TITLE_EMPTY"},"channels.exportInvite":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"channels.exportMessageLink":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.getAdminLog":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.getChannelRecommendations":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getChannels":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"channels.getFullChannel":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.getMessages":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MESSAGE_IDS_EMPTY":"MESSAGE_IDS_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"channels.getParticipant":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MSG_ID_INVALID":"MSG_ID_INVALID","PARTICIPANT_ID_INVALID":"PARTICIPANT_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID","USER_NOT_PARTICIPANT":"USER_NOT_PARTICIPANT"},"channels.getParticipants":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.getSendAs":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"channels.getSponsoredMessages":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.joinChannel":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_INVALID":"CHAT_INVALID","INVITE_HASH_EMPTY":"INVITE_HASH_EMPTY","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","INVITE_HASH_INVALID":"INVITE_HASH_INVALID","INVITE_REQUEST_SENT":"INVITE_REQUEST_SENT","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ALREADY_PARTICIPANT":"USER_ALREADY_PARTICIPANT","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH","USERS_TOO_MUCH":"USERS_TOO_MUCH"},"channels.leaveChannel":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_INVALID":"CHAT_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_CREATOR":"USER_CREATOR","USER_NOT_PARTICIPANT":"USER_NOT_PARTICIPANT"},"channels.readHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.readMessageContents":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.reorderUsernames":{"CHANNEL_INVALID":"CHANNEL_INVALID"},"channels.reportSpam":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"channels.setStickers":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ID_INVALID":"CHAT_ID_INVALID","PARTICIPANTS_TOO_FEW":"PARTICIPANTS_TOO_FEW"},"channels.toggleInvites":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"channels.toggleJoinRequest":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","CHAT_PUBLIC_REQUIRED":"CHAT_PUBLIC_REQUIRED"},"channels.toggleJoinToSend":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"channels.togglePreHistoryHidden":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_LINK_EXISTS":"CHAT_LINK_EXISTS","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","FORUM_ENABLED":"FORUM_ENABLED"},"channels.toggleSignatures":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"channels.toggleSlowMode":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","SECONDS_INVALID":"SECONDS_INVALID"},"channels.toggleViewForumAsMessages":{"CHANNEL_INVALID":"CHANNEL_INVALID"},"channels.updateEmojiStatus":{"CHANNEL_INVALID":"CHANNEL_INVALID"},"channels.updatePinnedMessage":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"channels.updateUsername":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_ADMIN_PUBLIC_TOO_MUCH":"CHANNELS_ADMIN_PUBLIC_TOO_MUCH","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","USERNAME_INVALID":"USERNAME_INVALID","USERNAME_NOT_MODIFIED":"USERNAME_NOT_MODIFIED","USERNAME_OCCUPIED":"USERNAME_OCCUPIED","USERNAME_PURCHASE_AVAILABLE":"USERNAME_PURCHASE_AVAILABLE"},"channels.viewSponsoredMessage":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.editChatAbout":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ABOUT_NOT_MODIFIED":"CHAT_ABOUT_NOT_MODIFIED","CHAT_ABOUT_TOO_LONG":"CHAT_ABOUT_TOO_LONG","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.exportChatInvite":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","EXPIRE_DATE_INVALID":"EXPIRE_DATE_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USAGE_LIMIT_INVALID":"USAGE_LIMIT_INVALID"},"messages.getChatInviteImporters":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","PEER_ID_INVALID":"PEER_ID_INVALID","SEARCH_WITH_LINK_NOT_SUPPORTED":"SEARCH_WITH_LINK_NOT_SUPPORTED"},"messages.getDiscussionMessage":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","TOPIC_ID_INVALID":"TOPIC_ID_INVALID"},"messages.getHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","TAKEOUT_INVALID":"TAKEOUT_INVALID"},"messages.getMessagesReactions":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.getMessagesViews":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getPeerDialogs":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getPeerSettings":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getReplies":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","TOPIC_ID_INVALID":"TOPIC_ID_INVALID"},"messages.getUnreadMentions":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.hideAllChatJoinRequests":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","HIDE_REQUESTER_MISSING":"HIDE_REQUESTER_MISSING","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","PEER_ID_INVALID":"PEER_ID_INVALID","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH"},"messages.importChatInvite":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_INVALID":"CHAT_INVALID","INVITE_HASH_EMPTY":"INVITE_HASH_EMPTY","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","INVITE_HASH_INVALID":"INVITE_HASH_INVALID","INVITE_REQUEST_SENT":"INVITE_REQUEST_SENT","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ALREADY_PARTICIPANT":"USER_ALREADY_PARTICIPANT","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH","USERS_TOO_MUCH":"USERS_TOO_MUCH"},"messages.readMentions":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.report":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.search":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","FROM_PEER_INVALID":"FROM_PEER_INVALID","INPUT_FILTER_INVALID":"INPUT_FILTER_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","PEER_ID_NOT_SUPPORTED":"PEER_ID_NOT_SUPPORTED","SEARCH_QUERY_EMPTY":"SEARCH_QUERY_EMPTY","USER_ID_INVALID":"USER_ID_INVALID"},"messages.sendInlineBotResult":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_RESTRICTED":"CHAT_RESTRICTED","CHAT_SEND_INLINE_FORBIDDEN":"CHAT_SEND_INLINE_FORBIDDEN","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","INLINE_RESULT_EXPIRED":"INLINE_RESULT_EXPIRED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MEDIA_EMPTY":"MEDIA_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","QUERY_ID_EMPTY":"QUERY_ID_EMPTY","RESULT_ID_EMPTY":"RESULT_ID_EMPTY","RESULT_ID_INVALID":"RESULT_ID_INVALID","SCHEDULE_DATE_TOO_LATE":"SCHEDULE_DATE_TOO_LATE","SCHEDULE_TOO_MUCH":"SCHEDULE_TOO_MUCH","TOPIC_DELETED":"TOPIC_DELETED","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","VOICE_MESSAGES_FORBIDDEN":"VOICE_MESSAGES_FORBIDDEN","WEBPAGE_CURL_FAILED":"WEBPAGE_CURL_FAILED","WEBPAGE_MEDIA_EMPTY":"WEBPAGE_MEDIA_EMPTY","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.sendMultiMedia":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_FORWARDS_RESTRICTED":"CHAT_FORWARDS_RESTRICTED","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","MEDIA_CAPTION_TOO_LONG":"MEDIA_CAPTION_TOO_LONG","MEDIA_EMPTY":"MEDIA_EMPTY","MEDIA_INVALID":"MEDIA_INVALID","MULTI_MEDIA_TOO_LONG":"MULTI_MEDIA_TOO_LONG","PEER_ID_INVALID":"PEER_ID_INVALID","RANDOM_ID_EMPTY":"RANDOM_ID_EMPTY","SCHEDULE_DATE_TOO_LATE":"SCHEDULE_DATE_TOO_LATE","SCHEDULE_TOO_MUCH":"SCHEDULE_TOO_MUCH","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"messages.sendReaction":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CUSTOM_REACTIONS_TOO_MANY":"CUSTOM_REACTIONS_TOO_MANY","DOCUMENT_INVALID":"DOCUMENT_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MESSAGE_NOT_MODIFIED":"MESSAGE_NOT_MODIFIED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","REACTION_EMPTY":"REACTION_EMPTY","REACTION_INVALID":"REACTION_INVALID","REACTIONS_TOO_MANY":"REACTIONS_TOO_MANY","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"messages.sendVote":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MESSAGE_POLL_CLOSED":"MESSAGE_POLL_CLOSED","MSG_ID_INVALID":"MSG_ID_INVALID","OPTION_INVALID":"OPTION_INVALID","OPTIONS_TOO_MUCH":"OPTIONS_TOO_MUCH","PEER_ID_INVALID":"PEER_ID_INVALID","REVOTE_NOT_ALLOWED":"REVOTE_NOT_ALLOWED"},"messages.setTyping":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_IS_BOT":"USER_IS_BOT"},"messages.uploadMedia":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_RESTRICTED":"CHAT_RESTRICTED","FILE_PART_LENGTH_INVALID":"FILE_PART_LENGTH_INVALID","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MEDIA_INVALID":"MEDIA_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_INVALID_DIMENSIONS":"PHOTO_INVALID_DIMENSIONS","PHOTO_SAVE_FILE_INVALID":"PHOTO_SAVE_FILE_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","WEBPAGE_CURL_FAILED":"WEBPAGE_CURL_FAILED"},"stats.getMegagroupStats":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MEGAGROUP_REQUIRED":"MEGAGROUP_REQUIRED"},"stats.getMessagePublicForwards":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"stats.getMessageStats":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getBoostersList":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getPeerStories":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getStoriesByID":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PEER_ID_INVALID":"PEER_ID_INVALID","STORIES_NEVER_CREATED":"STORIES_NEVER_CREATED","STORY_ID_EMPTY":"STORY_ID_EMPTY"},"stories.getStoriesViews":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PEER_ID_INVALID":"PEER_ID_INVALID","STORY_ID_EMPTY":"STORY_ID_EMPTY"},"updates.getChannelDifference":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","FROM_MESSAGE_BOT_DISABLED":"FROM_MESSAGE_BOT_DISABLED","MSG_ID_INVALID":"MSG_ID_INVALID","PERSISTENT_TIMESTAMP_EMPTY":"PERSISTENT_TIMESTAMP_EMPTY","PERSISTENT_TIMESTAMP_INVALID":"PERSISTENT_TIMESTAMP_INVALID","PINNED_DIALOGS_TOO_MUCH":"PINNED_DIALOGS_TOO_MUCH","RANGES_INVALID":"RANGES_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"users.getFullUser":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID","USERNAME_OCCUPIED":"USERNAME_OCCUPIED"},"users.getUsers":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","FROM_MESSAGE_BOT_DISABLED":"FROM_MESSAGE_BOT_DISABLED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"account.reportPeer":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PEER_ID_INVALID":"PEER_ID_INVALID"},"channels.editCreator":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_ADMIN_PUBLIC_TOO_MUCH":"CHANNELS_ADMIN_PUBLIC_TOO_MUCH","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PASSWORD_HASH_INVALID":"PASSWORD_HASH_INVALID","PASSWORD_MISSING":"PASSWORD_MISSING","PASSWORD_TOO_FRESH_%d":"PASSWORD_TOO_FRESH_%d","SESSION_TOO_FRESH_%d":"SESSION_TOO_FRESH_%d","SRP_ID_INVALID":"SRP_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"channels.toggleUsername":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","USERNAME_INVALID":"USERNAME_INVALID","USERNAMES_ACTIVE_TOO_MUCH":"USERNAMES_ACTIVE_TOO_MUCH"},"contacts.addContact":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CONTACT_ID_INVALID":"CONTACT_ID_INVALID","CONTACT_NAME_EMPTY":"CONTACT_NAME_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID"},"contacts.block":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CONTACT_ID_INVALID":"CONTACT_ID_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"contacts.unblock":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CONTACT_ID_INVALID":"CONTACT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"folders.editPeerFolders":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","FOLDER_ID_INVALID":"FOLDER_ID_INVALID"},"messages.deleteHistory":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_REVOKE_DATE_UNSUPPORTED":"CHAT_REVOKE_DATE_UNSUPPORTED","MAX_DATE_INVALID":"MAX_DATE_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MIN_DATE_INVALID":"MIN_DATE_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.editExportedChatInvite":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_INVITE_PERMANENT":"CHAT_INVITE_PERMANENT","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","PEER_ID_INVALID":"PEER_ID_INVALID","USAGE_LIMIT_INVALID":"USAGE_LIMIT_INVALID"},"messages.getExportedChatInvite":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getOnlines":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.hideChatJoinRequest":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","HIDE_REQUESTER_MISSING":"HIDE_REQUESTER_MISSING","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ALREADY_PARTICIPANT":"USER_ALREADY_PARTICIPANT","USER_ID_INVALID":"USER_ID_INVALID"},"messages.readHistory":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.reportSpam":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.toggleDialogPin":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PEER_HISTORY_EMPTY":"PEER_HISTORY_EMPTY","PEER_ID_INVALID":"PEER_ID_INVALID","PINNED_DIALOGS_TOO_MUCH":"PINNED_DIALOGS_TOO_MUCH"},"phone.createGroupCall":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CREATE_CALL_FAILED":"CREATE_CALL_FAILED","PEER_ID_INVALID":"PEER_ID_INVALID","SCHEDULE_DATE_INVALID":"SCHEDULE_DATE_INVALID"},"channels.getAdminedPublicChannels":{"CHANNELS_ADMIN_LOCATED_TOO_MUCH":"CHANNELS_ADMIN_LOCATED_TOO_MUCH","CHANNELS_ADMIN_PUBLIC_TOO_MUCH":"CHANNELS_ADMIN_PUBLIC_TOO_MUCH"},"messages.migrateChat":{"CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"channels.editLocation":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","MEGAGROUP_GEO_REQUIRED":"MEGAGROUP_GEO_REQUIRED","MEGAGROUP_REQUIRED":"MEGAGROUP_REQUIRED"},"messages.checkHistoryImportPeer":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT"},"messages.deleteChat":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.deleteChatUser":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID","USER_NOT_PARTICIPANT":"USER_NOT_PARTICIPANT"},"messages.editChatTitle":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","CHAT_TITLE_EMPTY":"CHAT_TITLE_EMPTY","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getAdminsWithInvites":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getMessageEditData":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getScheduledHistory":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getScheduledMessages":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.initHistoryImport":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","IMPORT_FILE_INVALID":"IMPORT_FILE_INVALID","IMPORT_FORMAT_DATE_INVALID":"IMPORT_FORMAT_DATE_INVALID","IMPORT_FORMAT_UNRECOGNIZED":"IMPORT_FORMAT_UNRECOGNIZED","IMPORT_HISTORY_LOG_EMPTY":"IMPORT_HISTORY_LOG_EMPTY","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.setChatAvailableReactions":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.toggleNoForwards":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.unpinAllMessages":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.uploadImportedMedia":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"phone.getGroupCallStreamRtmpUrl":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"premium.getBoostsList":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getStoriesArchive":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"channels.toggleForum":{"CHAT_DISCUSSION_UNALLOWED":"CHAT_DISCUSSION_UNALLOWED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"messages.discardEncryption":{"CHAT_ID_EMPTY":"CHAT_ID_EMPTY","ENCRYPTION_ALREADY_ACCEPTED":"ENCRYPTION_ALREADY_ACCEPTED","ENCRYPTION_ALREADY_DECLINED":"ENCRYPTION_ALREADY_DECLINED","ENCRYPTION_ID_INVALID":"ENCRYPTION_ID_INVALID"},"channels.toggleParticipantsHidden":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PARTICIPANTS_TOO_FEW":"PARTICIPANTS_TOO_FEW"},"messages.acceptEncryption":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","ENCRYPTION_ALREADY_ACCEPTED":"ENCRYPTION_ALREADY_ACCEPTED","ENCRYPTION_ALREADY_DECLINED":"ENCRYPTION_ALREADY_DECLINED"},"messages.editChatAdmin":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID","USER_NOT_PARTICIPANT":"USER_NOT_PARTICIPANT"},"messages.editChatPhoto":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","PEER_ID_INVALID":"PEER_ID_INVALID","PHOTO_CROP_SIZE_SMALL":"PHOTO_CROP_SIZE_SMALL","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_INVALID":"PHOTO_INVALID"},"messages.forwardMessage":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.getChats":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getFullChat":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.readDiscussion":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.reportEncryptedSpam":{"CHAT_ID_INVALID":"CHAT_ID_INVALID"},"messages.sendEncrypted":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","DATA_INVALID":"DATA_INVALID","DATA_TOO_LONG":"DATA_TOO_LONG","ENCRYPTION_DECLINED":"ENCRYPTION_DECLINED","MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.sendEncryptedFile":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","DATA_TOO_LONG":"DATA_TOO_LONG","ENCRYPTION_DECLINED":"ENCRYPTION_DECLINED","FILE_EMTPY":"FILE_EMTPY","MD5_CHECKSUM_INVALID":"MD5_CHECKSUM_INVALID","MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.sendEncryptedService":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","DATA_INVALID":"DATA_INVALID","ENCRYPTION_DECLINED":"ENCRYPTION_DECLINED","ENCRYPTION_ID_INVALID":"ENCRYPTION_ID_INVALID","MSG_WAIT_FAILED":"MSG_WAIT_FAILED","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"messages.setEncryptedTyping":{"CHAT_ID_INVALID":"CHAT_ID_INVALID"},"messages.toggleChatAdmins":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"messages.updateDialogFilter":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","CHATLIST_EXCLUDE_INVALID":"CHATLIST_EXCLUDE_INVALID","FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_INCLUDE_EMPTY":"FILTER_INCLUDE_EMPTY","FILTER_TITLE_EMPTY":"FILTER_TITLE_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.createChat":{"CHAT_INVALID":"CHAT_INVALID","CHAT_TITLE_EMPTY":"CHAT_TITLE_EMPTY","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","TTL_PERIOD_INVALID":"TTL_PERIOD_INVALID","USERS_TOO_FEW":"USERS_TOO_FEW"},"channels.toggleAntiSpam":{"CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"messages.setHistoryTTL":{"CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","TTL_PERIOD_INVALID":"TTL_PERIOD_INVALID"},"messages.getMessageReadParticipants":{"CHAT_TOO_BIG":"CHAT_TOO_BIG","MSG_ID_INVALID":"MSG_ID_INVALID","MSG_TOO_OLD":"MSG_TOO_OLD","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getMessagesReadParticipants":{"CHAT_TOO_BIG":"CHAT_TOO_BIG","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID"},"account.deleteBusinessChatLink":{"CHATLINK_SLUG_EMPTY":"CHATLINK_SLUG_EMPTY"},"account.editBusinessChatLink":{"CHATLINK_SLUG_EMPTY":"CHATLINK_SLUG_EMPTY"},"account.resolveBusinessChatLink":{"CHATLINK_SLUG_EMPTY":"CHATLINK_SLUG_EMPTY"},"auth.recoverPassword":{"CODE_EMPTY":"CODE_EMPTY","NEW_SETTINGS_INVALID":"NEW_SETTINGS_INVALID"},"account.confirmPhone":{"CODE_HASH_INVALID":"CODE_HASH_INVALID","PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY"},"account.confirmPasswordEmail":{"CODE_INVALID":"CODE_INVALID","EMAIL_HASH_EXPIRED":"EMAIL_HASH_EXPIRED"},"fragment.getCollectibleInfo":{"COLLECTIBLE_INVALID":"COLLECTIBLE_INVALID","COLLECTIBLE_NOT_FOUND":"COLLECTIBLE_NOT_FOUND"},"account.updateColor":{"COLOR_INVALID":"COLOR_INVALID"},"help.getConfig":{"CONNECTION_API_ID_INVALID":"CONNECTION_API_ID_INVALID","CONNECTION_APP_VERSION_EMPTY":"CONNECTION_APP_VERSION_EMPTY","CONNECTION_LAYER_INVALID":"CONNECTION_LAYER_INVALID","DATA_INVALID":"DATA_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","USERNAME_INVALID":"USERNAME_INVALID"},"account.getBotBusinessConnection":{"CONNECTION_ID_INVALID":"CONNECTION_ID_INVALID"},"contacts.resolveUsername":{"CONNECTION_LAYER_INVALID":"CONNECTION_LAYER_INVALID","USERNAME_INVALID":"USERNAME_INVALID","USERNAME_NOT_OCCUPIED":"USERNAME_NOT_OCCUPIED"},"initConnection":{"CONNECTION_LAYER_INVALID":"CONNECTION_LAYER_INVALID"},"contacts.acceptContact":{"CONTACT_ADD_MISSING":"CONTACT_ADD_MISSING","CONTACT_ID_INVALID":"CONTACT_ID_INVALID","CONTACT_REQ_MISSING":"CONTACT_REQ_MISSING","MSG_ID_INVALID":"MSG_ID_INVALID"},"contacts.deleteContact":{"CONTACT_ID_INVALID":"CONTACT_ID_INVALID"},"photos.uploadContactProfilePhoto":{"CONTACT_MISSING":"CONTACT_MISSING","USER_ID_INVALID":"USER_ID_INVALID"},"payments.exportInvoice":{"CURRENCY_TOTAL_AMOUNT_INVALID":"CURRENCY_TOTAL_AMOUNT_INVALID","INVOICE_PAYLOAD_INVALID":"INVOICE_PAYLOAD_INVALID","MEDIA_INVALID":"MEDIA_INVALID","PAYMENT_PROVIDER_INVALID":"PAYMENT_PROVIDER_INVALID"},"bots.answerWebhookJSONQuery":{"DATA_JSON_INVALID":"DATA_JSON_INVALID","QUERY_ID_INVALID":"QUERY_ID_INVALID","USER_BOT_INVALID":"USER_BOT_INVALID"},"bots.sendCustomRequest":{"DATA_JSON_INVALID":"DATA_JSON_INVALID","METHOD_INVALID":"METHOD_INVALID","USER_BOT_INVALID":"USER_BOT_INVALID"},"help.acceptTermsOfService":{"DATA_JSON_INVALID":"DATA_JSON_INVALID"},"phone.joinGroupCall":{"DATA_JSON_INVALID":"DATA_JSON_INVALID","GROUPCALL_INVALID":"GROUPCALL_INVALID","GROUPCALL_SSRC_DUPLICATE_MUCH":"GROUPCALL_SSRC_DUPLICATE_MUCH","JOIN_AS_PEER_INVALID":"JOIN_AS_PEER_INVALID"},"auth.exportAuthorization":{"DC_ID_INVALID":"DC_ID_INVALID"},"messages.requestEncryption":{"DH_G_A_INVALID":"DH_G_A_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","USER_ID_INVALID":"USER_ID_INVALID"},"account.updateEmojiStatus":{"DOCUMENT_INVALID":"DOCUMENT_INVALID"},"upload.getWebFile":{"DOCUMENT_INVALID":"DOCUMENT_INVALID","LOCATION_INVALID":"LOCATION_INVALID"},"account.cancelPasswordEmail":{"EMAIL_HASH_EXPIRED":"EMAIL_HASH_EXPIRED"},"account.resendPasswordEmail":{"EMAIL_HASH_EXPIRED":"EMAIL_HASH_EXPIRED"},"account.sendVerifyEmailCode":{"EMAIL_INVALID":"EMAIL_INVALID","EMAIL_NOT_SETUP":"EMAIL_NOT_SETUP","PHONE_HASH_EXPIRED":"PHONE_HASH_EXPIRED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"account.updatePasswordSettings":{"EMAIL_INVALID":"EMAIL_INVALID","EMAIL_UNCONFIRMED":"EMAIL_UNCONFIRMED","EMAIL_UNCONFIRMED_%d":"EMAIL_UNCONFIRMED_%d","NEW_SALT_INVALID":"NEW_SALT_INVALID","NEW_SETTINGS_EMPTY":"NEW_SETTINGS_EMPTY","NEW_SETTINGS_INVALID":"NEW_SETTINGS_INVALID","PASSWORD_HASH_INVALID":"PASSWORD_HASH_INVALID","SRP_ID_INVALID":"SRP_ID_INVALID","SRP_PASSWORD_CHANGED":"SRP_PASSWORD_CHANGED"},"account.verifyEmail":{"EMAIL_INVALID":"EMAIL_INVALID","EMAIL_VERIFY_EXPIRED":"EMAIL_VERIFY_EXPIRED"},"messages.setChatTheme":{"EMOJI_INVALID":"EMOJI_INVALID","EMOJI_NOT_MODIFIED":"EMOJI_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getStickers":{"EMOTICON_EMPTY":"EMOTICON_EMPTY"},"messages.searchCustomEmoji":{"EMOTICON_EMPTY":"EMOTICON_EMPTY"},"messages.getStickerSet":{"EMOTICON_STICKERPACK_MISSING":"EMOTICON_STICKERPACK_MISSING","STICKERSET_INVALID":"STICKERSET_INVALID"},"auth.bindTempAuthKey":{"ENCRYPTED_MESSAGE_INVALID":"ENCRYPTED_MESSAGE_INVALID","TEMP_AUTH_KEY_ALREADY_BOUND":"TEMP_AUTH_KEY_ALREADY_BOUND","TEMP_AUTH_KEY_EMPTY":"TEMP_AUTH_KEY_EMPTY"},"help.editUserInfo":{"ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","USER_INVALID":"USER_INVALID"},"messages.getWebPagePreview":{"ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","MESSAGE_EMPTY":"MESSAGE_EMPTY"},"messages.saveDraft":{"ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.setBotPrecheckoutResults":{"ERROR_TEXT_EMPTY":"ERROR_TEXT_EMPTY"},"contacts.importCard":{"EXPORT_CARD_INVALID":"EXPORT_CARD_INVALID"},"upload.saveBigFilePart":{"FILE_PART_EMPTY":"FILE_PART_EMPTY","FILE_PART_INVALID":"FILE_PART_INVALID","FILE_PART_SIZE_CHANGED":"FILE_PART_SIZE_CHANGED","FILE_PART_SIZE_INVALID":"FILE_PART_SIZE_INVALID","FILE_PART_TOO_BIG":"FILE_PART_TOO_BIG","FILE_PARTS_INVALID":"FILE_PARTS_INVALID"},"upload.saveFilePart":{"FILE_PART_EMPTY":"FILE_PART_EMPTY","FILE_PART_INVALID":"FILE_PART_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID"},"upload.getCdnFile":{"FILE_TOKEN_INVALID":"FILE_TOKEN_INVALID"},"chatlists.deleteExportedInvite":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"chatlists.editExportedInvite":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"chatlists.exportChatlistInvite":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED","INVITES_TOO_MUCH":"INVITES_TOO_MUCH","PEERS_LIST_EMPTY":"PEERS_LIST_EMPTY"},"chatlists.getChatlistUpdates":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED","INPUT_CHATLIST_INVALID":"INPUT_CHATLIST_INVALID"},"chatlists.getLeaveChatlistSuggestions":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"chatlists.hideChatlistUpdates":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"chatlists.joinChatlistUpdates":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_INCLUDE_EMPTY":"FILTER_INCLUDE_EMPTY"},"chatlists.joinChatlistInvite":{"FILTER_INCLUDE_EMPTY":"FILTER_INCLUDE_EMPTY","INVITE_SLUG_EMPTY":"INVITE_SLUG_EMPTY","INVITE_SLUG_EXPIRED":"INVITE_SLUG_EXPIRED"},"messages.getSearchResultsCalendar":{"FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"messages.searchSentMedia":{"FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"auth.signUp":{"FIRSTNAME_INVALID":"FIRSTNAME_INVALID","LASTNAME_INVALID":"LASTNAME_INVALID","PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_CODE_INVALID":"PHONE_CODE_INVALID","PHONE_NUMBER_FLOOD":"PHONE_NUMBER_FLOOD","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_NUMBER_OCCUPIED":"PHONE_NUMBER_OCCUPIED"},"folders.deleteFolder":{"FOLDER_ID_EMPTY":"FOLDER_ID_EMPTY","FOLDER_ID_INVALID":"FOLDER_ID_INVALID"},"messages.getDialogs":{"FOLDER_ID_INVALID":"FOLDER_ID_INVALID","OFFSET_PEER_ID_INVALID":"OFFSET_PEER_ID_INVALID"},"messages.getPinnedDialogs":{"FOLDER_ID_INVALID":"FOLDER_ID_INVALID"},"messages.searchGlobal":{"FOLDER_ID_INVALID":"FOLDER_ID_INVALID","INPUT_FILTER_INVALID":"INPUT_FILTER_INVALID","SEARCH_QUERY_EMPTY":"SEARCH_QUERY_EMPTY"},"contacts.getLocated":{"GEO_POINT_INVALID":"GEO_POINT_INVALID","USERPIC_UPLOAD_REQUIRED":"USERPIC_UPLOAD_REQUIRED"},"messages.saveGif":{"GIF_ID_INVALID":"GIF_ID_INVALID"},"payments.applyGiftCode":{"GIFT_SLUG_EXPIRED":"GIFT_SLUG_EXPIRED","GIFT_SLUG_INVALID":"GIFT_SLUG_INVALID"},"payments.checkGiftCode":{"GIFT_SLUG_EXPIRED":"GIFT_SLUG_EXPIRED","GIFT_SLUG_INVALID":"GIFT_SLUG_INVALID"},"stats.loadAsyncGraph":{"GRAPH_EXPIRED_RELOAD":"GRAPH_EXPIRED_RELOAD","GRAPH_INVALID_RELOAD":"GRAPH_INVALID_RELOAD","GRAPH_OUTDATED_RELOAD":"GRAPH_OUTDATED_RELOAD"},"phone.discardGroupCall":{"GROUPCALL_ALREADY_DISCARDED":"GROUPCALL_ALREADY_DISCARDED","GROUPCALL_INVALID":"GROUPCALL_INVALID"},"phone.discardGroupCallRequest":{"GROUPCALL_ALREADY_DISCARDED":"GROUPCALL_ALREADY_DISCARDED"},"phone.editGroupCallParticipant":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN","PARTICIPANT_JOIN_MISSING":"PARTICIPANT_JOIN_MISSING","RAISE_HAND_FORBIDDEN":"RAISE_HAND_FORBIDDEN","USER_VOLUME_INVALID":"USER_VOLUME_INVALID","VIDEO_PAUSE_FORBIDDEN":"VIDEO_PAUSE_FORBIDDEN","VIDEO_STOP_FORBIDDEN":"VIDEO_STOP_FORBIDDEN"},"phone.editGroupCallTitle":{"GROUPCALL_INVALID":"GROUPCALL_INVALID"},"phone.getGroupCall":{"GROUPCALL_INVALID":"GROUPCALL_INVALID"},"phone.getGroupCallStreamChannels":{"GROUPCALL_INVALID":"GROUPCALL_INVALID","GROUPCALL_JOIN_MISSING":"GROUPCALL_JOIN_MISSING"},"phone.inviteToGroupCall":{"GROUPCALL_INVALID":"GROUPCALL_INVALID","INVITE_FORBIDDEN_WITH_JOINAS":"INVITE_FORBIDDEN_WITH_JOINAS","USER_ALREADY_INVITED":"USER_ALREADY_INVITED"},"phone.toggleGroupCallRecord":{"GROUPCALL_INVALID":"GROUPCALL_INVALID","GROUPCALL_NOT_MODIFIED":"GROUPCALL_NOT_MODIFIED"},"phone.checkGroupCall":{"GROUPCALL_JOIN_MISSING":"GROUPCALL_JOIN_MISSING"},"phone.toggleGroupCallSettings":{"GROUPCALL_NOT_MODIFIED":"GROUPCALL_NOT_MODIFIED"},"account.changeAuthorizationSettings":{"HASH_INVALID":"HASH_INVALID"},"account.resetAuthorization":{"HASH_INVALID":"HASH_INVALID"},"account.resetWebAuthorization":{"HASH_INVALID":"HASH_INVALID"},"account.sendConfirmPhoneCode":{"HASH_INVALID":"HASH_INVALID"},"messages.checkHistoryImport":{"IMPORT_FORMAT_UNRECOGNIZED":"IMPORT_FORMAT_UNRECOGNIZED"},"messages.startHistoryImport":{"IMPORT_ID_INVALID":"IMPORT_ID_INVALID"},"contacts.importContactToken":{"IMPORT_TOKEN_INVALID":"IMPORT_TOKEN_INVALID"},"messages.translateText":{"INPUT_TEXT_EMPTY":"INPUT_TEXT_EMPTY","INPUT_TEXT_TOO_LONG":"INPUT_TEXT_TOO_LONG","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","TO_LANG_INVALID":"TO_LANG_INVALID","TRANSLATE_REQ_QUOTA_EXCEEDED":"TRANSLATE_REQ_QUOTA_EXCEEDED"},"messages.sendScreenshotNotification":{"INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","PEER_ID_INVALID":"PEER_ID_INVALID","REPLY_MESSAGE_ID_INVALID":"REPLY_MESSAGE_ID_INVALID","STORY_ID_INVALID":"STORY_ID_INVALID","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.checkChatInvite":{"INVITE_HASH_EMPTY":"INVITE_HASH_EMPTY","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","INVITE_HASH_INVALID":"INVITE_HASH_INVALID"},"messages.deleteExportedChatInvite":{"INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","INVITE_REVOKED_MISSING":"INVITE_REVOKED_MISSING","PEER_ID_INVALID":"PEER_ID_INVALID"},"chatlists.checkChatlistInvite":{"INVITE_SLUG_EMPTY":"INVITE_SLUG_EMPTY","INVITE_SLUG_EXPIRED":"INVITE_SLUG_EXPIRED"},"phone.saveDefaultGroupCallJoinAs":{"JOIN_AS_PEER_INVALID":"JOIN_AS_PEER_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"bots.resetBotCommands":{"LANG_CODE_INVALID":"LANG_CODE_INVALID"},"langpack.getLangPack":{"LANG_CODE_NOT_SUPPORTED":"LANG_CODE_NOT_SUPPORTED","LANG_PACK_INVALID":"LANG_PACK_INVALID"},"langpack.getLanguage":{"LANG_CODE_NOT_SUPPORTED":"LANG_CODE_NOT_SUPPORTED","LANG_PACK_INVALID":"LANG_PACK_INVALID"},"langpack.getStrings":{"LANG_CODE_NOT_SUPPORTED":"LANG_CODE_NOT_SUPPORTED","LANG_PACK_INVALID":"LANG_PACK_INVALID"},"langpack.getDifference":{"LANG_PACK_INVALID":"LANG_PACK_INVALID"},"langpack.getLanguages":{"LANG_PACK_INVALID":"LANG_PACK_INVALID"},"upload.getFileHashes":{"LOCATION_INVALID":"LOCATION_INVALID"},"messages.readEncryptedHistory":{"MAX_DATE_INVALID":"MAX_DATE_INVALID","MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"photos.getUserPhotos":{"MAX_ID_INVALID":"MAX_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"stories.readStories":{"MAX_ID_INVALID":"MAX_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","STORIES_NEVER_CREATED":"STORIES_NEVER_CREATED"},"messages.receivedQueue":{"MAX_QTS_INVALID":"MAX_QTS_INVALID","MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"auth.sendInvites":{"MESSAGE_EMPTY":"MESSAGE_EMPTY"},"messages.deleteMessages":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID"},"messages.getGameHighScores":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"messages.getInlineGameHighScores":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"messages.getPollResults":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.sendScheduledMessages":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.setInlineGameScore":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"payments.getPaymentReceipt":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID"},"payments.sendPaymentForm":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID"},"payments.validateRequestedInfo":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID"},"messages.setBotCallbackAnswer":{"MESSAGE_TOO_LONG":"MESSAGE_TOO_LONG","QUERY_ID_INVALID":"QUERY_ID_INVALID","URL_INVALID":"URL_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"messages.searchGifs":{"METHOD_INVALID":"METHOD_INVALID","SEARCH_QUERY_EMPTY":"SEARCH_QUERY_EMPTY"},"contacts.blockFromReplies":{"MSG_ID_INVALID":"MSG_ID_INVALID"},"messages.getCommonChats":{"MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"messages.getMessageReactionsList":{"MSG_ID_INVALID":"MSG_ID_INVALID"},"messages.getPollVotes":{"MSG_ID_INVALID":"MSG_ID_INVALID"},"messages.reportReaction":{"MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"smsjobs.join":{"NOT_ELIGIBLE":"NOT_ELIGIBLE"},"smsjobs.getStatus":{"NOT_JOINED":"NOT_JOINED"},"smsjobs.leave":{"NOT_JOINED":"NOT_JOINED"},"smsjobs.updateSettings":{"NOT_JOINED":"NOT_JOINED"},"account.reorderUsernames":{"ORDER_INVALID":"ORDER_INVALID"},"stickers.createStickerSet":{"PACK_SHORT_NAME_INVALID":"PACK_SHORT_NAME_INVALID","PACK_SHORT_NAME_OCCUPIED":"PACK_SHORT_NAME_OCCUPIED","PACK_TITLE_INVALID":"PACK_TITLE_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","STICKER_EMOJI_INVALID":"STICKER_EMOJI_INVALID","STICKER_FILE_INVALID":"STICKER_FILE_INVALID","STICKER_GIF_DIMENSIONS":"STICKER_GIF_DIMENSIONS","STICKER_PNG_DIMENSIONS":"STICKER_PNG_DIMENSIONS","STICKER_PNG_NOPNG":"STICKER_PNG_NOPNG","STICKER_TGS_NODOC":"STICKER_TGS_NODOC","STICKER_TGS_NOTGS":"STICKER_TGS_NOTGS","STICKER_THUMB_PNG_NOPNG":"STICKER_THUMB_PNG_NOPNG","STICKER_THUMB_TGS_NOTGS":"STICKER_THUMB_TGS_NOTGS","STICKER_VIDEO_BIG":"STICKER_VIDEO_BIG","STICKER_VIDEO_NODOC":"STICKER_VIDEO_NODOC","STICKER_VIDEO_NOWEBM":"STICKER_VIDEO_NOWEBM","STICKERS_EMPTY":"STICKERS_EMPTY","USER_ID_INVALID":"USER_ID_INVALID"},"phone.joinGroupCallPresentation":{"PARTICIPANT_JOIN_MISSING":"PARTICIPANT_JOIN_MISSING"},"account.resetPassword":{"PASSWORD_EMPTY":"PASSWORD_EMPTY"},"auth.requestPasswordRecovery":{"PASSWORD_EMPTY":"PASSWORD_EMPTY","PASSWORD_RECOVERY_NA":"PASSWORD_RECOVERY_NA"},"account.getPasswordSettings":{"PASSWORD_HASH_INVALID":"PASSWORD_HASH_INVALID"},"account.getTmpPassword":{"PASSWORD_HASH_INVALID":"PASSWORD_HASH_INVALID","TMP_PASSWORD_DISABLED":"TMP_PASSWORD_DISABLED"},"auth.checkPassword":{"PASSWORD_HASH_INVALID":"PASSWORD_HASH_INVALID","SRP_ID_INVALID":"SRP_ID_INVALID","SRP_PASSWORD_CHANGED":"SRP_PASSWORD_CHANGED"},"auth.checkRecoveryPassword":{"PASSWORD_RECOVERY_EXPIRED":"PASSWORD_RECOVERY_EXPIRED"},"account.saveSecureValue":{"PASSWORD_REQUIRED":"PASSWORD_REQUIRED"},"account.getNotifySettings":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"account.reportProfilePhoto":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"account.saveAutoSaveSettings":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"contacts.resetTopPeerRating":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.deleteSavedHistory":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.deleteScheduledMessages":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getOutboxReadDate":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getSavedHistory":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getSearchCounters":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getStatsURL":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getUnreadReactions":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.hideReportSpam":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.markDialogUnread":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.readReactions":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.reorderPinnedDialogs":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.saveDefaultSendAs":{"PEER_ID_INVALID":"PEER_ID_INVALID","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID"},"messages.setChatWallPaper":{"PEER_ID_INVALID":"PEER_ID_INVALID","WALLPAPER_INVALID":"WALLPAPER_INVALID","WALLPAPER_NOT_FOUND":"WALLPAPER_NOT_FOUND"},"messages.toggleSavedDialogPin":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.transcribeAudio":{"PEER_ID_INVALID":"PEER_ID_INVALID","TRANSCRIPTION_FAILED":"TRANSCRIPTION_FAILED"},"payments.getGiveawayInfo":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"payments.launchPrepaidGiveaway":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"phone.getGroupCallJoinAs":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"premium.getBoostsStatus":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"premium.getUserBoosts":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stats.getStoryPublicForwards":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stats.getStoryStats":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.deleteStories":{"PEER_ID_INVALID":"PEER_ID_INVALID","STORY_ID_EMPTY":"STORY_ID_EMPTY"},"stories.editStory":{"PEER_ID_INVALID":"PEER_ID_INVALID","STORY_NOT_MODIFIED":"STORY_NOT_MODIFIED"},"stories.exportStoryLink":{"PEER_ID_INVALID":"PEER_ID_INVALID","STORY_ID_EMPTY":"STORY_ID_EMPTY","USER_PUBLIC_MISSING":"USER_PUBLIC_MISSING"},"stories.getBoostsStatus":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getPinnedStories":{"PEER_ID_INVALID":"PEER_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"stories.getStoryReactionsList":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getStoryViewsList":{"PEER_ID_INVALID":"PEER_ID_INVALID","STORY_ID_INVALID":"STORY_ID_INVALID"},"stories.incrementStoryViews":{"PEER_ID_INVALID":"PEER_ID_INVALID","STORY_ID_EMPTY":"STORY_ID_EMPTY"},"stories.report":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.sendReaction":{"PEER_ID_INVALID":"PEER_ID_INVALID","REACTION_INVALID":"REACTION_INVALID","STORY_ID_EMPTY":"STORY_ID_EMPTY","STORY_ID_INVALID":"STORY_ID_INVALID"},"stories.togglePeerStoriesHidden":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.togglePinned":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"account.changePhone":{"PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_NUMBER_OCCUPIED":"PHONE_NUMBER_OCCUPIED"},"account.verifyPhone":{"PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.requestFirebaseSms":{"PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.resendCode":{"PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_CODE_HASH_EMPTY":"PHONE_CODE_HASH_EMPTY","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.signIn":{"PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_CODE_INVALID":"PHONE_CODE_INVALID","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_NUMBER_UNOCCUPIED":"PHONE_NUMBER_UNOCCUPIED"},"auth.cancelCode":{"PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"contacts.resolvePhone":{"PHONE_NOT_OCCUPIED":"PHONE_NOT_OCCUPIED"},"account.sendChangePhoneCode":{"PHONE_NUMBER_BANNED":"PHONE_NUMBER_BANNED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_NUMBER_OCCUPIED":"PHONE_NUMBER_OCCUPIED"},"auth.checkPhone":{"PHONE_NUMBER_BANNED":"PHONE_NUMBER_BANNED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"account.sendVerifyPhoneCode":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.resetLoginEmail":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","TASK_ALREADY_EXISTS":"TASK_ALREADY_EXISTS"},"account.getPrivacy":{"PRIVACY_KEY_INVALID":"PRIVACY_KEY_INVALID"},"account.setPrivacy":{"PRIVACY_KEY_INVALID":"PRIVACY_KEY_INVALID","PRIVACY_TOO_LONG":"PRIVACY_TOO_LONG","PRIVACY_VALUE_INVALID":"PRIVACY_VALUE_INVALID"},"account.acceptAuthorization":{"PUBLIC_KEY_REQUIRED":"PUBLIC_KEY_REQUIRED"},"account.getAuthorizationForm":{"PUBLIC_KEY_REQUIRED":"PUBLIC_KEY_REQUIRED"},"messages.sendWebViewResultMessage":{"QUERY_ID_INVALID":"QUERY_ID_INVALID"},"messages.setBotShippingResults":{"QUERY_ID_INVALID":"QUERY_ID_INVALID"},"contacts.search":{"QUERY_TOO_SHORT":"QUERY_TOO_SHORT","SEARCH_QUERY_EMPTY":"SEARCH_QUERY_EMPTY"},"messages.getDhConfig":{"RANDOM_LENGTH_INVALID":"RANDOM_LENGTH_INVALID"},"messages.setDefaultReaction":{"REACTION_INVALID":"REACTION_INVALID"},"messages.updateSavedReactionTag":{"REACTION_INVALID":"REACTION_INVALID"},"account.declinePasswordReset":{"RESET_REQUEST_MISSING":"RESET_REQUEST_MISSING"},"bots.setBotBroadcastDefaultAdminRights":{"RIGHTS_NOT_MODIFIED":"RIGHTS_NOT_MODIFIED"},"bots.setBotGroupDefaultAdminRights":{"RIGHTS_NOT_MODIFIED":"RIGHTS_NOT_MODIFIED","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"messages.getDocumentByHash":{"SHA256_HASH_INVALID":"SHA256_HASH_INVALID"},"stickers.checkShortName":{"SHORT_NAME_INVALID":"SHORT_NAME_INVALID","SHORT_NAME_OCCUPIED":"SHORT_NAME_OCCUPIED"},"messages.deleteQuickReplyMessages":{"SHORTCUT_INVALID":"SHORTCUT_INVALID"},"messages.deleteQuickReplyShortcut":{"SHORTCUT_INVALID":"SHORTCUT_INVALID"},"messages.editQuickReplyShortcut":{"SHORTCUT_INVALID":"SHORTCUT_INVALID"},"messages.getQuickReplyMessages":{"SHORTCUT_INVALID":"SHORTCUT_INVALID"},"smsjobs.finishJob":{"SMSJOB_ID_INVALID":"SMSJOB_ID_INVALID"},"smsjobs.getSmsJob":{"SMSJOB_ID_INVALID":"SMSJOB_ID_INVALID"},"messages.faveSticker":{"STICKER_ID_INVALID":"STICKER_ID_INVALID"},"messages.saveRecentSticker":{"STICKER_ID_INVALID":"STICKER_ID_INVALID"},"stickers.changeStickerPosition":{"STICKER_INVALID":"STICKER_INVALID"},"stickers.setStickerSetThumb":{"STICKER_THUMB_PNG_NOPNG":"STICKER_THUMB_PNG_NOPNG","STICKER_THUMB_TGS_NOTGS":"STICKER_THUMB_TGS_NOTGS","STICKERSET_INVALID":"STICKERSET_INVALID"},"messages.installStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"messages.uninstallStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"stickers.renameStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"contacts.getSaved":{"TAKEOUT_REQUIRED":"TAKEOUT_REQUIRED"},"account.uploadTheme":{"THEME_FILE_INVALID":"THEME_FILE_INVALID"},"account.getTheme":{"THEME_FORMAT_INVALID":"THEME_FORMAT_INVALID","THEME_INVALID":"THEME_INVALID"},"account.updateTheme":{"THEME_INVALID":"THEME_INVALID"},"account.createTheme":{"THEME_MIME_INVALID":"THEME_MIME_INVALID","THEME_TITLE_INVALID":"THEME_TITLE_INVALID"},"stickers.suggestShortName":{"TITLE_INVALID":"TITLE_INVALID"},"account.registerDevice":{"TOKEN_EMPTY":"TOKEN_EMPTY","TOKEN_INVALID":"TOKEN_INVALID","TOKEN_TYPE_INVALID":"TOKEN_TYPE_INVALID","WEBPUSH_AUTH_INVALID":"WEBPUSH_AUTH_INVALID","WEBPUSH_KEY_INVALID":"WEBPUSH_KEY_INVALID","WEBPUSH_TOKEN_INVALID":"WEBPUSH_TOKEN_INVALID"},"account.unregisterDevice":{"TOKEN_INVALID":"TOKEN_INVALID"},"channels.updatePinnedForumTopic":{"TOPIC_ID_INVALID":"TOPIC_ID_INVALID"},"account.setAccountTTL":{"TTL_DAYS_INVALID":"TTL_DAYS_INVALID"},"account.setAuthorizationTTL":{"TTL_DAYS_INVALID":"TTL_DAYS_INVALID"},"messages.setDefaultHistoryTTL":{"TTL_PERIOD_INVALID":"TTL_PERIOD_INVALID"},"contacts.getTopPeers":{"TYPES_EMPTY":"TYPES_EMPTY"},"bots.getBotCommands":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"bots.setBotInfo":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"bots.getBotMenuButton":{"USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"users.setSecureValueErrors":{"USER_BOT_REQUIRED":"USER_BOT_REQUIRED","USER_ID_INVALID":"USER_ID_INVALID"},"stories.getUserStories":{"USER_ID_INVALID":"USER_ID_INVALID"},"help.getSupportName":{"USER_INVALID":"USER_INVALID"},"help.getUserInfo":{"USER_INVALID":"USER_INVALID"},"account.checkUsername":{"USERNAME_INVALID":"USERNAME_INVALID","USERNAME_OCCUPIED":"USERNAME_OCCUPIED","USERNAME_PURCHASE_AVAILABLE":"USERNAME_PURCHASE_AVAILABLE"},"account.toggleUsername":{"USERNAME_INVALID":"USERNAME_INVALID","USERNAMES_ACTIVE_TOO_MUCH":"USERNAMES_ACTIVE_TOO_MUCH"},"account.updateUsername":{"USERNAME_INVALID":"USERNAME_INVALID","USERNAME_NOT_MODIFIED":"USERNAME_NOT_MODIFIED","USERNAME_OCCUPIED":"USERNAME_OCCUPIED","USERNAME_PURCHASE_AVAILABLE":"USERNAME_PURCHASE_AVAILABLE"},"account.uploadWallPaper":{"WALLPAPER_FILE_INVALID":"WALLPAPER_FILE_INVALID","WALLPAPER_MIME_INVALID":"WALLPAPER_MIME_INVALID"},"account.getMultiWallPapers":{"WALLPAPER_INVALID":"WALLPAPER_INVALID"},"account.getWallPaper":{"WALLPAPER_INVALID":"WALLPAPER_INVALID"},"account.installWallPaper":{"WALLPAPER_INVALID":"WALLPAPER_INVALID"},"account.saveWallPaper":{"WALLPAPER_INVALID":"WALLPAPER_INVALID"},"messages.getWebPage":{"WC_CONVERT_URL_INVALID":"WC_CONVERT_URL_INVALID"}},"403":{"messages.sendReaction":{"ANONYMOUS_REACTIONS_DISABLED":"ANONYMOUS_REACTIONS_DISABLED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED"},"messages.getMessageReactionsList":{"BROADCAST_FORBIDDEN":"BROADCAST_FORBIDDEN"},"messages.getPollVotes":{"BROADCAST_FORBIDDEN":"BROADCAST_FORBIDDEN","POLL_VOTE_REQUIRED":"POLL_VOTE_REQUIRED"},"channels.getFullChannel":{"CHANNEL_PUBLIC_GROUP_NA":"CHANNEL_PUBLIC_GROUP_NA"},"channels.leaveChannel":{"CHANNEL_PUBLIC_GROUP_NA":"CHANNEL_PUBLIC_GROUP_NA"},"updates.getChannelDifference":{"CHANNEL_PUBLIC_GROUP_NA":"CHANNEL_PUBLIC_GROUP_NA","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.editAdmin":{"CHAT_ADMIN_INVITE_REQUIRED":"CHAT_ADMIN_INVITE_REQUIRED","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","RIGHT_FORBIDDEN":"RIGHT_FORBIDDEN","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USER_PRIVACY_RESTRICTED":"USER_PRIVACY_RESTRICTED","USER_RESTRICTED":"USER_RESTRICTED"},"channels.deleteUserHistory":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.editBanned":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.editForumTopic":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"channels.editPhoto":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.editTitle":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.getAdminLog":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.getParticipant":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"channels.getParticipants":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"channels.inviteToChannel":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USER_PRIVACY_RESTRICTED":"USER_PRIVACY_RESTRICTED"},"channels.updateUsername":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.addChatUser":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USER_PRIVACY_RESTRICTED":"USER_PRIVACY_RESTRICTED"},"messages.editMessage":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_SEND_GIFS_FORBIDDEN":"CHAT_SEND_GIFS_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","INLINE_BOT_REQUIRED":"INLINE_BOT_REQUIRED","MESSAGE_AUTHOR_REQUIRED":"MESSAGE_AUTHOR_REQUIRED"},"messages.forwardMessages":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_GUEST_SEND_FORBIDDEN":"CHAT_GUEST_SEND_FORBIDDEN","CHAT_SEND_AUDIOS_FORBIDDEN":"CHAT_SEND_AUDIOS_FORBIDDEN","CHAT_SEND_DOCS_FORBIDDEN":"CHAT_SEND_DOCS_FORBIDDEN","CHAT_SEND_GAME_FORBIDDEN":"CHAT_SEND_GAME_FORBIDDEN","CHAT_SEND_GIFS_FORBIDDEN":"CHAT_SEND_GIFS_FORBIDDEN","CHAT_SEND_MEDIA_FORBIDDEN":"CHAT_SEND_MEDIA_FORBIDDEN","CHAT_SEND_PHOTOS_FORBIDDEN":"CHAT_SEND_PHOTOS_FORBIDDEN","CHAT_SEND_PLAIN_FORBIDDEN":"CHAT_SEND_PLAIN_FORBIDDEN","CHAT_SEND_POLL_FORBIDDEN":"CHAT_SEND_POLL_FORBIDDEN","CHAT_SEND_STICKERS_FORBIDDEN":"CHAT_SEND_STICKERS_FORBIDDEN","CHAT_SEND_VIDEOS_FORBIDDEN":"CHAT_SEND_VIDEOS_FORBIDDEN","CHAT_SEND_VOICES_FORBIDDEN":"CHAT_SEND_VOICES_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED","USER_IS_BLOCKED":"USER_IS_BLOCKED","VOICE_MESSAGES_FORBIDDEN":"VOICE_MESSAGES_FORBIDDEN"},"messages.migrateChat":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"messages.search":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"messages.sendMedia":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_GUEST_SEND_FORBIDDEN":"CHAT_GUEST_SEND_FORBIDDEN","CHAT_SEND_AUDIOS_FORBIDDEN":"CHAT_SEND_AUDIOS_FORBIDDEN","CHAT_SEND_DOCS_FORBIDDEN":"CHAT_SEND_DOCS_FORBIDDEN","CHAT_SEND_GIFS_FORBIDDEN":"CHAT_SEND_GIFS_FORBIDDEN","CHAT_SEND_MEDIA_FORBIDDEN":"CHAT_SEND_MEDIA_FORBIDDEN","CHAT_SEND_PHOTOS_FORBIDDEN":"CHAT_SEND_PHOTOS_FORBIDDEN","CHAT_SEND_PLAIN_FORBIDDEN":"CHAT_SEND_PLAIN_FORBIDDEN","CHAT_SEND_POLL_FORBIDDEN":"CHAT_SEND_POLL_FORBIDDEN","CHAT_SEND_ROUNDVIDEOS_FORBIDDEN":"CHAT_SEND_ROUNDVIDEOS_FORBIDDEN","CHAT_SEND_STICKERS_FORBIDDEN":"CHAT_SEND_STICKERS_FORBIDDEN","CHAT_SEND_VIDEOS_FORBIDDEN":"CHAT_SEND_VIDEOS_FORBIDDEN","CHAT_SEND_VOICES_FORBIDDEN":"CHAT_SEND_VOICES_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED","PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"messages.sendMessage":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_GUEST_SEND_FORBIDDEN":"CHAT_GUEST_SEND_FORBIDDEN","CHAT_SEND_PLAIN_FORBIDDEN":"CHAT_SEND_PLAIN_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"stats.getBroadcastStats":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"stats.getMegagroupStats":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"messages.sendInlineBotResult":{"CHAT_GUEST_SEND_FORBIDDEN":"CHAT_GUEST_SEND_FORBIDDEN","CHAT_SEND_AUDIOS_FORBIDDEN":"CHAT_SEND_AUDIOS_FORBIDDEN","CHAT_SEND_GAME_FORBIDDEN":"CHAT_SEND_GAME_FORBIDDEN","CHAT_SEND_GIFS_FORBIDDEN":"CHAT_SEND_GIFS_FORBIDDEN","CHAT_SEND_INLINE_FORBIDDEN":"CHAT_SEND_INLINE_FORBIDDEN","CHAT_SEND_MEDIA_FORBIDDEN":"CHAT_SEND_MEDIA_FORBIDDEN","CHAT_SEND_PHOTOS_FORBIDDEN":"CHAT_SEND_PHOTOS_FORBIDDEN","CHAT_SEND_PLAIN_FORBIDDEN":"CHAT_SEND_PLAIN_FORBIDDEN","CHAT_SEND_STICKERS_FORBIDDEN":"CHAT_SEND_STICKERS_FORBIDDEN","CHAT_SEND_VOICES_FORBIDDEN":"CHAT_SEND_VOICES_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.sendMultiMedia":{"CHAT_SEND_MEDIA_FORBIDDEN":"CHAT_SEND_MEDIA_FORBIDDEN","CHAT_SEND_PHOTOS_FORBIDDEN":"CHAT_SEND_PHOTOS_FORBIDDEN","CHAT_SEND_VIDEOS_FORBIDDEN":"CHAT_SEND_VIDEOS_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.convertToGigagroup":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.createForumTopic":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED"},"channels.deleteChannel":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.deleteParticipantHistory":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.editCreator":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.setDiscussionGroup":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"invokeWithLayer":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.editChatAbout":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.editChatDefaultBannedRights":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.editExportedChatInvite":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","EDIT_BOT_INVITE_FORBIDDEN":"EDIT_BOT_INVITE_FORBIDDEN"},"messages.exportChatInvite":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getAdminsWithInvites":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getChatInviteImporters":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getDialogs":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getExportedChatInvite":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getExportedChatInvites":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getMessageEditData":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","MESSAGE_AUTHOR_REQUIRED":"MESSAGE_AUTHOR_REQUIRED"},"messages.hideAllChatJoinRequests":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.hideChatJoinRequest":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH"},"messages.setTyping":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"messages.startBot":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.updatePinnedMessage":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.uploadMedia":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"updates.getDifference":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"phone.toggleGroupCallStartSubscription":{"GROUPCALL_ALREADY_STARTED":"GROUPCALL_ALREADY_STARTED"},"phone.discardGroupCall":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.editGroupCallParticipant":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.editGroupCallTitle":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.getGroupCall":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.inviteToGroupCall":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.joinGroupCall":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.toggleGroupCallRecord":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"channels.deleteMessages":{"MESSAGE_DELETE_FORBIDDEN":"MESSAGE_DELETE_FORBIDDEN"},"messages.deleteMessages":{"MESSAGE_DELETE_FORBIDDEN":"MESSAGE_DELETE_FORBIDDEN"},"messages.deleteScheduledMessages":{"MESSAGE_DELETE_FORBIDDEN":"MESSAGE_DELETE_FORBIDDEN"},"smsjobs.isEligibleToJoin":{"NOT_ELIGIBLE":"NOT_ELIGIBLE"},"phone.joinGroupCallPresentation":{"PARTICIPANT_JOIN_MISSING":"PARTICIPANT_JOIN_MISSING"},"messages.transcribeAudio":{"PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED"},"messages.requestWebView":{"PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED"},"phone.exportGroupCallInvite":{"PUBLIC_CHANNEL_MISSING":"PUBLIC_CHANNEL_MISSING"},"account.setContentSettings":{"SENSITIVE_CHANGE_FORBIDDEN":"SENSITIVE_CHANGE_FORBIDDEN"},"account.finishTakeoutSession":{"TAKEOUT_REQUIRED":"TAKEOUT_REQUIRED"},"channels.getLeftChannels":{"TAKEOUT_REQUIRED":"TAKEOUT_REQUIRED"},"contacts.getSaved":{"TAKEOUT_REQUIRED":"TAKEOUT_REQUIRED"},"bots.answerWebhookJSONQuery":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"bots.sendCustomRequest":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"messages.setInlineBotResults":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"users.setSecureValueErrors":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"messages.sendEncryptedService":{"USER_DELETED":"USER_DELETED","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"help.editUserInfo":{"USER_INVALID":"USER_INVALID"},"help.getSupportName":{"USER_INVALID":"USER_INVALID"},"help.getUserInfo":{"USER_INVALID":"USER_INVALID"},"messages.sendEncrypted":{"USER_IS_BLOCKED":"USER_IS_BLOCKED"},"phone.requestCall":{"USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_PRIVACY_RESTRICTED":"USER_PRIVACY_RESTRICTED"},"help.getConfig":{"USER_PRIVACY_RESTRICTED":"USER_PRIVACY_RESTRICTED"},"channels.createChannel":{"USER_RESTRICTED":"USER_RESTRICTED"},"messages.createChat":{"USER_RESTRICTED":"USER_RESTRICTED"}},"500":{"auth.sendCode":{"AUTH_RESTART":"AUTH_RESTART"},"auth.signIn":{"AUTH_RESTART":"AUTH_RESTART","SIGN_IN_FAILED":"SIGN_IN_FAILED"},"phone.acceptCall":{"CALL_OCCUPY_FAILED":"CALL_OCCUPY_FAILED"},"phone.discardCall":{"CALL_OCCUPY_FAILED":"CALL_OCCUPY_FAILED"},"upload.getCdnFileHashes":{"CDN_SALTS_EMPTY":"CDN_SALTS_EMPTY"},"upload.reuploadCdnFile":{"CDN_UPLOAD_TIMEOUT":"CDN_UPLOAD_TIMEOUT"},"messages.createChat":{"CHAT_ID_GENERATE_FAILED":"CHAT_ID_GENERATE_FAILED"},"channels.createChannel":{"CHAT_INVALID":"CHAT_INVALID"},"messages.migrateChat":{"CHAT_INVALID":"CHAT_INVALID"},"messages.editMessage":{"MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.receivedQueue":{"MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.sendEncrypted":{"MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.sendEncryptedService":{"MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.sendMessage":{"MSG_WAIT_FAILED":"MSG_WAIT_FAILED","RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"updates.getChannelDifference":{"PERSISTENT_TIMESTAMP_OUTDATED":"PERSISTENT_TIMESTAMP_OUTDATED"},"messages.forwardMessages":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"messages.sendInlineBotResult":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE","SEND_MEDIA_INVALID":"SEND_MEDIA_INVALID"},"messages.sendMedia":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"messages.sendMultiMedia":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"messages.sendScheduledMessages":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"messages.startBot":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"updates.getDifference":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"}},"406":{"channels.editBanned":{"BANNED_RIGHTS_INVALID":"BANNED_RIGHTS_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"phone.acceptCall":{"CALL_PROTOCOL_COMPAT_LAYER_INVALID":"CALL_PROTOCOL_COMPAT_LAYER_INVALID"},"channels.deleteChannel":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNEL_TOO_LARGE":"CHANNEL_TOO_LARGE"},"channels.deleteMessages":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getAdminLog":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getChannels":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getFullChannel":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getMessages":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getParticipant":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getParticipants":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.inviteToChannel":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.joinChannel":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"channels.leaveChannel":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.readHistory":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.readMessageContents":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.checkChatInvite":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"messages.editMessage":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.forwardMessages":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_FORWARDS_RESTRICTED":"CHAT_FORWARDS_RESTRICTED","PAYMENT_UNSUPPORTED":"PAYMENT_UNSUPPORTED","PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED"},"messages.getHistory":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.getInlineBotResults":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.getMessagesViews":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.getPeerDialogs":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.sendMedia":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED"},"messages.sendMessage":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PAYMENT_UNSUPPORTED":"PAYMENT_UNSUPPORTED","PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED"},"messages.setTyping":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"updates.getChannelDifference":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"upload.getFile":{"FILEREF_UPGRADE_NEEDED":"FILEREF_UPGRADE_NEEDED"},"channels.editAdmin":{"FRESH_CHANGE_ADMINS_FORBIDDEN":"FRESH_CHANGE_ADMINS_FORBIDDEN"},"account.sendChangePhoneCode":{"FRESH_CHANGE_PHONE_FORBIDDEN":"FRESH_CHANGE_PHONE_FORBIDDEN","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"account.resetAuthorization":{"FRESH_RESET_AUTHORISATION_FORBIDDEN":"FRESH_RESET_AUTHORISATION_FORBIDDEN"},"account.setAuthorizationTTL":{"FRESH_RESET_AUTHORISATION_FORBIDDEN":"FRESH_RESET_AUTHORISATION_FORBIDDEN"},"auth.resetAuthorizations":{"FRESH_RESET_AUTHORISATION_FORBIDDEN":"FRESH_RESET_AUTHORISATION_FORBIDDEN"},"invokeWithLayer":{"INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"messages.importChatInvite":{"INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"account.changePhone":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.cancelCode":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.checkPhone":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.resendCode":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","SEND_CODE_UNAVAILABLE":"SEND_CODE_UNAVAILABLE"},"auth.sendCode":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_PASSWORD_FLOOD":"PHONE_PASSWORD_FLOOD","UPDATE_APP_TO_LOGIN":"UPDATE_APP_TO_LOGIN"},"auth.signIn":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","UPDATE_APP_TO_LOGIN":"UPDATE_APP_TO_LOGIN"},"auth.signUp":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"messages.initHistoryImport":{"PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_%dMIN":"PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_%dMIN"},"messages.getStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"messages.installStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"messages.uninstallStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"stickers.addStickerToSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"channels.setStickers":{"STICKERSET_OWNER_ANONYMOUS":"STICKERSET_OWNER_ANONYMOUS"},"channels.createChannel":{"USER_RESTRICTED":"USER_RESTRICTED"},"messages.createChat":{"USER_RESTRICTED":"USER_RESTRICTED"},"contacts.getLocated":{"USERPIC_PRIVACY_REQUIRED":"USERPIC_PRIVACY_REQUIRED","USERPIC_UPLOAD_REQUIRED":"USERPIC_UPLOAD_REQUIRED"}},"-503":{"messages.getBotCallbackAnswer":{"Timeout":"Timeout"},"messages.getInlineBotResults":{"Timeout":"Timeout"}}},"human_result":{"2FA_CONFIRM_WAIT_%d":"Since this account is active and protected by a 2FA password, we will delete it in 1 week for security purposes. You can cancel this process at any time, you'll be able to reset your account in %d seconds.","ABOUT_TOO_LONG":"About string too long","ACCESS_TOKEN_EXPIRED":"Access token expired","ACCESS_TOKEN_INVALID":"Access token invalid","ACTIVE_USER_REQUIRED":"","ADDRESS_INVALID":"The specified geopoint address is invalid","ADMIN_ID_INVALID":"The specified admin ID is invalid","ADMIN_RANK_EMOJI_NOT_ALLOWED":"An admin rank cannot contain emojis","ADMIN_RANK_INVALID":"The specified admin rank is invalid.","ADMIN_RIGHTS_EMPTY":"The chatAdminRights constructor passed in keyboardButtonRequestPeer.peer_type.user_admin_rights has no rights set (i.e. flags is 0).","ADMINS_TOO_MUCH":"There are too many admins","ALBUM_PHOTOS_TOO_MANY":"You have uploaded too many profile photos, delete some before retrying.","ANONYMOUS_REACTIONS_DISABLED":"Sorry, anonymous administrators cannot leave reactions or participate in polls.","API_ID_INVALID":"API ID invalid","API_ID_PUBLISHED_FLOOD":"This API id was published somewhere, you can't use it now","ARTICLE_TITLE_EMPTY":"The title of the article is empty","AUDIO_CONTENT_URL_EMPTY":"The remote URL specified in the content field is empty","AUDIO_TITLE_EMPTY":"An empty audio title was provided.","AUTH_BYTES_INVALID":"The provided authorization is invalid","AUTH_KEY_DUPLICATED":"Concurrent usage of the current session from multiple connections was detected, the current session was invalidated by the server for security reasons!","AUTH_KEY_INVALID":"The specified auth key is invalid","AUTH_KEY_PERM_EMPTY":"The method is unavailable for temporary authorization keys, not bound to a permanent authorization key","AUTH_KEY_UNREGISTERED":"The specified authorization key is not registered in the system (for example, a PFS temporary key has expired)","AUTH_RESTART":"Restart the authorization process","AUTH_TOKEN_ALREADY_ACCEPTED":"The specified auth token was already accepted","AUTH_TOKEN_EXCEPTION":"An error occurred while importing the auth token","AUTH_TOKEN_EXPIRED":"The authorization token has expired","AUTH_TOKEN_INVALID":"The specified auth token is invalid","AUTH_TOKEN_INVALIDX":"The specified auth token is invalid","AUTOARCHIVE_NOT_AVAILABLE":"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.","BANK_CARD_NUMBER_INVALID":"The specified card number is invalid","BANNED_RIGHTS_INVALID":"You provided some invalid flags in the banned rights","BOOST_NOT_MODIFIED":"You're already [boosting](https:\/\/core.telegram.org\/api\/boost) the specified channel.","BOOST_PEER_INVALID":"The specified `boost_peer` is invalid","BOOSTS_EMPTY":"No boost slots were specified","BOOSTS_REQUIRED":"The specified channel must first be [boosted by its users](https:\/\/core.telegram.org\/api\/boost) in order to perform this action.","BOT_APP_BOT_INVALID":"The bot_id passed in the inputBotAppShortName constructor is invalid.","BOT_APP_INVALID":"The specified bot app is invalid","BOT_APP_SHORTNAME_INVALID":"The specified bot app short name is invalid","BOT_CHANNELS_NA":"Bots can't edit admin privileges","BOT_COMMAND_DESCRIPTION_INVALID":"The specified command description is invalid","BOT_COMMAND_INVALID":"The specified command is invalid","BOT_DOMAIN_INVALID":"Bot domain invalid","BOT_GAMES_DISABLED":"","BOT_GROUPS_BLOCKED":"This bot can't be added to groups","BOT_INLINE_DISABLED":"This bot can't be used in inline mode","BOT_INVALID":"This is not a valid bot","BOT_METHOD_INVALID":"The specified method cannot be used by bots.","BOT_MISSING":"Only bots can call this method, please use [@stickers](https:\/\/t.me\/stickers) if you're a user","BOT_ONESIDE_NOT_AVAIL":"Bots can't pin messages in PM just for themselves","BOT_PAYMENTS_DISABLED":"Please enable bot payments in botfather before calling this method.","BOT_POLLS_DISABLED":"","BOT_RESPONSE_TIMEOUT":"A timeout occurred while fetching data from the bot","BOT_SCORE_NOT_MODIFIED":"The score wasn't modified","BOT_WEBVIEW_DISABLED":"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.","BOTS_TOO_MUCH":"There are too many bots in this chat\/channel","BROADCAST_FORBIDDEN":"Channel poll voters and reactions cannot be fetched to prevent deanonymization.","BROADCAST_ID_INVALID":"Broadcast ID invalid","BROADCAST_PUBLIC_VOTERS_FORBIDDEN":"You can't forward polls with public voters","BROADCAST_REQUIRED":"This method can only be called on a channel, please use stats.getMegagroupStats for supergroups","BUTTON_DATA_INVALID":"The data of one or more of the buttons you provided is invalid","BUTTON_TEXT_INVALID":"The specified button text is invalid","BUTTON_TYPE_INVALID":"The type of one or more of the buttons you provided is invalid","BUTTON_URL_INVALID":"Button URL invalid","BUTTON_USER_INVALID":"The `user_id` passed to inputKeyboardButtonUserProfile is invalid!","BUTTON_USER_PRIVACY_RESTRICTED":"The privacy setting of the user specified in a [inputKeyboardButtonUserProfile](\/constructor\/inputKeyboardButtonUserProfile) button do not allow creating such a button","CALL_ALREADY_ACCEPTED":"The call was already accepted","CALL_ALREADY_DECLINED":"The call was already declined","CALL_OCCUPY_FAILED":"The call failed because the user is already making another call","CALL_PEER_INVALID":"The provided call peer object is invalid","CALL_PROTOCOL_COMPAT_LAYER_INVALID":"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.","CALL_PROTOCOL_FLAGS_INVALID":"Call protocol flags invalid","CDN_METHOD_INVALID":"You can't call this method in a CDN DC","CDN_SALTS_EMPTY":"","CDN_UPLOAD_TIMEOUT":"A server-side timeout occurred while reuploading the file to the CDN DC","CHANNEL_FORUM_MISSING":"This supergroup is not a forum","CHANNEL_ID_INVALID":"The specified supergroup ID is invalid","CHANNEL_INVALID":"The provided channel is invalid","CHANNEL_PARICIPANT_MISSING":"The current user is not in the channel","CHANNEL_PRIVATE":"You haven't joined this channel\/supergroup","CHANNEL_PUBLIC_GROUP_NA":"channel\/supergroup not available","CHANNEL_TOO_BIG":"This channel has too many participants (>1000) to be deleted.","CHANNEL_TOO_LARGE":"Channel is too large to be deleted; this error is issued when trying to delete channels with more than 1000 members (subject to change)","CHANNELS_ADMIN_LOCATED_TOO_MUCH":"The user has reached the limit of public geogroups","CHANNELS_ADMIN_PUBLIC_TOO_MUCH":"You're admin of too many public channels, make some channels private to change the username of this channel","CHANNELS_TOO_MUCH":"You have joined too many channels\/supergroups","CHAT_ABOUT_NOT_MODIFIED":"About text has not changed","CHAT_ABOUT_TOO_LONG":"Chat about too long","CHAT_ADMIN_INVITE_REQUIRED":"You do not have the rights to do this","CHAT_ADMIN_REQUIRED":"You must be an admin in this chat to do this","CHAT_DISCUSSION_UNALLOWED":"You can't enable forum topics in a discussion group linked to a channel","CHAT_FORBIDDEN":"This chat is not available to the current user","CHAT_FORWARDS_RESTRICTED":"You can't forward messages from a protected chat","CHAT_GUEST_SEND_FORBIDDEN":"You join the discussion group before commenting, see [here »](\/api\/discussion#requiring-users-to-join-the-group) for more info.","CHAT_ID_EMPTY":"The provided chat ID is empty","CHAT_ID_GENERATE_FAILED":"Failure while generating the chat ID","CHAT_ID_INVALID":"The provided chat id is invalid","CHAT_INVALID":"Invalid chat","CHAT_INVITE_PERMANENT":"You can't set an expiration date on permanent invite links","CHAT_LINK_EXISTS":"The chat is public, you can't hide the history to new users","CHAT_NOT_MODIFIED":"No changes were made to chat information because the new information you passed is identical to the current information.","CHAT_PUBLIC_REQUIRED":"You can only enable join requests in public groups","CHAT_RESTRICTED":"You can't send messages in this chat, you were restricted","CHAT_REVOKE_DATE_UNSUPPORTED":"`min_date` and `max_date` are not available for using with non-user peers.","CHAT_SEND_AUDIOS_FORBIDDEN":"You can't send audio messages in this chat","CHAT_SEND_DOCS_FORBIDDEN":"You can't send documents in this chat","CHAT_SEND_GAME_FORBIDDEN":"You can't send a game to this chat.","CHAT_SEND_GIFS_FORBIDDEN":"You can't send gifs in this chat","CHAT_SEND_INLINE_FORBIDDEN":"You can't send inline messages in this group","CHAT_SEND_MEDIA_FORBIDDEN":"You can't send media in this chat","CHAT_SEND_PHOTOS_FORBIDDEN":"You can't send photos in this chat","CHAT_SEND_PLAIN_FORBIDDEN":"You can't send non-media (text) messages in this chat","CHAT_SEND_POLL_FORBIDDEN":"You can't send polls in this chat","CHAT_SEND_ROUNDVIDEOS_FORBIDDEN":"You can't send round videos to this chat","CHAT_SEND_STICKERS_FORBIDDEN":"You can't send stickers in this chat.","CHAT_SEND_VIDEOS_FORBIDDEN":"You can't send videos in this chat","CHAT_SEND_VOICES_FORBIDDEN":"You can't send voice recordings in this chat","CHAT_TITLE_EMPTY":"No chat title provided","CHAT_TOO_BIG":"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).","CHAT_WRITE_FORBIDDEN":"You can't write in this chat","CHATLINK_SLUG_EMPTY":"The specified slug is empty","CHATLIST_EXCLUDE_INVALID":"The specified `exclude_peers` are invalid","CODE_EMPTY":"The provided code is empty","CODE_HASH_INVALID":"Code hash invalid","CODE_INVALID":"Code invalid","COLLECTIBLE_INVALID":"The specified collectible is invalid","COLLECTIBLE_NOT_FOUND":"The specified collectible could not be found","COLOR_INVALID":"The specified color palette ID was invalid.","CONNECTION_API_ID_INVALID":"The provided API id is invalid","CONNECTION_APP_VERSION_EMPTY":"App version is empty","CONNECTION_DEVICE_MODEL_EMPTY":"The specified device model is empty","CONNECTION_ID_INVALID":"The specified connection ID is invalid","CONNECTION_LANG_PACK_INVALID":"The specified language pack is empty","CONNECTION_LAYER_INVALID":"Layer invalid","CONNECTION_NOT_INITED":"Please initialize the connection using initConnection before making queries.","CONNECTION_SYSTEM_EMPTY":"The specified system version is empty","CONNECTION_SYSTEM_LANG_CODE_EMPTY":"The specified system language code is empty","CONTACT_ADD_MISSING":"Contact to add is missing","CONTACT_ID_INVALID":"The provided contact ID is invalid","CONTACT_MISSING":"The specified user is not a contact","CONTACT_NAME_EMPTY":"Contact name empty","CONTACT_REQ_MISSING":"Missing contact request","CREATE_CALL_FAILED":"An error occurred while creating the call.","CURRENCY_TOTAL_AMOUNT_INVALID":"The total amount of all prices is invalid","CUSTOM_REACTIONS_TOO_MANY":"Too many custom reactions were specified.","DATA_INVALID":"Encrypted data invalid","DATA_JSON_INVALID":"The provided JSON data is invalid","DATA_TOO_LONG":"Data too long","DATE_EMPTY":"Date empty","DC_ID_INVALID":"The provided DC ID is invalid","DH_G_A_INVALID":"g_a invalid","DOCUMENT_INVALID":"The specified document is invalid","EDIT_BOT_INVITE_FORBIDDEN":"Normal users can't edit invites that were created by bots","EMAIL_HASH_EXPIRED":"Email hash expired","EMAIL_INVALID":"The specified email is invalid","EMAIL_NOT_SETUP":"In order to change the login email with emailVerifyPurposeLoginChange, an existing login email must already be set using emailVerifyPurposeLoginSetup","EMAIL_UNCONFIRMED":"Email unconfirmed","EMAIL_UNCONFIRMED_%d":"The provided email isn't confirmed, %d is the length of the verification code that was just sent to the email: use [account.verifyEmail](https:\/\/core.telegram.org\/method\/account.verifyEmail) to enter the received verification code and enable the recovery email.","EMAIL_VERIFY_EXPIRED":"The verification email has expired","EMOJI_INVALID":"The specified theme emoji is valid","EMOJI_MARKUP_INVALID":"The specified `video_emoji_markup` was invalid","EMOJI_NOT_MODIFIED":"The theme wasn't changed","EMOTICON_EMPTY":"The emoji is empty","EMOTICON_INVALID":"The specified emoji is invalid","EMOTICON_STICKERPACK_MISSING":"inputStickerSetDice.emoji cannot be empty","ENCRYPTED_MESSAGE_INVALID":"Encrypted message invalid","ENCRYPTION_ALREADY_ACCEPTED":"Secret chat already accepted","ENCRYPTION_ALREADY_DECLINED":"The secret chat was already declined","ENCRYPTION_DECLINED":"The secret chat was declined","ENCRYPTION_ID_INVALID":"The provided secret chat ID is invalid","ENTITIES_TOO_LONG":"You provided too many styled message entities","ENTITY_BOUNDS_INVALID":"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","ENTITY_MENTION_USER_INVALID":"You mentioned an invalid user","ERROR_TEXT_EMPTY":"The provided error message is empty","EXPIRE_DATE_INVALID":"The specified expiration date is invalid","EXPORT_CARD_INVALID":"Provided card is invalid","EXTERNAL_URL_INVALID":"External URL invalid","FILE_CONTENT_TYPE_INVALID":"File content-type is invalid","FILE_EMTPY":"An empty file was provided","FILE_ID_INVALID":"The provided file id is invalid","FILE_MIGRATE_%d":"The file currently being accessed is stored in DC %d, please re-send the query to that DC.","FILE_PART_%d_MISSING":"Part %d of the file is missing from storage. Try repeating the method call to resave the part.","FILE_PART_EMPTY":"The provided file part is empty","FILE_PART_INVALID":"The file part number is invalid","FILE_PART_LENGTH_INVALID":"The length of a file part is invalid","FILE_PART_SIZE_CHANGED":"Provided file part size has changed","FILE_PART_SIZE_INVALID":"The provided file part size is invalid","FILE_PART_TOO_BIG":"The uploaded file part is too big","FILE_PARTS_INVALID":"The number of file parts is invalid","FILE_REFERENCE_*":"The file reference expired, it [must be refreshed](https:\/\/core.telegram.org\/api\/file_reference).","FILE_REFERENCE_EMPTY":"An empty [file reference](https:\/\/core.telegram.org\/api\/file_reference) was specified","FILE_REFERENCE_EXPIRED":"File reference expired, it must be refetched as described in [the documentation](https:\/\/core.telegram.org\/api\/file_reference).","FILE_REFERENCE_INVALID":"The specified [file reference](https:\/\/core.telegram.org\/api\/file_reference) is invalid","FILE_TITLE_EMPTY":"An empty file title was specified","FILE_TOKEN_INVALID":"The master DC did not accept the `file_token` (e.g., the token has expired). Continue downloading the file from the master DC using upload.getFile.","FILEREF_UPGRADE_NEEDED":"The client has to be updated in order to support [file references](https:\/\/core.telegram.org\/api\/file_reference)","FILTER_ID_INVALID":"The specified filter ID is invalid","FILTER_INCLUDE_EMPTY":"The include_peers vector of the filter is empty","FILTER_NOT_SUPPORTED":"The specified filter cannot be used in this context","FILTER_TITLE_EMPTY":"The title field of the filter is empty","FIRSTNAME_INVALID":"The first name is invalid","FLOOD_PREMIUM_WAIT_%d":"Please wait %d seconds before repeating the action, or purchase a [Telegram Premium subscription](https:\/\/core.telegram.org\/api\/premium) to remove this rate limit.","FLOOD_TEST_PHONE_WAIT_%d":"","FLOOD_WAIT_%d":"Please wait %d seconds before repeating the action.","FOLDER_ID_EMPTY":"An empty folder ID was specified","FOLDER_ID_INVALID":"Invalid folder ID","FORUM_ENABLED":"You can't execute the specified action because the group is a [forum](https:\/\/core.telegram.org\/api\/forum), disable forum functionality to continue.","FRESH_CHANGE_ADMINS_FORBIDDEN":"You were just elected admin, you can't add or modify other admins yet","FRESH_CHANGE_PHONE_FORBIDDEN":"You can't change phone number right after logging in, please wait at least 24 hours.","FRESH_RESET_AUTHORISATION_FORBIDDEN":"You can't logout other sessions if less than 24 hours have passed since you logged on the current session","FROM_MESSAGE_BOT_DISABLED":"Bots can't use fromMessage min constructors","FROM_PEER_INVALID":"The specified from_id is invalid","GAME_BOT_INVALID":"Bots can't send another bot's game.","GENERAL_MODIFY_ICON_FORBIDDEN":"You can't modify the icon of the \"General\" topic","GEO_POINT_INVALID":"Invalid geoposition provided","GIF_CONTENT_TYPE_INVALID":"GIF content-type invalid","GIF_ID_INVALID":"The provided GIF ID is invalid","GIFT_SLUG_EXPIRED":"The specified gift slug has expired","GIFT_SLUG_INVALID":"The specified slug is invalid.","GRAPH_EXPIRED_RELOAD":"This graph has expired, please obtain a new graph token","GRAPH_INVALID_RELOAD":"Invalid graph token provided, please reload the stats and provide the updated token","GRAPH_OUTDATED_RELOAD":"The graph is outdated, please get a new async token using stats.getBroadcastStats","GROUP_CALL_INVALID":"","GROUPCALL_ALREADY_DISCARDED":"The group call was already discarded","GROUPCALL_ALREADY_STARTED":"The groupcall has already started, you can join directly using [phone.joinGroupCall](https:\/\/core.telegram.org\/method\/phone.joinGroupCall)","GROUPCALL_FORBIDDEN":"The group call has already ended","GROUPCALL_INVALID":"The specified group call is invalid","GROUPCALL_JOIN_MISSING":"You haven't joined this group call.","GROUPCALL_NOT_MODIFIED":"Group call settings weren't modified","GROUPCALL_SSRC_DUPLICATE_MUCH":"The app needs to retry joining the group call with a new SSRC value.","GROUPED_MEDIA_INVALID":"Invalid grouped media","HASH_INVALID":"The provided hash is invalid","HIDE_REQUESTER_MISSING":"The join request was missing or was already handled.","IMAGE_PROCESS_FAILED":"Failure while processing image","IMPORT_FILE_INVALID":"The specified chat export file is invalid","IMPORT_FORMAT_DATE_INVALID":"The date specified in the import file is invalid.","IMPORT_FORMAT_UNRECOGNIZED":"The specified chat export file was exported from an unsupported chat app","IMPORT_HISTORY_LOG_EMPTY":"","IMPORT_ID_INVALID":"The specified import ID is invalid","IMPORT_TOKEN_INVALID":"The specified token is invalid","INLINE_BOT_REQUIRED":"Only the inline bot can edit message","INLINE_RESULT_EXPIRED":"The inline query expired","INPUT_CHATLIST_INVALID":"The specified folder is invalid","INPUT_CONSTRUCTOR_INVALID":"The specified TL constructor is invalid","INPUT_FETCH_ERROR":"An error occurred while parsing the provided TL constructor","INPUT_FETCH_FAIL":"An error occurred while parsing the provided TL constructor","INPUT_FILTER_INVALID":"The specified filter is invalid","INPUT_LAYER_INVALID":"The specified layer is invalid","INPUT_METHOD_INVALID":"The specified method is invalid","INPUT_REQUEST_TOO_LONG":"The request payload is too long","INPUT_TEXT_EMPTY":"The specified text is empty","INPUT_TEXT_TOO_LONG":"The specified text is too long","INPUT_USER_DEACTIVATED":"The specified user was deleted","INVITE_FORBIDDEN_WITH_JOINAS":"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","INVITE_HASH_EMPTY":"The invite hash is empty","INVITE_HASH_EXPIRED":"The invite link has expired","INVITE_HASH_INVALID":"The invite hash is invalid","INVITE_REQUEST_SENT":"You have successfully requested to join this chat or channel","INVITE_REVOKED_MISSING":"The specified invite link was already revoked or is invalid","INVITE_SLUG_EMPTY":"The specified invite slug is empty","INVITE_SLUG_EXPIRED":"The specified chat folder link has expired.","INVITES_TOO_MUCH":"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.","INVOICE_PAYLOAD_INVALID":"The specified invoice payload is invalid.","JOIN_AS_PEER_INVALID":"The specified peer cannot be used to join a group call","LANG_CODE_INVALID":"The specified language code is invalid","LANG_CODE_NOT_SUPPORTED":"The specified language code is not supported","LANG_PACK_INVALID":"The provided language pack is invalid","LASTNAME_INVALID":"The last name is invalid.","LIMIT_INVALID":"The provided limit is invalid","LINK_NOT_MODIFIED":"Discussion link not modified","LOCATION_INVALID":"The provided location is invalid","MAX_DATE_INVALID":"The specified maximum date is invalid.","MAX_ID_INVALID":"The provided max ID is invalid","MAX_QTS_INVALID":"The specified max_qts is invalid","MD5_CHECKSUM_INVALID":"The MD5 checksums do not match","MEDIA_CAPTION_TOO_LONG":"The caption is too long","MEDIA_EMPTY":"The provided media object is invalid","MEDIA_FILE_INVALID":"The specified media file is invalid","MEDIA_GROUPED_INVALID":"You tried to send media of different types in an album.","MEDIA_INVALID":"Media invalid","MEDIA_NEW_INVALID":"The new media is invalid","MEDIA_PREV_INVALID":"Previous media invalid","MEDIA_TTL_INVALID":"The specified media TTL is invalid","MEDIA_TYPE_INVALID":"The specified media type cannot be used in stories","MEDIA_VIDEO_STORY_MISSING":"A non-story video cannot be repubblished as a story (emitted when trying to resend a non-story video as a story using inputDocument).","MEGAGROUP_GEO_REQUIRED":"This method can only be invoked on a geogroup.","MEGAGROUP_ID_INVALID":"Invalid supergroup ID","MEGAGROUP_PREHISTORY_HIDDEN":"Group with hidden history for new members can't be set as discussion groups","MEGAGROUP_REQUIRED":"You can only use this method on a supergroup","MESSAGE_AUTHOR_REQUIRED":"Message author required","MESSAGE_DELETE_FORBIDDEN":"You can't delete one of the messages you tried to delete, most likely because it is a service message.","MESSAGE_EDIT_TIME_EXPIRED":"You can't edit this message anymore, too much time has passed since its creation.","MESSAGE_EMPTY":"The provided message is empty","MESSAGE_ID_INVALID":"The provided message id is invalid","MESSAGE_IDS_EMPTY":"No message ids were provided","MESSAGE_NOT_MODIFIED":"The provided message data is identical to the previous message data, the message wasn't modified","MESSAGE_POLL_CLOSED":"Poll closed","MESSAGE_TOO_LONG":"The provided message is too long","METHOD_INVALID":"The specified method is invalid","MIN_DATE_INVALID":"The specified minimum date is invalid","MSG_ID_INVALID":"Invalid message ID provided","MSG_TOO_OLD":"[`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","MSG_WAIT_FAILED":"A waiting call returned an error","MSG_WAIT_TIMEOUT":"Spent too much time waiting for a previous query in the invokeAfterMsg request queue, aborting!","MULTI_MEDIA_TOO_LONG":"Too many media files for album","NETWORK_MIGRATE_%d":"Your IP address is associated to DC %d, please re-send the query to that DC.","NEW_SALT_INVALID":"The new salt is invalid","NEW_SETTINGS_EMPTY":"No password is set on the current account, and no new password was specified in `new_settings`.","NEW_SETTINGS_INVALID":"The new password settings are invalid.","NEXT_OFFSET_INVALID":"The specified offset is longer than 64 bytes.","NOT_ELIGIBLE":"The current user is not eligible to join the Peer-to-Peer Login Program","NOT_JOINED":"The current user hasn't joined the Peer-to-Peer Login Program","OFFSET_INVALID":"The provided offset is invalid","OFFSET_PEER_ID_INVALID":"The provided offset peer is invalid","OPTION_INVALID":"Invalid option selected","OPTIONS_TOO_MUCH":"Too many options provided","ORDER_INVALID":"The specified username order is invalid","PACK_SHORT_NAME_INVALID":"Short pack name invalid","PACK_SHORT_NAME_OCCUPIED":"A stickerpack with this name already exists","PACK_TITLE_INVALID":"The stickerpack title is invalid","PARTICIPANT_ID_INVALID":"The specified participant ID is invalid","PARTICIPANT_JOIN_MISSING":"Trying to enable a presentation, when the user hasn't joined the Video Chat with [phone.joinGroupCall](https:\/\/core.telegram.org\/method\/phone.joinGroupCall).","PARTICIPANT_VERSION_OUTDATED":"The other participant does not use an up to date telegram client with support for calls","PARTICIPANTS_TOO_FEW":"Not enough participants","PASSWORD_EMPTY":"The provided password is empty","PASSWORD_HASH_INVALID":"The provided password hash is invalid","PASSWORD_MISSING":"You must enable 2FA in order to transfer ownership of a channel","PASSWORD_RECOVERY_EXPIRED":"The recovery code has expired","PASSWORD_RECOVERY_NA":"No email was set, can't recover password via email.","PASSWORD_REQUIRED":"A [2FA password](https:\/\/core.telegram.org\/api\/srp) must be configured to use Telegram Passport","PASSWORD_TOO_FRESH_%d":"The password was modified less than 24 hours ago, try again in %d seconds","PAYMENT_PROVIDER_INVALID":"The specified payment provider is invalid","PAYMENT_UNSUPPORTED":"A detailed description of the error will be received separately as described [here »](https:\/\/core.telegram.org\/api\/errors#406-not-acceptable)","PEER_FLOOD":"The current account is spamreported, you cannot execute this action, check @spambot for more info.","PEER_HISTORY_EMPTY":"You can't pin an empty chat with a user","PEER_ID_INVALID":"The provided peer id is invalid","PEER_ID_NOT_SUPPORTED":"The provided peer ID is not supported","PEERS_LIST_EMPTY":"The specified list of peers is empty","PERSISTENT_TIMESTAMP_EMPTY":"Persistent timestamp empty","PERSISTENT_TIMESTAMP_INVALID":"Persistent timestamp invalid","PERSISTENT_TIMESTAMP_OUTDATED":"Channel internal replication issues, try again later (treat this like an RPC_CALL_FAIL)","PHONE_CODE_EMPTY":"phone_code is missing","PHONE_CODE_EXPIRED":"The phone code you provided has expired","PHONE_CODE_HASH_EMPTY":"phone_code_hash is missing","PHONE_CODE_INVALID":"The provided phone code is invalid","PHONE_HASH_EXPIRED":"An invalid or expired `phone_code_hash` was provided.","PHONE_MIGRATE_%d":"Your phone number is associated to DC %d, please re-send the query to that DC.","PHONE_NOT_OCCUPIED":"No user is associated to the specified phone number","PHONE_NUMBER_APP_SIGNUP_FORBIDDEN":"You can't sign up using this app","PHONE_NUMBER_BANNED":"The provided phone number is banned from telegram","PHONE_NUMBER_FLOOD":"You asked for the code too many times.","PHONE_NUMBER_INVALID":"The phone number is invalid","PHONE_NUMBER_OCCUPIED":"The phone number is already in use","PHONE_NUMBER_UNOCCUPIED":"The phone number is not yet being used","PHONE_PASSWORD_FLOOD":"You have tried logging in too many times","PHONE_PASSWORD_PROTECTED":"This phone is password protected","PHOTO_CONTENT_TYPE_INVALID":"Photo mime-type invalid","PHOTO_CONTENT_URL_EMPTY":"Photo URL invalid","PHOTO_CROP_FILE_MISSING":"Photo crop file missing","PHOTO_CROP_SIZE_SMALL":"Photo is too small","PHOTO_EXT_INVALID":"The extension of the photo is invalid","PHOTO_FILE_MISSING":"Profile photo file missing","PHOTO_ID_INVALID":"Photo ID invalid","PHOTO_INVALID":"Photo invalid","PHOTO_INVALID_DIMENSIONS":"The photo dimensions are invalid","PHOTO_SAVE_FILE_INVALID":"Internal issues, try again later","PHOTO_THUMB_URL_EMPTY":"Photo thumbnail URL is empty","PHOTO_THUMB_URL_INVALID":"","PIN_RESTRICTED":"You can't pin messages","PINNED_DIALOGS_TOO_MUCH":"Too many pinned dialogs","POLL_ANSWER_INVALID":"One of the poll answers is not acceptable","POLL_ANSWERS_INVALID":"Invalid poll answers were provided","POLL_OPTION_DUPLICATE":"Duplicate poll options provided","POLL_OPTION_INVALID":"Invalid poll option provided","POLL_QUESTION_INVALID":"One of the poll questions is not acceptable","POLL_VOTE_REQUIRED":"Cast a vote in the poll before calling this method","PREMIUM_ACCOUNT_REQUIRED":"A premium account is required to execute this action.","PREMIUM_SUB_ACTIVE_UNTIL_%d":"You already have a premium subscription active until unixtime %d ","PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_%dMIN":"Import for this chat is already in progress, wait %d minutes before starting a new one.","PRIVACY_KEY_INVALID":"The privacy key is invalid","PRIVACY_PREMIUM_REQUIRED":"You need a [Telegram Premium subscription](https:\/\/core.telegram.org\/api\/premium) to send a message to this user.","PRIVACY_TOO_LONG":"Too many privacy rules were specified, the current limit is 1000","PRIVACY_VALUE_INVALID":"The specified privacy rule combination is invalid","PUBLIC_CHANNEL_MISSING":"You can only export group call invite links for public chats or channels","PUBLIC_KEY_REQUIRED":"A public key is required","QUERY_ID_EMPTY":"The query ID is empty","QUERY_ID_INVALID":"The query ID is invalid","QUERY_TOO_SHORT":"The query string is too short","QUIZ_ANSWER_MISSING":"You can forward a quiz while hiding the original author only after choosing an option in the quiz","QUIZ_CORRECT_ANSWER_INVALID":"An invalid value was provided to the correct_answers field","QUIZ_CORRECT_ANSWERS_EMPTY":"No correct quiz answer was specified","QUIZ_CORRECT_ANSWERS_TOO_MUCH":"You specified too many correct answers in a quiz, quizzes can only have one right answer!","QUIZ_MULTIPLE_INVALID":"Quizzes can't have the multiple_choice flag set!","QUOTE_TEXT_INVALID":"The specified `reply_to`.`quote_text` field is invalid.","RAISE_HAND_FORBIDDEN":"You cannot raise your hand","RANDOM_ID_DUPLICATE":"You provided a random ID that was already used","RANDOM_ID_EMPTY":"Random ID empty","RANDOM_ID_INVALID":"A provided random ID is invalid","RANDOM_LENGTH_INVALID":"Random length invalid","RANGES_INVALID":"Invalid range provided","REACTION_EMPTY":"Empty reaction provided","REACTION_INVALID":"The specified reaction is invalid","REACTIONS_TOO_MANY":"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)","REPLY_MARKUP_BUY_EMPTY":"Reply markup for buy button empty","REPLY_MARKUP_GAME_EMPTY":"","REPLY_MARKUP_INVALID":"The provided reply markup is invalid","REPLY_MARKUP_TOO_LONG":"The specified reply_markup is too long","REPLY_MESSAGE_ID_INVALID":"The specified reply-to message ID is invalid","REPLY_TO_INVALID":"The specified `reply_to` field is invalid","REPLY_TO_USER_INVALID":"The replied-to user is invalid","REQUEST_TOKEN_INVALID":"The master DC did not accept the `request_token` from the CDN DC. Continue downloading the file from the master DC using upload.getFile.","RESET_REQUEST_MISSING":"No password reset is in progress","RESULT_ID_DUPLICATE":"You provided a duplicate result ID","RESULT_ID_EMPTY":"Result ID empty","RESULT_ID_INVALID":"One of the specified result IDs is invalid","RESULT_TYPE_INVALID":"Result type invalid","RESULTS_TOO_MUCH":"Too many results were provided","REVOTE_NOT_ALLOWED":"You cannot change your vote","RIGHT_FORBIDDEN":"Your admin rights do not allow you to do this","RIGHTS_NOT_MODIFIED":"The new admin rights are equal to the old rights, no change was made","RSA_DECRYPT_FAILED":"Internal RSA decryption failed","SCHEDULE_BOT_NOT_ALLOWED":"Bots cannot schedule messages","SCHEDULE_DATE_INVALID":"Invalid schedule date provided","SCHEDULE_DATE_TOO_LATE":"You can't schedule a message this far in the future","SCHEDULE_STATUS_PRIVATE":"Can't schedule until user is online, if the user's last seen timestamp is hidden by their privacy settings.","SCHEDULE_TOO_MUCH":"There are too many scheduled messages","SCORE_INVALID":"The specified game score is invalid","SEARCH_QUERY_EMPTY":"The search query is empty","SEARCH_WITH_LINK_NOT_SUPPORTED":"You cannot provide a search query and an invite link at the same time.","SECONDS_INVALID":"Invalid duration provided","SEND_AS_PEER_INVALID":"You can't send messages as the specified peer","SEND_CODE_UNAVAILABLE":"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)","SEND_MEDIA_INVALID":"The specified media is invalid","SEND_MESSAGE_MEDIA_INVALID":"Invalid media provided","SEND_MESSAGE_TYPE_INVALID":"The message type is invalid","SENSITIVE_CHANGE_FORBIDDEN":"You can't change your sensitive content settings.","SESSION_EXPIRED":"The session has expired","SESSION_PASSWORD_NEEDED":"2FA is enabled, use a password to login","SESSION_REVOKED":"The session was revoked by the user","SESSION_TOO_FRESH_%d":"This session was created less than 24 hours ago, try again in %d seconds","SETTINGS_INVALID":"Invalid settings were provided","SHA256_HASH_INVALID":"The provided SHA256 hash is invalid","SHORT_NAME_INVALID":"The specified short name is invalid","SHORT_NAME_OCCUPIED":"The specified short name is already in use","SHORTCUT_INVALID":"The specified shortcut is invalid","SIGN_IN_FAILED":"Failure while signing in","SLOTS_EMPTY":"The specified slot list is empty","SLOWMODE_MULTI_MSGS_DISABLED":"Slowmode is enabled, you cannot forward multiple messages to this group.","SLOWMODE_WAIT_%d":"Slowmode is enabled in this chat: wait %d seconds before sending another message to this chat.","SLUG_INVALID":"The specified invoice slug is invalid","SMS_CODE_CREATE_FAILED":"An error occurred while creating the SMS code","SMSJOB_ID_INVALID":"The specified job ID is invalid","SRP_ID_INVALID":"Invalid SRP ID provided","SRP_PASSWORD_CHANGED":"Password has changed","START_PARAM_EMPTY":"The start parameter is empty","START_PARAM_INVALID":"Start parameter invalid","START_PARAM_TOO_LONG":"Start parameter is too long","STATS_MIGRATE_%d":"Channel statistics for the specified channel are stored on DC %d, please re-send the query to that DC.","STICKER_DOCUMENT_INVALID":"The specified sticker document is invalid","STICKER_EMOJI_INVALID":"Sticker emoji invalid","STICKER_FILE_INVALID":"Sticker file invalid","STICKER_GIF_DIMENSIONS":"The specified video sticker has invalid dimensions","STICKER_ID_INVALID":"The provided sticker ID is invalid","STICKER_INVALID":"The provided sticker is invalid","STICKER_MIME_INVALID":"The specified sticker MIME type is invalid","STICKER_PNG_DIMENSIONS":"Sticker png dimensions invalid","STICKER_PNG_NOPNG":"One of the specified stickers is not a valid PNG file","STICKER_TGS_NODOC":"You must send the animated sticker as a document.","STICKER_TGS_NOTGS":"Invalid TGS sticker provided.","STICKER_THUMB_PNG_NOPNG":"Incorrect stickerset thumb file provided, PNG \/ WEBP expected.","STICKER_THUMB_TGS_NOTGS":"Incorrect stickerset TGS thumb file provided.","STICKER_VIDEO_BIG":"The specified video sticker is too big","STICKER_VIDEO_NODOC":"You must send the video sticker as a document.","STICKER_VIDEO_NOWEBM":"The specified video sticker is not in webm format","STICKERPACK_STICKERS_TOO_MUCH":"There are too many stickers in this stickerpack, you can't add any more","STICKERS_EMPTY":"No sticker provided","STICKERS_TOO_MUCH":"There are too many stickers in this stickerpack, you can't add any more","STICKERSET_INVALID":"The provided sticker set is invalid","STICKERSET_NOT_MODIFIED":"","STICKERSET_OWNER_ANONYMOUS":"Provided stickerset can't be installed as group stickerset to prevent admin deanonymization.","STORIES_NEVER_CREATED":"This peer hasn't ever posted any stories.","STORIES_TOO_MUCH":"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.","STORY_ID_EMPTY":"You specified no story IDs.","STORY_ID_INVALID":"The specified story ID is invalid","STORY_NOT_MODIFIED":"The new story information you passed is equal to the previous story information, thus it wasn't modified.","STORY_PERIOD_INVALID":"The specified story period is invalid for this account.","STORY_SEND_FLOOD_MONTHLY_%d":"You've hit the monthly story limit as specified by the [`stories_sent_monthly_limit_*` client configuration parameters](https:\/\/core.telegram.org\/api\/config#stories-sent-monthly-limit-default): wait for the specified number of seconds before posting a new story.","STORY_SEND_FLOOD_WEEKLY_%d":"You've hit the weekly story limit as specified by the [`stories_sent_weekly_limit_*` client configuration parameters](https:\/\/core.telegram.org\/api\/config#stories-sent-weekly-limit-default): wait for the specified number of seconds before posting a new story.","SWITCH_PM_TEXT_EMPTY":"The switch_pm.text field was empty","SWITCH_WEBVIEW_URL_INVALID":"The URL specified in switch_webview.url is invalid!","TAKEOUT_INIT_DELAY_%d":"Sorry, for security reasons, you will be able to begin downloading your data in %d seconds. We have notified all your devices about the export request to make sure it's authorized and to give you time to react if it's not.","TAKEOUT_INVALID":"The specified takeout ID is invalid","TAKEOUT_REQUIRED":"A [takeout](https:\/\/core.telegram.org\/api\/takeout) session needs to be initialized first, [see here » for more info](\/api\/takeout).","TASK_ALREADY_EXISTS":"An email reset was already requested.","TEMP_AUTH_KEY_ALREADY_BOUND":"The passed temporary key is already bound to another **perm_auth_key_id**.","TEMP_AUTH_KEY_EMPTY":"No temporary auth key provided","THEME_FILE_INVALID":"Invalid theme file provided","THEME_FORMAT_INVALID":"Invalid theme format provided","THEME_INVALID":"Invalid theme provided","THEME_MIME_INVALID":"The theme's MIME type is invalid","THEME_TITLE_INVALID":"The specified theme title is invalid","Timeout":"Timeout while fetching data","TITLE_INVALID":"The specified stickerpack title is invalid","TMP_PASSWORD_DISABLED":"The temporary password is disabled","TMP_PASSWORD_INVALID":"The passed tmp_password is invalid","TO_LANG_INVALID":"The specified destination language is invalid","TOKEN_EMPTY":"The specified token is empty","TOKEN_INVALID":"The provided token is invalid","TOKEN_TYPE_INVALID":"The specified token type is invalid","TOPIC_CLOSE_SEPARATELY":"The `close` flag cannot be provided together with any of the other flags","TOPIC_CLOSED":"This topic was closed, you can't send messages to it anymore","TOPIC_DELETED":"The specified topic was deleted","TOPIC_HIDE_SEPARATELY":"The `hide` flag cannot be provided together with any of the other flags","TOPIC_ID_INVALID":"The specified topic ID is invalid","TOPIC_NOT_MODIFIED":"The updated topic info is equal to the current topic info, nothing was changed","TOPIC_TITLE_EMPTY":"The specified topic title is empty.","TOPICS_EMPTY":"You specified no topic IDs.","TRANSCRIPTION_FAILED":"Audio transcription failed","TRANSLATE_REQ_QUOTA_EXCEEDED":"","TTL_DAYS_INVALID":"The provided TTL is invalid","TTL_MEDIA_INVALID":"Invalid media Time To Live was provided","TTL_PERIOD_INVALID":"The specified TTL period is invalid","TYPES_EMPTY":"No top peer type was provided","UNTIL_DATE_INVALID":"Invalid until date provided","UPDATE_APP_TO_LOGIN":"Please update to the latest version of MadelineProto to login.","URL_INVALID":"Invalid URL provided","USAGE_LIMIT_INVALID":"The specified usage limit is invalid","USER_ADMIN_INVALID":"You're not an admin","USER_ALREADY_INVITED":"You have already invited this user","USER_ALREADY_PARTICIPANT":"The user is already in the group","USER_BANNED_IN_CHANNEL":"You're banned from sending messages in supergroups\/channels","USER_BLOCKED":"User blocked","USER_BOT":"Bots can only be admins in channels.","USER_BOT_INVALID":"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.","USER_BOT_REQUIRED":"This method can only be called by a bot","USER_CHANNELS_TOO_MUCH":"One of the users you tried to add is already in too many channels\/supergroups","USER_CREATOR":"You can't leave this channel, because you're its creator","USER_DEACTIVATED":"The current account was deleted by the user","USER_DEACTIVATED_BAN":"The current account was deleted and banned by Telegram's antispam system","USER_DELETED":"You can't send this secret message because the other participant deleted their account.","USER_ID_INVALID":"The provided user ID is invalid","USER_INVALID":"Invalid user provided","USER_IS_BLOCKED":"You were blocked by this user","USER_IS_BOT":"Bots can't send messages to other bots","USER_KICKED":"This user was kicked from this supergroup\/channel","USER_MIGRATE_%d":"Your account is associated to DC %d, please re-send the query to that DC.","USER_NOT_MUTUAL_CONTACT":"The provided user is not a mutual contact","USER_NOT_PARTICIPANT":"You're not a member of this supergroup\/channel","USER_PRIVACY_RESTRICTED":"The user's privacy settings do not allow you to do this","USER_PUBLIC_MISSING":"Cannot generate a link to stories posted by a peer without a username.","USER_RESTRICTED":"You're spamreported, you can't create channels or chats.","USER_VOLUME_INVALID":"The specified user volume is invalid","USERNAME_INVALID":"The provided username is not valid","USERNAME_NOT_MODIFIED":"The username was not modified","USERNAME_NOT_OCCUPIED":"The provided username is not occupied","USERNAME_OCCUPIED":"The provided username is already occupied","USERNAME_PURCHASE_AVAILABLE":"The specified username can be purchased on https:\/\/fragment.com","USERNAMES_ACTIVE_TOO_MUCH":"The maximum number of active usernames was reached","USERPIC_PRIVACY_REQUIRED":"You need to disable privacy settings for your profile picture in order to make your geolocation public.","USERPIC_UPLOAD_REQUIRED":"You must have a profile picture to publish your geolocation","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)","VENUE_ID_INVALID":"The specified venue ID is invalid","VIDEO_CONTENT_TYPE_INVALID":"The video's content type is invalid","VIDEO_FILE_INVALID":"The specified video file is invalid","VIDEO_PAUSE_FORBIDDEN":"You cannot pause the video stream","VIDEO_STOP_FORBIDDEN":"You cannot stop the video stream","VIDEO_TITLE_EMPTY":"The specified video title is empty","VOICE_MESSAGES_FORBIDDEN":"This user's privacy settings forbid you from sending voice messages","WALLPAPER_FILE_INVALID":"The specified wallpaper file is invalid","WALLPAPER_INVALID":"The specified wallpaper is invalid","WALLPAPER_MIME_INVALID":"The specified wallpaper MIME type is invalid","WALLPAPER_NOT_FOUND":"The specified wallpaper could not be found","WC_CONVERT_URL_INVALID":"WC convert URL invalid","WEBDOCUMENT_INVALID":"Invalid webdocument URL provided","WEBDOCUMENT_MIME_INVALID":"Invalid webdocument mime type provided","WEBDOCUMENT_SIZE_TOO_BIG":"Webdocument is too big!","WEBDOCUMENT_URL_EMPTY":"The passed web document URL is empty","WEBDOCUMENT_URL_INVALID":"The specified webdocument URL is invalid","WEBPAGE_CURL_FAILED":"Failure while fetching the webpage with cURL","WEBPAGE_MEDIA_EMPTY":"Webpage media empty","WEBPAGE_NOT_FOUND":"A preview for the specified webpage `url` could not be generated","WEBPAGE_URL_INVALID":"The specified webpage `url` is invalid","WEBPUSH_AUTH_INVALID":"The specified web push authentication secret is invalid.","WEBPUSH_KEY_INVALID":"The specified web push elliptic curve Diffie-Hellman public key is invalid.","WEBPUSH_TOKEN_INVALID":"The specified web push token is invalid.","YOU_BLOCKED_USER":"You blocked this user"}} \ No newline at end of file From 6875a2119bfde830eaf439ee37fa586944c65c19 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 26 Jun 2024 17:52:50 +0200 Subject: [PATCH 04/15] Add TimeoutError --- docs | 2 +- src/Loop/Update/UpdateLoop.php | 17 ++++++++------ src/RPCError/ChannelInvalidError.php | 35 ++++++++++++++++++++++++++++ src/RPCError/TimeoutError.php | 32 +++++++++++++++++++++++++ src/RPCErrorException.php | 5 +++- src/v3.json | 2 +- tools/build_docs.php | 4 +++- 7 files changed, 86 insertions(+), 11 deletions(-) create mode 100644 src/RPCError/ChannelInvalidError.php create mode 100644 src/RPCError/TimeoutError.php diff --git a/docs b/docs index 5741538c1..7346b4a4d 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 5741538c101d6bad5393055f38cdfec9831d2c9c +Subproject commit 7346b4a4d3e72c4a055cb5240ffd2621cb4c00db diff --git a/src/Loop/Update/UpdateLoop.php b/src/Loop/Update/UpdateLoop.php index 367c20689..a98b6a5b6 100644 --- a/src/Loop/Update/UpdateLoop.php +++ b/src/Loop/Update/UpdateLoop.php @@ -28,6 +28,10 @@ use danog\MadelineProto\Loop\InternalLoop; use danog\MadelineProto\MTProto; use danog\MadelineProto\PeerNotInDbException; use danog\MadelineProto\PTSException; +use danog\MadelineProto\RPCError\ChannelInvalidError; +use danog\MadelineProto\RPCError\ChannelPrivateError; +use danog\MadelineProto\RPCError\ChatForbiddenError; +use danog\MadelineProto\RPCError\UserBannedInChannelError; use danog\MadelineProto\RPCErrorException; use Revolt\EventLoop; @@ -95,18 +99,17 @@ final class UpdateLoop extends Loop $request_pts = $state->pts(); try { $difference = $this->API->methodCallAsyncRead('updates.getChannelDifference', ['channel' => $this->channelId, 'filter' => ['_' => 'channelMessagesFilterEmpty'], 'pts' => $request_pts, 'limit' => $limit, 'force' => true, 'floodWaitLimit' => 86400]); + } catch (ChannelPrivateError|ChatForbiddenError|ChannelInvalidError|UserBannedInChannelError) { + $this->feeder->stop(); + unset($this->API->updaters[$this->channelId], $this->API->feeders[$this->channelId]); + $this->API->getChannelStates()->remove($this->channelId); + $this->API->logger("Channel private, exiting {$this}"); + return self::STOP; } catch (RPCErrorException $e) { if ($e->rpc === '-503') { delay(1.0); continue; } - if (\in_array($e->rpc, ['CHANNEL_PRIVATE', 'CHAT_FORBIDDEN', 'CHANNEL_INVALID', 'USER_BANNED_IN_CHANNEL'], true)) { - $this->feeder->stop(); - unset($this->API->updaters[$this->channelId], $this->API->feeders[$this->channelId]); - $this->API->getChannelStates()->remove($this->channelId); - $this->API->logger("Channel private, exiting {$this}"); - return self::STOP; - } throw $e; } catch (PeerNotInDbException) { $this->feeder->stop(); diff --git a/src/RPCError/ChannelInvalidError.php b/src/RPCError/ChannelInvalidError.php new file mode 100644 index 000000000..3cb856054 --- /dev/null +++ b/src/RPCError/ChannelInvalidError.php @@ -0,0 +1,35 @@ +. + * + * @author Daniil Gentili + * @copyright 2016-2024 Daniil Gentili + * @license https://opensource.org/licenses/AGPL-3.0 AGPLv3 + * @link https://docs.madelineproto.xyz MadelineProto documentation + */ + +namespace danog\MadelineProto\RPCError; + +use danog\MadelineProto\RPCErrorException; + +/** + * The provided channel is invalid. + * + * Note: this exception is part of the raw API, and thus is not covered by the backwards-compatibility promise. + * + * Always check the changelog when upgrading, and use tools like Psalm to easily upgrade your code. + */ +final class ChannelInvalidError extends RPCErrorException +{ + protected function __construct(int $code, string $caller, ?\Exception $previous = null) + { + parent::__construct('CHANNEL_INVALID', 'The provided channel is invalid.', $code, $caller, $previous); + } +} diff --git a/src/RPCError/TimeoutError.php b/src/RPCError/TimeoutError.php new file mode 100644 index 000000000..ccc78e199 --- /dev/null +++ b/src/RPCError/TimeoutError.php @@ -0,0 +1,32 @@ +. + * + * @author Daniil Gentili + * @copyright 2016-2023 Daniil Gentili + * @license https://opensource.org/licenses/AGPL-3.0 AGPLv3 + * @link https://docs.madelineproto.xyz MadelineProto documentation + */ + +namespace danog\MadelineProto\RPCError; + +use Amp\Cancellation; +use danog\MadelineProto\RPCErrorException; +use Exception; + +use function Amp\delay; + +/** + * Represents a request timeout RPC error returned by telegram. + */ +final class TimeoutError extends RPCErrorException +{ +} diff --git a/src/RPCErrorException.php b/src/RPCErrorException.php index fc623a083..7f7f94859 100644 --- a/src/RPCErrorException.php +++ b/src/RPCErrorException.php @@ -132,6 +132,7 @@ class RPCErrorException extends \Exception 'Internal_Server_Error' => true, 'INVITE_HASH_UNSYNC' => true, 'CHANNEL_ID_GENERATE_FAILED' => true, + 'Invalid msgs_state_req query' => true, ]; /** @internal */ @@ -284,7 +285,7 @@ class RPCErrorException extends \Exception 'CDN_METHOD_INVALID' => new self($rpc, 'You can\'t call this method in a CDN DC.', $code, $caller, $previous), 'CHANNEL_FORUM_MISSING' => new self($rpc, 'This supergroup is not a forum.', $code, $caller, $previous), 'CHANNEL_ID_INVALID' => new self($rpc, 'The specified supergroup ID is invalid.', $code, $caller, $previous), - 'CHANNEL_INVALID' => new self($rpc, 'The provided channel is invalid.', $code, $caller, $previous), + 'CHANNEL_INVALID' => new \danog\MadelineProto\RPCError\ChannelInvalidError($code, $caller, $previous), 'CHANNEL_PARICIPANT_MISSING' => new self($rpc, 'The current user is not in the channel.', $code, $caller, $previous), 'CHANNEL_PRIVATE' => new \danog\MadelineProto\RPCError\ChannelPrivateError($code, $caller, $previous), 'CHANNEL_TOO_BIG' => new self($rpc, 'This channel has too many participants (>1000) to be deleted.', $code, $caller, $previous), @@ -460,6 +461,7 @@ class RPCErrorException extends \Exception 'MESSAGE_NOT_MODIFIED' => new self($rpc, 'The provided message data is identical to the previous message data, the message wasn\'t modified.', $code, $caller, $previous), 'MESSAGE_POLL_CLOSED' => new self($rpc, 'Poll closed.', $code, $caller, $previous), 'MESSAGE_TOO_LONG' => new self($rpc, 'The provided message is too long.', $code, $caller, $previous), + 'MESSAGE_TOO_OLD' => new self($rpc, 'The message is too old, the requested information is not available.', $code, $caller, $previous), 'METHOD_INVALID' => new self($rpc, 'The specified method is invalid.', $code, $caller, $previous), 'MIN_DATE_INVALID' => new self($rpc, 'The specified minimum date is invalid.', $code, $caller, $previous), 'MSG_ID_INVALID' => new \danog\MadelineProto\RPCError\MsgIdInvalidError($code, $caller, $previous), @@ -758,6 +760,7 @@ class RPCErrorException extends \Exception 'USER_DELETED' => new self($rpc, 'You can\'t send this secret message because the other participant deleted their account.', $code, $caller, $previous), 'USER_PRIVACY_RESTRICTED' => new self($rpc, 'The user\'s privacy settings do not allow you to do this.', $code, $caller, $previous), 'USER_RESTRICTED' => new self($rpc, 'You\'re spamreported, you can\'t create channels or chats.', $code, $caller, $previous), + 'YOUR_PRIVACY_RESTRICTED' => new self($rpc, 'You cannot fetch the read date of this message because you have disallowed other users to do so for *your* messages; to fix, allow other users to see *your* exact last online date OR purchase a [Telegram Premium](https://core.telegram.org/api/premium) subscription.', $code, $caller, $previous), 'CHAT_FORBIDDEN' => new \danog\MadelineProto\RPCError\ChatForbiddenError($code, $caller, $previous), 'CALL_PROTOCOL_COMPAT_LAYER_INVALID' => new self($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' => new self($rpc, 'The client has to be updated in order to support [file references](https://core.telegram.org/api/file_reference).', $code, $caller, $previous), diff --git a/src/v3.json b/src/v3.json index 084584a12..e0545f693 100644 --- a/src/v3.json +++ b/src/v3.json @@ -1 +1 @@ -{"ok":true,"result":{"420":{"account.deleteAccount":{"2FA_CONFIRM_WAIT_%d":"2FA_CONFIRM_WAIT_%d"},"channels.createChannel":{"ADDRESS_INVALID":"ADDRESS_INVALID"},"upload.getFile":{"FLOOD_PREMIUM_WAIT_%d":"FLOOD_PREMIUM_WAIT_%d"},"payments.applyGiftCode":{"PREMIUM_SUB_ACTIVE_UNTIL_%d":"PREMIUM_SUB_ACTIVE_UNTIL_%d"},"messages.forwardMessages":{"SLOWMODE_WAIT_%d":"SLOWMODE_WAIT_%d"},"messages.sendInlineBotResult":{"SLOWMODE_WAIT_%d":"SLOWMODE_WAIT_%d"},"messages.sendMedia":{"SLOWMODE_WAIT_%d":"SLOWMODE_WAIT_%d"},"messages.sendMessage":{"SLOWMODE_WAIT_%d":"SLOWMODE_WAIT_%d"},"messages.sendMultiMedia":{"SLOWMODE_WAIT_%d":"SLOWMODE_WAIT_%d"},"account.initTakeoutSession":{"TAKEOUT_INIT_DELAY_%d":"TAKEOUT_INIT_DELAY_%d"}},"400":{"account.updateProfile":{"ABOUT_TOO_LONG":"ABOUT_TOO_LONG","FIRSTNAME_INVALID":"FIRSTNAME_INVALID"},"auth.importBotAuthorization":{"ACCESS_TOKEN_EXPIRED":"ACCESS_TOKEN_EXPIRED","ACCESS_TOKEN_INVALID":"ACCESS_TOKEN_INVALID","API_ID_INVALID":"API_ID_INVALID","API_ID_PUBLISHED_FLOOD":"API_ID_PUBLISHED_FLOOD"},"channels.createChannel":{"ADDRESS_INVALID":"ADDRESS_INVALID","CHANNELS_ADMIN_LOCATED_TOO_MUCH":"CHANNELS_ADMIN_LOCATED_TOO_MUCH","CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_ABOUT_TOO_LONG":"CHAT_ABOUT_TOO_LONG","CHAT_TITLE_EMPTY":"CHAT_TITLE_EMPTY","TTL_PERIOD_INVALID":"TTL_PERIOD_INVALID"},"messages.deleteRevokedExportedChatInvites":{"ADMIN_ID_INVALID":"ADMIN_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getExportedChatInvites":{"ADMIN_ID_INVALID":"ADMIN_ID_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"channels.editAdmin":{"ADMIN_RANK_EMOJI_NOT_ALLOWED":"ADMIN_RANK_EMOJI_NOT_ALLOWED","ADMIN_RANK_INVALID":"ADMIN_RANK_INVALID","ADMINS_TOO_MUCH":"ADMINS_TOO_MUCH","BOT_CHANNELS_NA":"BOT_CHANNELS_NA","BOT_GROUPS_BLOCKED":"BOT_GROUPS_BLOCKED","BOTS_TOO_MUCH":"BOTS_TOO_MUCH","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","FRESH_CHANGE_ADMINS_FORBIDDEN":"FRESH_CHANGE_ADMINS_FORBIDDEN","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","PEER_ID_INVALID":"PEER_ID_INVALID","USER_BLOCKED":"USER_BLOCKED","USER_CREATOR":"USER_CREATOR","USER_ID_INVALID":"USER_ID_INVALID","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USERS_TOO_MUCH":"USERS_TOO_MUCH"},"messages.sendMessage":{"ADMIN_RIGHTS_EMPTY":"ADMIN_RIGHTS_EMPTY","BOT_DOMAIN_INVALID":"BOT_DOMAIN_INVALID","BOT_INVALID":"BOT_INVALID","BUTTON_DATA_INVALID":"BUTTON_DATA_INVALID","BUTTON_TYPE_INVALID":"BUTTON_TYPE_INVALID","BUTTON_URL_INVALID":"BUTTON_URL_INVALID","BUTTON_USER_INVALID":"BUTTON_USER_INVALID","BUTTON_USER_PRIVACY_RESTRICTED":"BUTTON_USER_PRIVACY_RESTRICTED","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_RESTRICTED":"CHAT_RESTRICTED","DOCUMENT_INVALID":"DOCUMENT_INVALID","ENCRYPTION_DECLINED":"ENCRYPTION_DECLINED","ENTITIES_TOO_LONG":"ENTITIES_TOO_LONG","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","ENTITY_MENTION_USER_INVALID":"ENTITY_MENTION_USER_INVALID","FROM_MESSAGE_BOT_DISABLED":"FROM_MESSAGE_BOT_DISABLED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MESSAGE_EMPTY":"MESSAGE_EMPTY","MESSAGE_TOO_LONG":"MESSAGE_TOO_LONG","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","PINNED_DIALOGS_TOO_MUCH":"PINNED_DIALOGS_TOO_MUCH","POLL_OPTION_INVALID":"POLL_OPTION_INVALID","QUOTE_TEXT_INVALID":"QUOTE_TEXT_INVALID","REPLY_MARKUP_INVALID":"REPLY_MARKUP_INVALID","REPLY_MARKUP_TOO_LONG":"REPLY_MARKUP_TOO_LONG","REPLY_MESSAGE_ID_INVALID":"REPLY_MESSAGE_ID_INVALID","REPLY_TO_INVALID":"REPLY_TO_INVALID","REPLY_TO_USER_INVALID":"REPLY_TO_USER_INVALID","SCHEDULE_BOT_NOT_ALLOWED":"SCHEDULE_BOT_NOT_ALLOWED","SCHEDULE_DATE_TOO_LATE":"SCHEDULE_DATE_TOO_LATE","SCHEDULE_STATUS_PRIVATE":"SCHEDULE_STATUS_PRIVATE","SCHEDULE_TOO_MUCH":"SCHEDULE_TOO_MUCH","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID","STORY_ID_INVALID":"STORY_ID_INVALID","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_IS_BOT":"USER_IS_BOT","WC_CONVERT_URL_INVALID":"WC_CONVERT_URL_INVALID","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"photos.updateProfilePhoto":{"ALBUM_PHOTOS_TOO_MANY":"ALBUM_PHOTOS_TOO_MANY","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","LOCATION_INVALID":"LOCATION_INVALID","PHOTO_CROP_SIZE_SMALL":"PHOTO_CROP_SIZE_SMALL","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_ID_INVALID":"PHOTO_ID_INVALID"},"photos.uploadProfilePhoto":{"ALBUM_PHOTOS_TOO_MANY":"ALBUM_PHOTOS_TOO_MANY","BOT_INVALID":"BOT_INVALID","EMOJI_MARKUP_INVALID":"EMOJI_MARKUP_INVALID","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","PHOTO_CROP_FILE_MISSING":"PHOTO_CROP_FILE_MISSING","PHOTO_CROP_SIZE_SMALL":"PHOTO_CROP_SIZE_SMALL","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_FILE_MISSING":"PHOTO_FILE_MISSING","PHOTO_INVALID":"PHOTO_INVALID","STICKER_MIME_INVALID":"STICKER_MIME_INVALID","VIDEO_FILE_INVALID":"VIDEO_FILE_INVALID"},"auth.exportLoginToken":{"API_ID_INVALID":"API_ID_INVALID","API_ID_PUBLISHED_FLOOD":"API_ID_PUBLISHED_FLOOD"},"auth.importWebTokenAuthorization":{"API_ID_INVALID":"API_ID_INVALID"},"auth.sendCode":{"API_ID_INVALID":"API_ID_INVALID","API_ID_PUBLISHED_FLOOD":"API_ID_PUBLISHED_FLOOD","PHONE_NUMBER_APP_SIGNUP_FORBIDDEN":"PHONE_NUMBER_APP_SIGNUP_FORBIDDEN","PHONE_NUMBER_BANNED":"PHONE_NUMBER_BANNED","PHONE_NUMBER_FLOOD":"PHONE_NUMBER_FLOOD","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_PASSWORD_PROTECTED":"PHONE_PASSWORD_PROTECTED","SMS_CODE_CREATE_FAILED":"SMS_CODE_CREATE_FAILED"},"messages.setInlineBotResults":{"ARTICLE_TITLE_EMPTY":"ARTICLE_TITLE_EMPTY","AUDIO_CONTENT_URL_EMPTY":"AUDIO_CONTENT_URL_EMPTY","AUDIO_TITLE_EMPTY":"AUDIO_TITLE_EMPTY","BUTTON_DATA_INVALID":"BUTTON_DATA_INVALID","BUTTON_TYPE_INVALID":"BUTTON_TYPE_INVALID","BUTTON_URL_INVALID":"BUTTON_URL_INVALID","DOCUMENT_INVALID":"DOCUMENT_INVALID","FILE_CONTENT_TYPE_INVALID":"FILE_CONTENT_TYPE_INVALID","FILE_TITLE_EMPTY":"FILE_TITLE_EMPTY","GIF_CONTENT_TYPE_INVALID":"GIF_CONTENT_TYPE_INVALID","MESSAGE_EMPTY":"MESSAGE_EMPTY","MESSAGE_TOO_LONG":"MESSAGE_TOO_LONG","NEXT_OFFSET_INVALID":"NEXT_OFFSET_INVALID","PHOTO_CONTENT_TYPE_INVALID":"PHOTO_CONTENT_TYPE_INVALID","PHOTO_CONTENT_URL_EMPTY":"PHOTO_CONTENT_URL_EMPTY","PHOTO_INVALID":"PHOTO_INVALID","PHOTO_THUMB_URL_EMPTY":"PHOTO_THUMB_URL_EMPTY","QUERY_ID_INVALID":"QUERY_ID_INVALID","REPLY_MARKUP_INVALID":"REPLY_MARKUP_INVALID","RESULT_ID_DUPLICATE":"RESULT_ID_DUPLICATE","RESULT_ID_INVALID":"RESULT_ID_INVALID","RESULT_TYPE_INVALID":"RESULT_TYPE_INVALID","RESULTS_TOO_MUCH":"RESULTS_TOO_MUCH","SEND_MESSAGE_MEDIA_INVALID":"SEND_MESSAGE_MEDIA_INVALID","SEND_MESSAGE_TYPE_INVALID":"SEND_MESSAGE_TYPE_INVALID","START_PARAM_EMPTY":"START_PARAM_EMPTY","START_PARAM_INVALID":"START_PARAM_INVALID","STICKER_DOCUMENT_INVALID":"STICKER_DOCUMENT_INVALID","SWITCH_PM_TEXT_EMPTY":"SWITCH_PM_TEXT_EMPTY","SWITCH_WEBVIEW_URL_INVALID":"SWITCH_WEBVIEW_URL_INVALID","URL_INVALID":"URL_INVALID","USER_BOT_INVALID":"USER_BOT_INVALID","VIDEO_TITLE_EMPTY":"VIDEO_TITLE_EMPTY","WEBDOCUMENT_INVALID":"WEBDOCUMENT_INVALID","WEBDOCUMENT_MIME_INVALID":"WEBDOCUMENT_MIME_INVALID","WEBDOCUMENT_SIZE_TOO_BIG":"WEBDOCUMENT_SIZE_TOO_BIG","WEBDOCUMENT_URL_INVALID":"WEBDOCUMENT_URL_INVALID"},"auth.importAuthorization":{"AUTH_BYTES_INVALID":"AUTH_BYTES_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"invokeWithLayer":{"AUTH_BYTES_INVALID":"AUTH_BYTES_INVALID","CDN_METHOD_INVALID":"CDN_METHOD_INVALID","CONNECTION_API_ID_INVALID":"CONNECTION_API_ID_INVALID","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"auth.acceptLoginToken":{"AUTH_TOKEN_ALREADY_ACCEPTED":"AUTH_TOKEN_ALREADY_ACCEPTED","AUTH_TOKEN_EXCEPTION":"AUTH_TOKEN_EXCEPTION","AUTH_TOKEN_EXPIRED":"AUTH_TOKEN_EXPIRED","AUTH_TOKEN_INVALIDX":"AUTH_TOKEN_INVALIDX"},"auth.importLoginToken":{"AUTH_TOKEN_ALREADY_ACCEPTED":"AUTH_TOKEN_ALREADY_ACCEPTED","AUTH_TOKEN_EXPIRED":"AUTH_TOKEN_EXPIRED","AUTH_TOKEN_INVALID":"AUTH_TOKEN_INVALID","AUTH_TOKEN_INVALIDX":"AUTH_TOKEN_INVALIDX"},"account.setGlobalPrivacySettings":{"AUTOARCHIVE_NOT_AVAILABLE":"AUTOARCHIVE_NOT_AVAILABLE"},"payments.getBankCardData":{"BANK_CARD_NUMBER_INVALID":"BANK_CARD_NUMBER_INVALID"},"messages.editChatDefaultBannedRights":{"BANNED_RIGHTS_INVALID":"BANNED_RIGHTS_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID","UNTIL_DATE_INVALID":"UNTIL_DATE_INVALID"},"stories.applyBoost":{"BOOST_NOT_MODIFIED":"BOOST_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED"},"stories.canApplyBoost":{"BOOST_NOT_MODIFIED":"BOOST_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED"},"payments.getPaymentForm":{"BOOST_PEER_INVALID":"BOOST_PEER_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","SLUG_INVALID":"SLUG_INVALID","UNTIL_DATE_INVALID":"UNTIL_DATE_INVALID"},"premium.applyBoost":{"BOOSTS_EMPTY":"BOOSTS_EMPTY","PEER_ID_INVALID":"PEER_ID_INVALID","SLOTS_EMPTY":"SLOTS_EMPTY"},"channels.updateColor":{"BOOSTS_REQUIRED":"BOOSTS_REQUIRED","CHANNEL_INVALID":"CHANNEL_INVALID"},"stories.canSendStory":{"BOOSTS_REQUIRED":"BOOSTS_REQUIRED","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED","STORIES_TOO_MUCH":"STORIES_TOO_MUCH","STORY_SEND_FLOOD_MONTHLY_%d":"STORY_SEND_FLOOD_MONTHLY_%d","STORY_SEND_FLOOD_WEEKLY_%d":"STORY_SEND_FLOOD_WEEKLY_%d"},"stories.sendStory":{"BOOSTS_REQUIRED":"BOOSTS_REQUIRED","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","MEDIA_EMPTY":"MEDIA_EMPTY","MEDIA_FILE_INVALID":"MEDIA_FILE_INVALID","MEDIA_TYPE_INVALID":"MEDIA_TYPE_INVALID","MEDIA_VIDEO_STORY_MISSING":"MEDIA_VIDEO_STORY_MISSING","PEER_ID_INVALID":"PEER_ID_INVALID","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED","STORIES_TOO_MUCH":"STORIES_TOO_MUCH","STORY_PERIOD_INVALID":"STORY_PERIOD_INVALID","VENUE_ID_INVALID":"VENUE_ID_INVALID"},"messages.getBotApp":{"BOT_APP_BOT_INVALID":"BOT_APP_BOT_INVALID","BOT_APP_INVALID":"BOT_APP_INVALID","BOT_APP_SHORTNAME_INVALID":"BOT_APP_SHORTNAME_INVALID"},"messages.requestAppWebView":{"BOT_APP_INVALID":"BOT_APP_INVALID","BOT_APP_SHORTNAME_INVALID":"BOT_APP_SHORTNAME_INVALID"},"bots.setBotCommands":{"BOT_COMMAND_DESCRIPTION_INVALID":"BOT_COMMAND_DESCRIPTION_INVALID","BOT_COMMAND_INVALID":"BOT_COMMAND_INVALID","LANG_CODE_INVALID":"LANG_CODE_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED","USER_ID_INVALID":"USER_ID_INVALID"},"messages.editMessage":{"BOT_DOMAIN_INVALID":"BOT_DOMAIN_INVALID","BOT_INVALID":"BOT_INVALID","BUTTON_DATA_INVALID":"BUTTON_DATA_INVALID","BUTTON_TYPE_INVALID":"BUTTON_TYPE_INVALID","BUTTON_URL_INVALID":"BUTTON_URL_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_FORWARDS_RESTRICTED":"CHAT_FORWARDS_RESTRICTED","DOCUMENT_INVALID":"DOCUMENT_INVALID","ENTITIES_TOO_LONG":"ENTITIES_TOO_LONG","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MEDIA_CAPTION_TOO_LONG":"MEDIA_CAPTION_TOO_LONG","MEDIA_EMPTY":"MEDIA_EMPTY","MEDIA_GROUPED_INVALID":"MEDIA_GROUPED_INVALID","MEDIA_INVALID":"MEDIA_INVALID","MEDIA_NEW_INVALID":"MEDIA_NEW_INVALID","MEDIA_PREV_INVALID":"MEDIA_PREV_INVALID","MEDIA_TTL_INVALID":"MEDIA_TTL_INVALID","MESSAGE_EDIT_TIME_EXPIRED":"MESSAGE_EDIT_TIME_EXPIRED","MESSAGE_EMPTY":"MESSAGE_EMPTY","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MESSAGE_NOT_MODIFIED":"MESSAGE_NOT_MODIFIED","MESSAGE_TOO_LONG":"MESSAGE_TOO_LONG","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","REPLY_MARKUP_INVALID":"REPLY_MARKUP_INVALID","REPLY_MARKUP_TOO_LONG":"REPLY_MARKUP_TOO_LONG","SCHEDULE_DATE_INVALID":"SCHEDULE_DATE_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","WEBPAGE_NOT_FOUND":"WEBPAGE_NOT_FOUND"},"channels.inviteToChannel":{"BOT_GROUPS_BLOCKED":"BOT_GROUPS_BLOCKED","BOTS_TOO_MUCH":"BOTS_TOO_MUCH","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_INVALID":"CHAT_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_BLOCKED":"USER_BLOCKED","USER_BOT":"USER_BOT","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH","USER_ID_INVALID":"USER_ID_INVALID","USER_KICKED":"USER_KICKED","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USERS_TOO_MUCH":"USERS_TOO_MUCH"},"messages.addChatUser":{"BOT_GROUPS_BLOCKED":"BOT_GROUPS_BLOCKED","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ALREADY_PARTICIPANT":"USER_ALREADY_PARTICIPANT","USER_ID_INVALID":"USER_ID_INVALID","USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USERS_TOO_MUCH":"USERS_TOO_MUCH","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.getInlineBotResults":{"BOT_INLINE_DISABLED":"BOT_INLINE_DISABLED","BOT_INVALID":"BOT_INVALID","BOT_RESPONSE_TIMEOUT":"BOT_RESPONSE_TIMEOUT","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID"},"bots.allowSendMessage":{"BOT_INVALID":"BOT_INVALID"},"bots.canSendMessage":{"BOT_INVALID":"BOT_INVALID"},"bots.getBotInfo":{"BOT_INVALID":"BOT_INVALID","LANG_CODE_INVALID":"LANG_CODE_INVALID","USER_BOT_INVALID":"USER_BOT_INVALID"},"bots.invokeWebViewCustomMethod":{"BOT_INVALID":"BOT_INVALID"},"bots.reorderUsernames":{"BOT_INVALID":"BOT_INVALID"},"bots.toggleUsername":{"BOT_INVALID":"BOT_INVALID"},"messages.getAttachMenuBot":{"BOT_INVALID":"BOT_INVALID"},"messages.requestSimpleWebView":{"BOT_INVALID":"BOT_INVALID","URL_INVALID":"URL_INVALID"},"messages.requestWebView":{"BOT_INVALID":"BOT_INVALID","BOT_WEBVIEW_DISABLED":"BOT_WEBVIEW_DISABLED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.startBot":{"BOT_INVALID":"BOT_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","START_PARAM_EMPTY":"START_PARAM_EMPTY","START_PARAM_INVALID":"START_PARAM_INVALID","START_PARAM_TOO_LONG":"START_PARAM_TOO_LONG"},"messages.toggleBotInAttachMenu":{"BOT_INVALID":"BOT_INVALID"},"stickers.addStickerToSet":{"BOT_MISSING":"BOT_MISSING","STICKER_PNG_NOPNG":"STICKER_PNG_NOPNG","STICKER_TGS_NOTGS":"STICKER_TGS_NOTGS","STICKERPACK_STICKERS_TOO_MUCH":"STICKERPACK_STICKERS_TOO_MUCH","STICKERS_TOO_MUCH":"STICKERS_TOO_MUCH","STICKERSET_INVALID":"STICKERSET_INVALID"},"stickers.changeSticker":{"BOT_MISSING":"BOT_MISSING","STICKER_INVALID":"STICKER_INVALID"},"stickers.deleteStickerSet":{"BOT_MISSING":"BOT_MISSING","STICKERSET_INVALID":"STICKERSET_INVALID"},"stickers.removeStickerFromSet":{"BOT_MISSING":"BOT_MISSING","STICKER_INVALID":"STICKER_INVALID"},"messages.updatePinnedMessage":{"BOT_ONESIDE_NOT_AVAIL":"BOT_ONESIDE_NOT_AVAIL","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","PIN_RESTRICTED":"PIN_RESTRICTED","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"messages.sendMedia":{"BOT_PAYMENTS_DISABLED":"BOT_PAYMENTS_DISABLED","BROADCAST_PUBLIC_VOTERS_FORBIDDEN":"BROADCAST_PUBLIC_VOTERS_FORBIDDEN","BUTTON_DATA_INVALID":"BUTTON_DATA_INVALID","BUTTON_TYPE_INVALID":"BUTTON_TYPE_INVALID","BUTTON_URL_INVALID":"BUTTON_URL_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_FORWARDS_RESTRICTED":"CHAT_FORWARDS_RESTRICTED","CHAT_RESTRICTED":"CHAT_RESTRICTED","CURRENCY_TOTAL_AMOUNT_INVALID":"CURRENCY_TOTAL_AMOUNT_INVALID","DOCUMENT_INVALID":"DOCUMENT_INVALID","EMOTICON_INVALID":"EMOTICON_INVALID","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","EXTERNAL_URL_INVALID":"EXTERNAL_URL_INVALID","FILE_PART_LENGTH_INVALID":"FILE_PART_LENGTH_INVALID","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","FILE_REFERENCE_EMPTY":"FILE_REFERENCE_EMPTY","FILE_REFERENCE_EXPIRED":"FILE_REFERENCE_EXPIRED","GAME_BOT_INVALID":"GAME_BOT_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MD5_CHECKSUM_INVALID":"MD5_CHECKSUM_INVALID","MEDIA_CAPTION_TOO_LONG":"MEDIA_CAPTION_TOO_LONG","MEDIA_EMPTY":"MEDIA_EMPTY","MEDIA_INVALID":"MEDIA_INVALID","MESSAGE_EMPTY":"MESSAGE_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","PAYMENT_PROVIDER_INVALID":"PAYMENT_PROVIDER_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_INVALID_DIMENSIONS":"PHOTO_INVALID_DIMENSIONS","PHOTO_SAVE_FILE_INVALID":"PHOTO_SAVE_FILE_INVALID","POLL_ANSWER_INVALID":"POLL_ANSWER_INVALID","POLL_ANSWERS_INVALID":"POLL_ANSWERS_INVALID","POLL_OPTION_DUPLICATE":"POLL_OPTION_DUPLICATE","POLL_OPTION_INVALID":"POLL_OPTION_INVALID","POLL_QUESTION_INVALID":"POLL_QUESTION_INVALID","QUIZ_CORRECT_ANSWER_INVALID":"QUIZ_CORRECT_ANSWER_INVALID","QUIZ_CORRECT_ANSWERS_EMPTY":"QUIZ_CORRECT_ANSWERS_EMPTY","QUIZ_CORRECT_ANSWERS_TOO_MUCH":"QUIZ_CORRECT_ANSWERS_TOO_MUCH","QUIZ_MULTIPLE_INVALID":"QUIZ_MULTIPLE_INVALID","REPLY_MARKUP_BUY_EMPTY":"REPLY_MARKUP_BUY_EMPTY","REPLY_MARKUP_GAME_EMPTY":"REPLY_MARKUP_GAME_EMPTY","REPLY_MARKUP_INVALID":"REPLY_MARKUP_INVALID","REPLY_MARKUP_TOO_LONG":"REPLY_MARKUP_TOO_LONG","SCHEDULE_BOT_NOT_ALLOWED":"SCHEDULE_BOT_NOT_ALLOWED","SCHEDULE_DATE_TOO_LATE":"SCHEDULE_DATE_TOO_LATE","SCHEDULE_TOO_MUCH":"SCHEDULE_TOO_MUCH","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID","STORY_ID_INVALID":"STORY_ID_INVALID","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED","TTL_MEDIA_INVALID":"TTL_MEDIA_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_IS_BOT":"USER_IS_BOT","VIDEO_CONTENT_TYPE_INVALID":"VIDEO_CONTENT_TYPE_INVALID","VOICE_MESSAGES_FORBIDDEN":"VOICE_MESSAGES_FORBIDDEN","WEBDOCUMENT_MIME_INVALID":"WEBDOCUMENT_MIME_INVALID","WEBPAGE_CURL_FAILED":"WEBPAGE_CURL_FAILED","WEBPAGE_MEDIA_EMPTY":"WEBPAGE_MEDIA_EMPTY","WEBPAGE_NOT_FOUND":"WEBPAGE_NOT_FOUND","WEBPAGE_URL_INVALID":"WEBPAGE_URL_INVALID","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.getBotCallbackAnswer":{"BOT_RESPONSE_TIMEOUT":"BOT_RESPONSE_TIMEOUT","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","DATA_INVALID":"DATA_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.setGameScore":{"BOT_SCORE_NOT_MODIFIED":"BOT_SCORE_NOT_MODIFIED","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","SCORE_INVALID":"SCORE_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"channels.setDiscussionGroup":{"BROADCAST_ID_INVALID":"BROADCAST_ID_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","LINK_NOT_MODIFIED":"LINK_NOT_MODIFIED","MEGAGROUP_ID_INVALID":"MEGAGROUP_ID_INVALID","MEGAGROUP_PREHISTORY_HIDDEN":"MEGAGROUP_PREHISTORY_HIDDEN"},"messages.forwardMessages":{"BROADCAST_PUBLIC_VOTERS_FORBIDDEN":"BROADCAST_PUBLIC_VOTERS_FORBIDDEN","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_FORWARDS_RESTRICTED":"CHAT_FORWARDS_RESTRICTED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_RESTRICTED":"CHAT_RESTRICTED","GROUPED_MEDIA_INVALID":"GROUPED_MEDIA_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MEDIA_EMPTY":"MEDIA_EMPTY","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MESSAGE_IDS_EMPTY":"MESSAGE_IDS_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","QUIZ_ANSWER_MISSING":"QUIZ_ANSWER_MISSING","RANDOM_ID_INVALID":"RANDOM_ID_INVALID","SCHEDULE_BOT_NOT_ALLOWED":"SCHEDULE_BOT_NOT_ALLOWED","SCHEDULE_DATE_TOO_LATE":"SCHEDULE_DATE_TOO_LATE","SCHEDULE_TOO_MUCH":"SCHEDULE_TOO_MUCH","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID","SLOWMODE_MULTI_MSGS_DISABLED":"SLOWMODE_MULTI_MSGS_DISABLED","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_IS_BOT":"USER_IS_BOT","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"stats.getBroadcastStats":{"BROADCAST_REQUIRED":"BROADCAST_REQUIRED","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"messages.editInlineBotMessage":{"BUTTON_DATA_INVALID":"BUTTON_DATA_INVALID","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MESSAGE_NOT_MODIFIED":"MESSAGE_NOT_MODIFIED"},"bots.setBotMenuButton":{"BUTTON_TEXT_INVALID":"BUTTON_TEXT_INVALID","BUTTON_URL_INVALID":"BUTTON_URL_INVALID"},"test.test":{"BUTTON_URL_INVALID":"BUTTON_URL_INVALID"},"phone.acceptCall":{"CALL_ALREADY_ACCEPTED":"CALL_ALREADY_ACCEPTED","CALL_ALREADY_DECLINED":"CALL_ALREADY_DECLINED","CALL_PEER_INVALID":"CALL_PEER_INVALID","CALL_PROTOCOL_FLAGS_INVALID":"CALL_PROTOCOL_FLAGS_INVALID"},"phone.discardCall":{"CALL_ALREADY_ACCEPTED":"CALL_ALREADY_ACCEPTED","CALL_OCCUPY_FAILED":"CALL_OCCUPY_FAILED","CALL_PEER_INVALID":"CALL_PEER_INVALID"},"phone.confirmCall":{"CALL_ALREADY_DECLINED":"CALL_ALREADY_DECLINED","CALL_PEER_INVALID":"CALL_PEER_INVALID"},"phone.receivedCall":{"CALL_ALREADY_DECLINED":"CALL_ALREADY_DECLINED","CALL_PEER_INVALID":"CALL_PEER_INVALID"},"phone.saveCallDebug":{"CALL_PEER_INVALID":"CALL_PEER_INVALID","DATA_JSON_INVALID":"DATA_JSON_INVALID"},"phone.setCallRating":{"CALL_PEER_INVALID":"CALL_PEER_INVALID"},"phone.requestCall":{"CALL_PROTOCOL_FLAGS_INVALID":"CALL_PROTOCOL_FLAGS_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","PARTICIPANT_VERSION_OUTDATED":"PARTICIPANT_VERSION_OUTDATED","USER_ID_INVALID":"USER_ID_INVALID","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"updates.getDifference":{"CDN_METHOD_INVALID":"CDN_METHOD_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","DATE_EMPTY":"DATE_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","PERSISTENT_TIMESTAMP_EMPTY":"PERSISTENT_TIMESTAMP_EMPTY","PERSISTENT_TIMESTAMP_INVALID":"PERSISTENT_TIMESTAMP_INVALID","USER_NOT_PARTICIPANT":"USER_NOT_PARTICIPANT","USERNAME_INVALID":"USERNAME_INVALID"},"upload.getCdnFileHashes":{"CDN_METHOD_INVALID":"CDN_METHOD_INVALID","FILE_TOKEN_INVALID":"FILE_TOKEN_INVALID","RSA_DECRYPT_FAILED":"RSA_DECRYPT_FAILED"},"upload.getFile":{"CDN_METHOD_INVALID":"CDN_METHOD_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","FILE_ID_INVALID":"FILE_ID_INVALID","FILE_REFERENCE_*":"FILE_REFERENCE_*","FILE_REFERENCE_EXPIRED":"FILE_REFERENCE_EXPIRED","LIMIT_INVALID":"LIMIT_INVALID","LOCATION_INVALID":"LOCATION_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","OFFSET_INVALID":"OFFSET_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"upload.reuploadCdnFile":{"CDN_METHOD_INVALID":"CDN_METHOD_INVALID","FILE_TOKEN_INVALID":"FILE_TOKEN_INVALID","LOCATION_INVALID":"LOCATION_INVALID","REQUEST_TOKEN_INVALID":"REQUEST_TOKEN_INVALID","RSA_DECRYPT_FAILED":"RSA_DECRYPT_FAILED"},"channels.createForumTopic":{"CHANNEL_FORUM_MISSING":"CHANNEL_FORUM_MISSING","CHANNEL_INVALID":"CHANNEL_INVALID","TOPIC_TITLE_EMPTY":"TOPIC_TITLE_EMPTY"},"channels.editForumTopic":{"CHANNEL_FORUM_MISSING":"CHANNEL_FORUM_MISSING","CHANNEL_INVALID":"CHANNEL_INVALID","DOCUMENT_INVALID":"DOCUMENT_INVALID","GENERAL_MODIFY_ICON_FORBIDDEN":"GENERAL_MODIFY_ICON_FORBIDDEN","TOPIC_CLOSE_SEPARATELY":"TOPIC_CLOSE_SEPARATELY","TOPIC_HIDE_SEPARATELY":"TOPIC_HIDE_SEPARATELY","TOPIC_ID_INVALID":"TOPIC_ID_INVALID","TOPIC_NOT_MODIFIED":"TOPIC_NOT_MODIFIED"},"channels.getForumTopics":{"CHANNEL_FORUM_MISSING":"CHANNEL_FORUM_MISSING","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getForumTopicsByID":{"CHANNEL_FORUM_MISSING":"CHANNEL_FORUM_MISSING","CHANNEL_INVALID":"CHANNEL_INVALID","TOPICS_EMPTY":"TOPICS_EMPTY"},"channels.convertToGigagroup":{"CHANNEL_ID_INVALID":"CHANNEL_ID_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","FORUM_ENABLED":"FORUM_ENABLED","PARTICIPANTS_TOO_FEW":"PARTICIPANTS_TOO_FEW"},"account.updateNotifySettings":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","SETTINGS_INVALID":"SETTINGS_INVALID"},"channels.checkUsername":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_ADMIN_PUBLIC_TOO_MUCH":"CHANNELS_ADMIN_PUBLIC_TOO_MUCH","CHAT_ID_INVALID":"CHAT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USERNAME_INVALID":"USERNAME_INVALID","USERNAME_OCCUPIED":"USERNAME_OCCUPIED","USERNAME_PURCHASE_AVAILABLE":"USERNAME_PURCHASE_AVAILABLE"},"channels.clickSponsoredMessage":{"CHANNEL_INVALID":"CHANNEL_INVALID"},"channels.deleteChannel":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNEL_TOO_LARGE":"CHANNEL_TOO_LARGE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"channels.deleteHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PARICIPANT_MISSING":"CHANNEL_PARICIPANT_MISSING","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNEL_TOO_BIG":"CHANNEL_TOO_BIG","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"channels.deleteMessages":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.deleteParticipantHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MSG_ID_INVALID":"MSG_ID_INVALID","PARTICIPANT_ID_INVALID":"PARTICIPANT_ID_INVALID"},"channels.deleteTopicHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","TOPIC_ID_INVALID":"TOPIC_ID_INVALID"},"channels.deleteUserHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"channels.editAbout":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ABOUT_NOT_MODIFIED":"CHAT_ABOUT_NOT_MODIFIED","CHAT_ABOUT_TOO_LONG":"CHAT_ABOUT_TOO_LONG","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"channels.editBanned":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PARTICIPANT_ID_INVALID":"PARTICIPANT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ADMIN_INVALID":"USER_ADMIN_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"channels.editPhoto":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","FILE_REFERENCE_INVALID":"FILE_REFERENCE_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","PHOTO_CROP_SIZE_SMALL":"PHOTO_CROP_SIZE_SMALL","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_INVALID":"PHOTO_INVALID","STICKER_MIME_INVALID":"STICKER_MIME_INVALID"},"channels.editTitle":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","CHAT_TITLE_EMPTY":"CHAT_TITLE_EMPTY"},"channels.exportInvite":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"channels.exportMessageLink":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.getAdminLog":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.getChannelRecommendations":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getChannels":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"channels.getFullChannel":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.getMessages":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MESSAGE_IDS_EMPTY":"MESSAGE_IDS_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"channels.getParticipant":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MSG_ID_INVALID":"MSG_ID_INVALID","PARTICIPANT_ID_INVALID":"PARTICIPANT_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID","USER_NOT_PARTICIPANT":"USER_NOT_PARTICIPANT"},"channels.getParticipants":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.getSendAs":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"channels.getSponsoredMessages":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.joinChannel":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_INVALID":"CHAT_INVALID","INVITE_HASH_EMPTY":"INVITE_HASH_EMPTY","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","INVITE_HASH_INVALID":"INVITE_HASH_INVALID","INVITE_REQUEST_SENT":"INVITE_REQUEST_SENT","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ALREADY_PARTICIPANT":"USER_ALREADY_PARTICIPANT","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH","USERS_TOO_MUCH":"USERS_TOO_MUCH"},"channels.leaveChannel":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_INVALID":"CHAT_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_CREATOR":"USER_CREATOR","USER_NOT_PARTICIPANT":"USER_NOT_PARTICIPANT"},"channels.readHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.readMessageContents":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.reorderUsernames":{"CHANNEL_INVALID":"CHANNEL_INVALID"},"channels.reportSpam":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"channels.setStickers":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ID_INVALID":"CHAT_ID_INVALID","PARTICIPANTS_TOO_FEW":"PARTICIPANTS_TOO_FEW"},"channels.toggleInvites":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"channels.toggleJoinRequest":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","CHAT_PUBLIC_REQUIRED":"CHAT_PUBLIC_REQUIRED"},"channels.toggleJoinToSend":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"channels.togglePreHistoryHidden":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_LINK_EXISTS":"CHAT_LINK_EXISTS","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","FORUM_ENABLED":"FORUM_ENABLED"},"channels.toggleSignatures":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"channels.toggleSlowMode":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","SECONDS_INVALID":"SECONDS_INVALID"},"channels.toggleViewForumAsMessages":{"CHANNEL_INVALID":"CHANNEL_INVALID"},"channels.updateEmojiStatus":{"CHANNEL_INVALID":"CHANNEL_INVALID"},"channels.updatePinnedMessage":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"channels.updateUsername":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_ADMIN_PUBLIC_TOO_MUCH":"CHANNELS_ADMIN_PUBLIC_TOO_MUCH","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","USERNAME_INVALID":"USERNAME_INVALID","USERNAME_NOT_MODIFIED":"USERNAME_NOT_MODIFIED","USERNAME_OCCUPIED":"USERNAME_OCCUPIED","USERNAME_PURCHASE_AVAILABLE":"USERNAME_PURCHASE_AVAILABLE"},"channels.viewSponsoredMessage":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.editChatAbout":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ABOUT_NOT_MODIFIED":"CHAT_ABOUT_NOT_MODIFIED","CHAT_ABOUT_TOO_LONG":"CHAT_ABOUT_TOO_LONG","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.exportChatInvite":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","EXPIRE_DATE_INVALID":"EXPIRE_DATE_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USAGE_LIMIT_INVALID":"USAGE_LIMIT_INVALID"},"messages.getChatInviteImporters":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","PEER_ID_INVALID":"PEER_ID_INVALID","SEARCH_WITH_LINK_NOT_SUPPORTED":"SEARCH_WITH_LINK_NOT_SUPPORTED"},"messages.getDiscussionMessage":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","TOPIC_ID_INVALID":"TOPIC_ID_INVALID"},"messages.getHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","TAKEOUT_INVALID":"TAKEOUT_INVALID"},"messages.getMessagesReactions":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.getMessagesViews":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getPeerDialogs":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getPeerSettings":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getReplies":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","TOPIC_ID_INVALID":"TOPIC_ID_INVALID"},"messages.getUnreadMentions":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.hideAllChatJoinRequests":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","HIDE_REQUESTER_MISSING":"HIDE_REQUESTER_MISSING","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","PEER_ID_INVALID":"PEER_ID_INVALID","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH"},"messages.importChatInvite":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_INVALID":"CHAT_INVALID","INVITE_HASH_EMPTY":"INVITE_HASH_EMPTY","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","INVITE_HASH_INVALID":"INVITE_HASH_INVALID","INVITE_REQUEST_SENT":"INVITE_REQUEST_SENT","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ALREADY_PARTICIPANT":"USER_ALREADY_PARTICIPANT","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH","USERS_TOO_MUCH":"USERS_TOO_MUCH"},"messages.readMentions":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.report":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.search":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","FROM_PEER_INVALID":"FROM_PEER_INVALID","INPUT_FILTER_INVALID":"INPUT_FILTER_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","PEER_ID_NOT_SUPPORTED":"PEER_ID_NOT_SUPPORTED","SEARCH_QUERY_EMPTY":"SEARCH_QUERY_EMPTY","USER_ID_INVALID":"USER_ID_INVALID"},"messages.sendInlineBotResult":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_RESTRICTED":"CHAT_RESTRICTED","CHAT_SEND_INLINE_FORBIDDEN":"CHAT_SEND_INLINE_FORBIDDEN","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","INLINE_RESULT_EXPIRED":"INLINE_RESULT_EXPIRED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MEDIA_EMPTY":"MEDIA_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","QUERY_ID_EMPTY":"QUERY_ID_EMPTY","RESULT_ID_EMPTY":"RESULT_ID_EMPTY","RESULT_ID_INVALID":"RESULT_ID_INVALID","SCHEDULE_DATE_TOO_LATE":"SCHEDULE_DATE_TOO_LATE","SCHEDULE_TOO_MUCH":"SCHEDULE_TOO_MUCH","TOPIC_DELETED":"TOPIC_DELETED","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","VOICE_MESSAGES_FORBIDDEN":"VOICE_MESSAGES_FORBIDDEN","WEBPAGE_CURL_FAILED":"WEBPAGE_CURL_FAILED","WEBPAGE_MEDIA_EMPTY":"WEBPAGE_MEDIA_EMPTY","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.sendMultiMedia":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_FORWARDS_RESTRICTED":"CHAT_FORWARDS_RESTRICTED","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","MEDIA_CAPTION_TOO_LONG":"MEDIA_CAPTION_TOO_LONG","MEDIA_EMPTY":"MEDIA_EMPTY","MEDIA_INVALID":"MEDIA_INVALID","MULTI_MEDIA_TOO_LONG":"MULTI_MEDIA_TOO_LONG","PEER_ID_INVALID":"PEER_ID_INVALID","RANDOM_ID_EMPTY":"RANDOM_ID_EMPTY","SCHEDULE_DATE_TOO_LATE":"SCHEDULE_DATE_TOO_LATE","SCHEDULE_TOO_MUCH":"SCHEDULE_TOO_MUCH","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"messages.sendReaction":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CUSTOM_REACTIONS_TOO_MANY":"CUSTOM_REACTIONS_TOO_MANY","DOCUMENT_INVALID":"DOCUMENT_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MESSAGE_NOT_MODIFIED":"MESSAGE_NOT_MODIFIED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","REACTION_EMPTY":"REACTION_EMPTY","REACTION_INVALID":"REACTION_INVALID","REACTIONS_TOO_MANY":"REACTIONS_TOO_MANY","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"messages.sendVote":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MESSAGE_POLL_CLOSED":"MESSAGE_POLL_CLOSED","MSG_ID_INVALID":"MSG_ID_INVALID","OPTION_INVALID":"OPTION_INVALID","OPTIONS_TOO_MUCH":"OPTIONS_TOO_MUCH","PEER_ID_INVALID":"PEER_ID_INVALID","REVOTE_NOT_ALLOWED":"REVOTE_NOT_ALLOWED"},"messages.setTyping":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_IS_BOT":"USER_IS_BOT"},"messages.uploadMedia":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_RESTRICTED":"CHAT_RESTRICTED","FILE_PART_LENGTH_INVALID":"FILE_PART_LENGTH_INVALID","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MEDIA_INVALID":"MEDIA_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_INVALID_DIMENSIONS":"PHOTO_INVALID_DIMENSIONS","PHOTO_SAVE_FILE_INVALID":"PHOTO_SAVE_FILE_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","WEBPAGE_CURL_FAILED":"WEBPAGE_CURL_FAILED"},"stats.getMegagroupStats":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MEGAGROUP_REQUIRED":"MEGAGROUP_REQUIRED"},"stats.getMessagePublicForwards":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"stats.getMessageStats":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getBoostersList":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getPeerStories":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getStoriesByID":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PEER_ID_INVALID":"PEER_ID_INVALID","STORIES_NEVER_CREATED":"STORIES_NEVER_CREATED","STORY_ID_EMPTY":"STORY_ID_EMPTY"},"stories.getStoriesViews":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PEER_ID_INVALID":"PEER_ID_INVALID","STORY_ID_EMPTY":"STORY_ID_EMPTY"},"updates.getChannelDifference":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","FROM_MESSAGE_BOT_DISABLED":"FROM_MESSAGE_BOT_DISABLED","MSG_ID_INVALID":"MSG_ID_INVALID","PERSISTENT_TIMESTAMP_EMPTY":"PERSISTENT_TIMESTAMP_EMPTY","PERSISTENT_TIMESTAMP_INVALID":"PERSISTENT_TIMESTAMP_INVALID","PINNED_DIALOGS_TOO_MUCH":"PINNED_DIALOGS_TOO_MUCH","RANGES_INVALID":"RANGES_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"users.getFullUser":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID","USERNAME_OCCUPIED":"USERNAME_OCCUPIED"},"users.getUsers":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","FROM_MESSAGE_BOT_DISABLED":"FROM_MESSAGE_BOT_DISABLED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"account.reportPeer":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PEER_ID_INVALID":"PEER_ID_INVALID"},"channels.editCreator":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_ADMIN_PUBLIC_TOO_MUCH":"CHANNELS_ADMIN_PUBLIC_TOO_MUCH","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PASSWORD_HASH_INVALID":"PASSWORD_HASH_INVALID","PASSWORD_MISSING":"PASSWORD_MISSING","PASSWORD_TOO_FRESH_%d":"PASSWORD_TOO_FRESH_%d","SESSION_TOO_FRESH_%d":"SESSION_TOO_FRESH_%d","SRP_ID_INVALID":"SRP_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"channels.toggleUsername":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","USERNAME_INVALID":"USERNAME_INVALID","USERNAMES_ACTIVE_TOO_MUCH":"USERNAMES_ACTIVE_TOO_MUCH"},"contacts.addContact":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CONTACT_ID_INVALID":"CONTACT_ID_INVALID","CONTACT_NAME_EMPTY":"CONTACT_NAME_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID"},"contacts.block":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CONTACT_ID_INVALID":"CONTACT_ID_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"contacts.unblock":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CONTACT_ID_INVALID":"CONTACT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"folders.editPeerFolders":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","FOLDER_ID_INVALID":"FOLDER_ID_INVALID"},"messages.deleteHistory":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_REVOKE_DATE_UNSUPPORTED":"CHAT_REVOKE_DATE_UNSUPPORTED","MAX_DATE_INVALID":"MAX_DATE_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MIN_DATE_INVALID":"MIN_DATE_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.editExportedChatInvite":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_INVITE_PERMANENT":"CHAT_INVITE_PERMANENT","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","PEER_ID_INVALID":"PEER_ID_INVALID","USAGE_LIMIT_INVALID":"USAGE_LIMIT_INVALID"},"messages.getExportedChatInvite":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getOnlines":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.hideChatJoinRequest":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","HIDE_REQUESTER_MISSING":"HIDE_REQUESTER_MISSING","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ALREADY_PARTICIPANT":"USER_ALREADY_PARTICIPANT","USER_ID_INVALID":"USER_ID_INVALID"},"messages.readHistory":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.reportSpam":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.toggleDialogPin":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PEER_HISTORY_EMPTY":"PEER_HISTORY_EMPTY","PEER_ID_INVALID":"PEER_ID_INVALID","PINNED_DIALOGS_TOO_MUCH":"PINNED_DIALOGS_TOO_MUCH"},"phone.createGroupCall":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CREATE_CALL_FAILED":"CREATE_CALL_FAILED","PEER_ID_INVALID":"PEER_ID_INVALID","SCHEDULE_DATE_INVALID":"SCHEDULE_DATE_INVALID"},"channels.getAdminedPublicChannels":{"CHANNELS_ADMIN_LOCATED_TOO_MUCH":"CHANNELS_ADMIN_LOCATED_TOO_MUCH","CHANNELS_ADMIN_PUBLIC_TOO_MUCH":"CHANNELS_ADMIN_PUBLIC_TOO_MUCH"},"messages.migrateChat":{"CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"channels.editLocation":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","MEGAGROUP_GEO_REQUIRED":"MEGAGROUP_GEO_REQUIRED","MEGAGROUP_REQUIRED":"MEGAGROUP_REQUIRED"},"messages.checkHistoryImportPeer":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT"},"messages.deleteChat":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.deleteChatUser":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID","USER_NOT_PARTICIPANT":"USER_NOT_PARTICIPANT"},"messages.editChatTitle":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","CHAT_TITLE_EMPTY":"CHAT_TITLE_EMPTY","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getAdminsWithInvites":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getMessageEditData":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getScheduledHistory":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getScheduledMessages":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.initHistoryImport":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","IMPORT_FILE_INVALID":"IMPORT_FILE_INVALID","IMPORT_FORMAT_DATE_INVALID":"IMPORT_FORMAT_DATE_INVALID","IMPORT_FORMAT_UNRECOGNIZED":"IMPORT_FORMAT_UNRECOGNIZED","IMPORT_HISTORY_LOG_EMPTY":"IMPORT_HISTORY_LOG_EMPTY","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.setChatAvailableReactions":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.toggleNoForwards":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.unpinAllMessages":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.uploadImportedMedia":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"phone.getGroupCallStreamRtmpUrl":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"premium.getBoostsList":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getStoriesArchive":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"channels.toggleForum":{"CHAT_DISCUSSION_UNALLOWED":"CHAT_DISCUSSION_UNALLOWED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"messages.discardEncryption":{"CHAT_ID_EMPTY":"CHAT_ID_EMPTY","ENCRYPTION_ALREADY_ACCEPTED":"ENCRYPTION_ALREADY_ACCEPTED","ENCRYPTION_ALREADY_DECLINED":"ENCRYPTION_ALREADY_DECLINED","ENCRYPTION_ID_INVALID":"ENCRYPTION_ID_INVALID"},"channels.toggleParticipantsHidden":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PARTICIPANTS_TOO_FEW":"PARTICIPANTS_TOO_FEW"},"messages.acceptEncryption":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","ENCRYPTION_ALREADY_ACCEPTED":"ENCRYPTION_ALREADY_ACCEPTED","ENCRYPTION_ALREADY_DECLINED":"ENCRYPTION_ALREADY_DECLINED"},"messages.editChatAdmin":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID","USER_NOT_PARTICIPANT":"USER_NOT_PARTICIPANT"},"messages.editChatPhoto":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","PEER_ID_INVALID":"PEER_ID_INVALID","PHOTO_CROP_SIZE_SMALL":"PHOTO_CROP_SIZE_SMALL","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_INVALID":"PHOTO_INVALID"},"messages.forwardMessage":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.getChats":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getFullChat":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.readDiscussion":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.reportEncryptedSpam":{"CHAT_ID_INVALID":"CHAT_ID_INVALID"},"messages.sendEncrypted":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","DATA_INVALID":"DATA_INVALID","DATA_TOO_LONG":"DATA_TOO_LONG","ENCRYPTION_DECLINED":"ENCRYPTION_DECLINED","MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.sendEncryptedFile":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","DATA_TOO_LONG":"DATA_TOO_LONG","ENCRYPTION_DECLINED":"ENCRYPTION_DECLINED","FILE_EMTPY":"FILE_EMTPY","MD5_CHECKSUM_INVALID":"MD5_CHECKSUM_INVALID","MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.sendEncryptedService":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","DATA_INVALID":"DATA_INVALID","ENCRYPTION_DECLINED":"ENCRYPTION_DECLINED","ENCRYPTION_ID_INVALID":"ENCRYPTION_ID_INVALID","MSG_WAIT_FAILED":"MSG_WAIT_FAILED","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"messages.setEncryptedTyping":{"CHAT_ID_INVALID":"CHAT_ID_INVALID"},"messages.toggleChatAdmins":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"messages.updateDialogFilter":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","CHATLIST_EXCLUDE_INVALID":"CHATLIST_EXCLUDE_INVALID","FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_INCLUDE_EMPTY":"FILTER_INCLUDE_EMPTY","FILTER_TITLE_EMPTY":"FILTER_TITLE_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.createChat":{"CHAT_INVALID":"CHAT_INVALID","CHAT_TITLE_EMPTY":"CHAT_TITLE_EMPTY","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","TTL_PERIOD_INVALID":"TTL_PERIOD_INVALID","USERS_TOO_FEW":"USERS_TOO_FEW"},"channels.toggleAntiSpam":{"CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"messages.setHistoryTTL":{"CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","TTL_PERIOD_INVALID":"TTL_PERIOD_INVALID"},"messages.getMessageReadParticipants":{"CHAT_TOO_BIG":"CHAT_TOO_BIG","MSG_ID_INVALID":"MSG_ID_INVALID","MSG_TOO_OLD":"MSG_TOO_OLD","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getMessagesReadParticipants":{"CHAT_TOO_BIG":"CHAT_TOO_BIG","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID"},"account.deleteBusinessChatLink":{"CHATLINK_SLUG_EMPTY":"CHATLINK_SLUG_EMPTY"},"account.editBusinessChatLink":{"CHATLINK_SLUG_EMPTY":"CHATLINK_SLUG_EMPTY"},"account.resolveBusinessChatLink":{"CHATLINK_SLUG_EMPTY":"CHATLINK_SLUG_EMPTY"},"auth.recoverPassword":{"CODE_EMPTY":"CODE_EMPTY","NEW_SETTINGS_INVALID":"NEW_SETTINGS_INVALID"},"account.confirmPhone":{"CODE_HASH_INVALID":"CODE_HASH_INVALID","PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY"},"account.confirmPasswordEmail":{"CODE_INVALID":"CODE_INVALID","EMAIL_HASH_EXPIRED":"EMAIL_HASH_EXPIRED"},"fragment.getCollectibleInfo":{"COLLECTIBLE_INVALID":"COLLECTIBLE_INVALID","COLLECTIBLE_NOT_FOUND":"COLLECTIBLE_NOT_FOUND"},"account.updateColor":{"COLOR_INVALID":"COLOR_INVALID"},"help.getConfig":{"CONNECTION_API_ID_INVALID":"CONNECTION_API_ID_INVALID","CONNECTION_APP_VERSION_EMPTY":"CONNECTION_APP_VERSION_EMPTY","CONNECTION_LAYER_INVALID":"CONNECTION_LAYER_INVALID","DATA_INVALID":"DATA_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","USERNAME_INVALID":"USERNAME_INVALID"},"account.getBotBusinessConnection":{"CONNECTION_ID_INVALID":"CONNECTION_ID_INVALID"},"contacts.resolveUsername":{"CONNECTION_LAYER_INVALID":"CONNECTION_LAYER_INVALID","USERNAME_INVALID":"USERNAME_INVALID","USERNAME_NOT_OCCUPIED":"USERNAME_NOT_OCCUPIED"},"initConnection":{"CONNECTION_LAYER_INVALID":"CONNECTION_LAYER_INVALID"},"contacts.acceptContact":{"CONTACT_ADD_MISSING":"CONTACT_ADD_MISSING","CONTACT_ID_INVALID":"CONTACT_ID_INVALID","CONTACT_REQ_MISSING":"CONTACT_REQ_MISSING","MSG_ID_INVALID":"MSG_ID_INVALID"},"contacts.deleteContact":{"CONTACT_ID_INVALID":"CONTACT_ID_INVALID"},"photos.uploadContactProfilePhoto":{"CONTACT_MISSING":"CONTACT_MISSING","USER_ID_INVALID":"USER_ID_INVALID"},"payments.exportInvoice":{"CURRENCY_TOTAL_AMOUNT_INVALID":"CURRENCY_TOTAL_AMOUNT_INVALID","INVOICE_PAYLOAD_INVALID":"INVOICE_PAYLOAD_INVALID","MEDIA_INVALID":"MEDIA_INVALID","PAYMENT_PROVIDER_INVALID":"PAYMENT_PROVIDER_INVALID"},"bots.answerWebhookJSONQuery":{"DATA_JSON_INVALID":"DATA_JSON_INVALID","QUERY_ID_INVALID":"QUERY_ID_INVALID","USER_BOT_INVALID":"USER_BOT_INVALID"},"bots.sendCustomRequest":{"DATA_JSON_INVALID":"DATA_JSON_INVALID","METHOD_INVALID":"METHOD_INVALID","USER_BOT_INVALID":"USER_BOT_INVALID"},"help.acceptTermsOfService":{"DATA_JSON_INVALID":"DATA_JSON_INVALID"},"phone.joinGroupCall":{"DATA_JSON_INVALID":"DATA_JSON_INVALID","GROUPCALL_INVALID":"GROUPCALL_INVALID","GROUPCALL_SSRC_DUPLICATE_MUCH":"GROUPCALL_SSRC_DUPLICATE_MUCH","JOIN_AS_PEER_INVALID":"JOIN_AS_PEER_INVALID"},"auth.exportAuthorization":{"DC_ID_INVALID":"DC_ID_INVALID"},"messages.requestEncryption":{"DH_G_A_INVALID":"DH_G_A_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","USER_ID_INVALID":"USER_ID_INVALID"},"account.updateEmojiStatus":{"DOCUMENT_INVALID":"DOCUMENT_INVALID"},"upload.getWebFile":{"DOCUMENT_INVALID":"DOCUMENT_INVALID","LOCATION_INVALID":"LOCATION_INVALID"},"account.cancelPasswordEmail":{"EMAIL_HASH_EXPIRED":"EMAIL_HASH_EXPIRED"},"account.resendPasswordEmail":{"EMAIL_HASH_EXPIRED":"EMAIL_HASH_EXPIRED"},"account.sendVerifyEmailCode":{"EMAIL_INVALID":"EMAIL_INVALID","EMAIL_NOT_SETUP":"EMAIL_NOT_SETUP","PHONE_HASH_EXPIRED":"PHONE_HASH_EXPIRED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"account.updatePasswordSettings":{"EMAIL_INVALID":"EMAIL_INVALID","EMAIL_UNCONFIRMED":"EMAIL_UNCONFIRMED","EMAIL_UNCONFIRMED_%d":"EMAIL_UNCONFIRMED_%d","NEW_SALT_INVALID":"NEW_SALT_INVALID","NEW_SETTINGS_EMPTY":"NEW_SETTINGS_EMPTY","NEW_SETTINGS_INVALID":"NEW_SETTINGS_INVALID","PASSWORD_HASH_INVALID":"PASSWORD_HASH_INVALID","SRP_ID_INVALID":"SRP_ID_INVALID","SRP_PASSWORD_CHANGED":"SRP_PASSWORD_CHANGED"},"account.verifyEmail":{"EMAIL_INVALID":"EMAIL_INVALID","EMAIL_VERIFY_EXPIRED":"EMAIL_VERIFY_EXPIRED"},"messages.setChatTheme":{"EMOJI_INVALID":"EMOJI_INVALID","EMOJI_NOT_MODIFIED":"EMOJI_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getStickers":{"EMOTICON_EMPTY":"EMOTICON_EMPTY"},"messages.searchCustomEmoji":{"EMOTICON_EMPTY":"EMOTICON_EMPTY"},"messages.getStickerSet":{"EMOTICON_STICKERPACK_MISSING":"EMOTICON_STICKERPACK_MISSING","STICKERSET_INVALID":"STICKERSET_INVALID"},"auth.bindTempAuthKey":{"ENCRYPTED_MESSAGE_INVALID":"ENCRYPTED_MESSAGE_INVALID","TEMP_AUTH_KEY_ALREADY_BOUND":"TEMP_AUTH_KEY_ALREADY_BOUND","TEMP_AUTH_KEY_EMPTY":"TEMP_AUTH_KEY_EMPTY"},"help.editUserInfo":{"ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","USER_INVALID":"USER_INVALID"},"messages.getWebPagePreview":{"ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","MESSAGE_EMPTY":"MESSAGE_EMPTY"},"messages.saveDraft":{"ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.setBotPrecheckoutResults":{"ERROR_TEXT_EMPTY":"ERROR_TEXT_EMPTY"},"contacts.importCard":{"EXPORT_CARD_INVALID":"EXPORT_CARD_INVALID"},"upload.saveBigFilePart":{"FILE_PART_EMPTY":"FILE_PART_EMPTY","FILE_PART_INVALID":"FILE_PART_INVALID","FILE_PART_SIZE_CHANGED":"FILE_PART_SIZE_CHANGED","FILE_PART_SIZE_INVALID":"FILE_PART_SIZE_INVALID","FILE_PART_TOO_BIG":"FILE_PART_TOO_BIG","FILE_PARTS_INVALID":"FILE_PARTS_INVALID"},"upload.saveFilePart":{"FILE_PART_EMPTY":"FILE_PART_EMPTY","FILE_PART_INVALID":"FILE_PART_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID"},"upload.getCdnFile":{"FILE_TOKEN_INVALID":"FILE_TOKEN_INVALID"},"chatlists.deleteExportedInvite":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"chatlists.editExportedInvite":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"chatlists.exportChatlistInvite":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED","INVITES_TOO_MUCH":"INVITES_TOO_MUCH","PEERS_LIST_EMPTY":"PEERS_LIST_EMPTY"},"chatlists.getChatlistUpdates":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED","INPUT_CHATLIST_INVALID":"INPUT_CHATLIST_INVALID"},"chatlists.getLeaveChatlistSuggestions":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"chatlists.hideChatlistUpdates":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"chatlists.joinChatlistUpdates":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_INCLUDE_EMPTY":"FILTER_INCLUDE_EMPTY"},"chatlists.joinChatlistInvite":{"FILTER_INCLUDE_EMPTY":"FILTER_INCLUDE_EMPTY","INVITE_SLUG_EMPTY":"INVITE_SLUG_EMPTY","INVITE_SLUG_EXPIRED":"INVITE_SLUG_EXPIRED"},"messages.getSearchResultsCalendar":{"FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"messages.searchSentMedia":{"FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"auth.signUp":{"FIRSTNAME_INVALID":"FIRSTNAME_INVALID","LASTNAME_INVALID":"LASTNAME_INVALID","PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_CODE_INVALID":"PHONE_CODE_INVALID","PHONE_NUMBER_FLOOD":"PHONE_NUMBER_FLOOD","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_NUMBER_OCCUPIED":"PHONE_NUMBER_OCCUPIED"},"folders.deleteFolder":{"FOLDER_ID_EMPTY":"FOLDER_ID_EMPTY","FOLDER_ID_INVALID":"FOLDER_ID_INVALID"},"messages.getDialogs":{"FOLDER_ID_INVALID":"FOLDER_ID_INVALID","OFFSET_PEER_ID_INVALID":"OFFSET_PEER_ID_INVALID"},"messages.getPinnedDialogs":{"FOLDER_ID_INVALID":"FOLDER_ID_INVALID"},"messages.searchGlobal":{"FOLDER_ID_INVALID":"FOLDER_ID_INVALID","INPUT_FILTER_INVALID":"INPUT_FILTER_INVALID","SEARCH_QUERY_EMPTY":"SEARCH_QUERY_EMPTY"},"contacts.getLocated":{"GEO_POINT_INVALID":"GEO_POINT_INVALID","USERPIC_UPLOAD_REQUIRED":"USERPIC_UPLOAD_REQUIRED"},"messages.saveGif":{"GIF_ID_INVALID":"GIF_ID_INVALID"},"payments.applyGiftCode":{"GIFT_SLUG_EXPIRED":"GIFT_SLUG_EXPIRED","GIFT_SLUG_INVALID":"GIFT_SLUG_INVALID"},"payments.checkGiftCode":{"GIFT_SLUG_EXPIRED":"GIFT_SLUG_EXPIRED","GIFT_SLUG_INVALID":"GIFT_SLUG_INVALID"},"stats.loadAsyncGraph":{"GRAPH_EXPIRED_RELOAD":"GRAPH_EXPIRED_RELOAD","GRAPH_INVALID_RELOAD":"GRAPH_INVALID_RELOAD","GRAPH_OUTDATED_RELOAD":"GRAPH_OUTDATED_RELOAD"},"phone.discardGroupCall":{"GROUPCALL_ALREADY_DISCARDED":"GROUPCALL_ALREADY_DISCARDED","GROUPCALL_INVALID":"GROUPCALL_INVALID"},"phone.discardGroupCallRequest":{"GROUPCALL_ALREADY_DISCARDED":"GROUPCALL_ALREADY_DISCARDED"},"phone.editGroupCallParticipant":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN","PARTICIPANT_JOIN_MISSING":"PARTICIPANT_JOIN_MISSING","RAISE_HAND_FORBIDDEN":"RAISE_HAND_FORBIDDEN","USER_VOLUME_INVALID":"USER_VOLUME_INVALID","VIDEO_PAUSE_FORBIDDEN":"VIDEO_PAUSE_FORBIDDEN","VIDEO_STOP_FORBIDDEN":"VIDEO_STOP_FORBIDDEN"},"phone.editGroupCallTitle":{"GROUPCALL_INVALID":"GROUPCALL_INVALID"},"phone.getGroupCall":{"GROUPCALL_INVALID":"GROUPCALL_INVALID"},"phone.getGroupCallStreamChannels":{"GROUPCALL_INVALID":"GROUPCALL_INVALID","GROUPCALL_JOIN_MISSING":"GROUPCALL_JOIN_MISSING"},"phone.inviteToGroupCall":{"GROUPCALL_INVALID":"GROUPCALL_INVALID","INVITE_FORBIDDEN_WITH_JOINAS":"INVITE_FORBIDDEN_WITH_JOINAS","USER_ALREADY_INVITED":"USER_ALREADY_INVITED"},"phone.toggleGroupCallRecord":{"GROUPCALL_INVALID":"GROUPCALL_INVALID","GROUPCALL_NOT_MODIFIED":"GROUPCALL_NOT_MODIFIED"},"phone.checkGroupCall":{"GROUPCALL_JOIN_MISSING":"GROUPCALL_JOIN_MISSING"},"phone.toggleGroupCallSettings":{"GROUPCALL_NOT_MODIFIED":"GROUPCALL_NOT_MODIFIED"},"account.changeAuthorizationSettings":{"HASH_INVALID":"HASH_INVALID"},"account.resetAuthorization":{"HASH_INVALID":"HASH_INVALID"},"account.resetWebAuthorization":{"HASH_INVALID":"HASH_INVALID"},"account.sendConfirmPhoneCode":{"HASH_INVALID":"HASH_INVALID"},"messages.checkHistoryImport":{"IMPORT_FORMAT_UNRECOGNIZED":"IMPORT_FORMAT_UNRECOGNIZED"},"messages.startHistoryImport":{"IMPORT_ID_INVALID":"IMPORT_ID_INVALID"},"contacts.importContactToken":{"IMPORT_TOKEN_INVALID":"IMPORT_TOKEN_INVALID"},"messages.translateText":{"INPUT_TEXT_EMPTY":"INPUT_TEXT_EMPTY","INPUT_TEXT_TOO_LONG":"INPUT_TEXT_TOO_LONG","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","TO_LANG_INVALID":"TO_LANG_INVALID","TRANSLATE_REQ_QUOTA_EXCEEDED":"TRANSLATE_REQ_QUOTA_EXCEEDED"},"messages.sendScreenshotNotification":{"INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","PEER_ID_INVALID":"PEER_ID_INVALID","REPLY_MESSAGE_ID_INVALID":"REPLY_MESSAGE_ID_INVALID","STORY_ID_INVALID":"STORY_ID_INVALID","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.checkChatInvite":{"INVITE_HASH_EMPTY":"INVITE_HASH_EMPTY","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","INVITE_HASH_INVALID":"INVITE_HASH_INVALID"},"messages.deleteExportedChatInvite":{"INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","INVITE_REVOKED_MISSING":"INVITE_REVOKED_MISSING","PEER_ID_INVALID":"PEER_ID_INVALID"},"chatlists.checkChatlistInvite":{"INVITE_SLUG_EMPTY":"INVITE_SLUG_EMPTY","INVITE_SLUG_EXPIRED":"INVITE_SLUG_EXPIRED"},"phone.saveDefaultGroupCallJoinAs":{"JOIN_AS_PEER_INVALID":"JOIN_AS_PEER_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"bots.resetBotCommands":{"LANG_CODE_INVALID":"LANG_CODE_INVALID"},"langpack.getLangPack":{"LANG_CODE_NOT_SUPPORTED":"LANG_CODE_NOT_SUPPORTED","LANG_PACK_INVALID":"LANG_PACK_INVALID"},"langpack.getLanguage":{"LANG_CODE_NOT_SUPPORTED":"LANG_CODE_NOT_SUPPORTED","LANG_PACK_INVALID":"LANG_PACK_INVALID"},"langpack.getStrings":{"LANG_CODE_NOT_SUPPORTED":"LANG_CODE_NOT_SUPPORTED","LANG_PACK_INVALID":"LANG_PACK_INVALID"},"langpack.getDifference":{"LANG_PACK_INVALID":"LANG_PACK_INVALID"},"langpack.getLanguages":{"LANG_PACK_INVALID":"LANG_PACK_INVALID"},"upload.getFileHashes":{"LOCATION_INVALID":"LOCATION_INVALID"},"messages.readEncryptedHistory":{"MAX_DATE_INVALID":"MAX_DATE_INVALID","MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"photos.getUserPhotos":{"MAX_ID_INVALID":"MAX_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"stories.readStories":{"MAX_ID_INVALID":"MAX_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","STORIES_NEVER_CREATED":"STORIES_NEVER_CREATED"},"messages.receivedQueue":{"MAX_QTS_INVALID":"MAX_QTS_INVALID","MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"auth.sendInvites":{"MESSAGE_EMPTY":"MESSAGE_EMPTY"},"messages.deleteMessages":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID"},"messages.getGameHighScores":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"messages.getInlineGameHighScores":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"messages.getPollResults":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.sendScheduledMessages":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.setInlineGameScore":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"payments.getPaymentReceipt":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID"},"payments.sendPaymentForm":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID"},"payments.validateRequestedInfo":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID"},"messages.setBotCallbackAnswer":{"MESSAGE_TOO_LONG":"MESSAGE_TOO_LONG","QUERY_ID_INVALID":"QUERY_ID_INVALID","URL_INVALID":"URL_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"messages.searchGifs":{"METHOD_INVALID":"METHOD_INVALID","SEARCH_QUERY_EMPTY":"SEARCH_QUERY_EMPTY"},"contacts.blockFromReplies":{"MSG_ID_INVALID":"MSG_ID_INVALID"},"messages.getCommonChats":{"MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"messages.getMessageReactionsList":{"MSG_ID_INVALID":"MSG_ID_INVALID"},"messages.getPollVotes":{"MSG_ID_INVALID":"MSG_ID_INVALID"},"messages.reportReaction":{"MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"smsjobs.join":{"NOT_ELIGIBLE":"NOT_ELIGIBLE"},"smsjobs.getStatus":{"NOT_JOINED":"NOT_JOINED"},"smsjobs.leave":{"NOT_JOINED":"NOT_JOINED"},"smsjobs.updateSettings":{"NOT_JOINED":"NOT_JOINED"},"account.reorderUsernames":{"ORDER_INVALID":"ORDER_INVALID"},"stickers.createStickerSet":{"PACK_SHORT_NAME_INVALID":"PACK_SHORT_NAME_INVALID","PACK_SHORT_NAME_OCCUPIED":"PACK_SHORT_NAME_OCCUPIED","PACK_TITLE_INVALID":"PACK_TITLE_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","STICKER_EMOJI_INVALID":"STICKER_EMOJI_INVALID","STICKER_FILE_INVALID":"STICKER_FILE_INVALID","STICKER_GIF_DIMENSIONS":"STICKER_GIF_DIMENSIONS","STICKER_PNG_DIMENSIONS":"STICKER_PNG_DIMENSIONS","STICKER_PNG_NOPNG":"STICKER_PNG_NOPNG","STICKER_TGS_NODOC":"STICKER_TGS_NODOC","STICKER_TGS_NOTGS":"STICKER_TGS_NOTGS","STICKER_THUMB_PNG_NOPNG":"STICKER_THUMB_PNG_NOPNG","STICKER_THUMB_TGS_NOTGS":"STICKER_THUMB_TGS_NOTGS","STICKER_VIDEO_BIG":"STICKER_VIDEO_BIG","STICKER_VIDEO_NODOC":"STICKER_VIDEO_NODOC","STICKER_VIDEO_NOWEBM":"STICKER_VIDEO_NOWEBM","STICKERS_EMPTY":"STICKERS_EMPTY","USER_ID_INVALID":"USER_ID_INVALID"},"phone.joinGroupCallPresentation":{"PARTICIPANT_JOIN_MISSING":"PARTICIPANT_JOIN_MISSING"},"account.resetPassword":{"PASSWORD_EMPTY":"PASSWORD_EMPTY"},"auth.requestPasswordRecovery":{"PASSWORD_EMPTY":"PASSWORD_EMPTY","PASSWORD_RECOVERY_NA":"PASSWORD_RECOVERY_NA"},"account.getPasswordSettings":{"PASSWORD_HASH_INVALID":"PASSWORD_HASH_INVALID"},"account.getTmpPassword":{"PASSWORD_HASH_INVALID":"PASSWORD_HASH_INVALID","TMP_PASSWORD_DISABLED":"TMP_PASSWORD_DISABLED"},"auth.checkPassword":{"PASSWORD_HASH_INVALID":"PASSWORD_HASH_INVALID","SRP_ID_INVALID":"SRP_ID_INVALID","SRP_PASSWORD_CHANGED":"SRP_PASSWORD_CHANGED"},"auth.checkRecoveryPassword":{"PASSWORD_RECOVERY_EXPIRED":"PASSWORD_RECOVERY_EXPIRED"},"account.saveSecureValue":{"PASSWORD_REQUIRED":"PASSWORD_REQUIRED"},"account.getNotifySettings":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"account.reportProfilePhoto":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"account.saveAutoSaveSettings":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"contacts.resetTopPeerRating":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.deleteSavedHistory":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.deleteScheduledMessages":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getOutboxReadDate":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getSavedHistory":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getSearchCounters":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getStatsURL":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getUnreadReactions":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.hideReportSpam":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.markDialogUnread":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.readReactions":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.reorderPinnedDialogs":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.saveDefaultSendAs":{"PEER_ID_INVALID":"PEER_ID_INVALID","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID"},"messages.setChatWallPaper":{"PEER_ID_INVALID":"PEER_ID_INVALID","WALLPAPER_INVALID":"WALLPAPER_INVALID","WALLPAPER_NOT_FOUND":"WALLPAPER_NOT_FOUND"},"messages.toggleSavedDialogPin":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.transcribeAudio":{"PEER_ID_INVALID":"PEER_ID_INVALID","TRANSCRIPTION_FAILED":"TRANSCRIPTION_FAILED"},"payments.getGiveawayInfo":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"payments.launchPrepaidGiveaway":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"phone.getGroupCallJoinAs":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"premium.getBoostsStatus":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"premium.getUserBoosts":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stats.getStoryPublicForwards":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stats.getStoryStats":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.deleteStories":{"PEER_ID_INVALID":"PEER_ID_INVALID","STORY_ID_EMPTY":"STORY_ID_EMPTY"},"stories.editStory":{"PEER_ID_INVALID":"PEER_ID_INVALID","STORY_NOT_MODIFIED":"STORY_NOT_MODIFIED"},"stories.exportStoryLink":{"PEER_ID_INVALID":"PEER_ID_INVALID","STORY_ID_EMPTY":"STORY_ID_EMPTY","USER_PUBLIC_MISSING":"USER_PUBLIC_MISSING"},"stories.getBoostsStatus":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getPinnedStories":{"PEER_ID_INVALID":"PEER_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"stories.getStoryReactionsList":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getStoryViewsList":{"PEER_ID_INVALID":"PEER_ID_INVALID","STORY_ID_INVALID":"STORY_ID_INVALID"},"stories.incrementStoryViews":{"PEER_ID_INVALID":"PEER_ID_INVALID","STORY_ID_EMPTY":"STORY_ID_EMPTY"},"stories.report":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.sendReaction":{"PEER_ID_INVALID":"PEER_ID_INVALID","REACTION_INVALID":"REACTION_INVALID","STORY_ID_EMPTY":"STORY_ID_EMPTY","STORY_ID_INVALID":"STORY_ID_INVALID"},"stories.togglePeerStoriesHidden":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.togglePinned":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"account.changePhone":{"PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_NUMBER_OCCUPIED":"PHONE_NUMBER_OCCUPIED"},"account.verifyPhone":{"PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.requestFirebaseSms":{"PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.resendCode":{"PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_CODE_HASH_EMPTY":"PHONE_CODE_HASH_EMPTY","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.signIn":{"PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_CODE_INVALID":"PHONE_CODE_INVALID","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_NUMBER_UNOCCUPIED":"PHONE_NUMBER_UNOCCUPIED"},"auth.cancelCode":{"PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"contacts.resolvePhone":{"PHONE_NOT_OCCUPIED":"PHONE_NOT_OCCUPIED"},"account.sendChangePhoneCode":{"PHONE_NUMBER_BANNED":"PHONE_NUMBER_BANNED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_NUMBER_OCCUPIED":"PHONE_NUMBER_OCCUPIED"},"auth.checkPhone":{"PHONE_NUMBER_BANNED":"PHONE_NUMBER_BANNED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"account.sendVerifyPhoneCode":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.resetLoginEmail":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","TASK_ALREADY_EXISTS":"TASK_ALREADY_EXISTS"},"account.getPrivacy":{"PRIVACY_KEY_INVALID":"PRIVACY_KEY_INVALID"},"account.setPrivacy":{"PRIVACY_KEY_INVALID":"PRIVACY_KEY_INVALID","PRIVACY_TOO_LONG":"PRIVACY_TOO_LONG","PRIVACY_VALUE_INVALID":"PRIVACY_VALUE_INVALID"},"account.acceptAuthorization":{"PUBLIC_KEY_REQUIRED":"PUBLIC_KEY_REQUIRED"},"account.getAuthorizationForm":{"PUBLIC_KEY_REQUIRED":"PUBLIC_KEY_REQUIRED"},"messages.sendWebViewResultMessage":{"QUERY_ID_INVALID":"QUERY_ID_INVALID"},"messages.setBotShippingResults":{"QUERY_ID_INVALID":"QUERY_ID_INVALID"},"contacts.search":{"QUERY_TOO_SHORT":"QUERY_TOO_SHORT","SEARCH_QUERY_EMPTY":"SEARCH_QUERY_EMPTY"},"messages.getDhConfig":{"RANDOM_LENGTH_INVALID":"RANDOM_LENGTH_INVALID"},"messages.setDefaultReaction":{"REACTION_INVALID":"REACTION_INVALID"},"messages.updateSavedReactionTag":{"REACTION_INVALID":"REACTION_INVALID"},"account.declinePasswordReset":{"RESET_REQUEST_MISSING":"RESET_REQUEST_MISSING"},"bots.setBotBroadcastDefaultAdminRights":{"RIGHTS_NOT_MODIFIED":"RIGHTS_NOT_MODIFIED"},"bots.setBotGroupDefaultAdminRights":{"RIGHTS_NOT_MODIFIED":"RIGHTS_NOT_MODIFIED","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"messages.getDocumentByHash":{"SHA256_HASH_INVALID":"SHA256_HASH_INVALID"},"stickers.checkShortName":{"SHORT_NAME_INVALID":"SHORT_NAME_INVALID","SHORT_NAME_OCCUPIED":"SHORT_NAME_OCCUPIED"},"messages.deleteQuickReplyMessages":{"SHORTCUT_INVALID":"SHORTCUT_INVALID"},"messages.deleteQuickReplyShortcut":{"SHORTCUT_INVALID":"SHORTCUT_INVALID"},"messages.editQuickReplyShortcut":{"SHORTCUT_INVALID":"SHORTCUT_INVALID"},"messages.getQuickReplyMessages":{"SHORTCUT_INVALID":"SHORTCUT_INVALID"},"smsjobs.finishJob":{"SMSJOB_ID_INVALID":"SMSJOB_ID_INVALID"},"smsjobs.getSmsJob":{"SMSJOB_ID_INVALID":"SMSJOB_ID_INVALID"},"messages.faveSticker":{"STICKER_ID_INVALID":"STICKER_ID_INVALID"},"messages.saveRecentSticker":{"STICKER_ID_INVALID":"STICKER_ID_INVALID"},"stickers.changeStickerPosition":{"STICKER_INVALID":"STICKER_INVALID"},"stickers.setStickerSetThumb":{"STICKER_THUMB_PNG_NOPNG":"STICKER_THUMB_PNG_NOPNG","STICKER_THUMB_TGS_NOTGS":"STICKER_THUMB_TGS_NOTGS","STICKERSET_INVALID":"STICKERSET_INVALID"},"messages.installStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"messages.uninstallStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"stickers.renameStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"contacts.getSaved":{"TAKEOUT_REQUIRED":"TAKEOUT_REQUIRED"},"account.uploadTheme":{"THEME_FILE_INVALID":"THEME_FILE_INVALID"},"account.getTheme":{"THEME_FORMAT_INVALID":"THEME_FORMAT_INVALID","THEME_INVALID":"THEME_INVALID"},"account.updateTheme":{"THEME_INVALID":"THEME_INVALID"},"account.createTheme":{"THEME_MIME_INVALID":"THEME_MIME_INVALID","THEME_TITLE_INVALID":"THEME_TITLE_INVALID"},"stickers.suggestShortName":{"TITLE_INVALID":"TITLE_INVALID"},"account.registerDevice":{"TOKEN_EMPTY":"TOKEN_EMPTY","TOKEN_INVALID":"TOKEN_INVALID","TOKEN_TYPE_INVALID":"TOKEN_TYPE_INVALID","WEBPUSH_AUTH_INVALID":"WEBPUSH_AUTH_INVALID","WEBPUSH_KEY_INVALID":"WEBPUSH_KEY_INVALID","WEBPUSH_TOKEN_INVALID":"WEBPUSH_TOKEN_INVALID"},"account.unregisterDevice":{"TOKEN_INVALID":"TOKEN_INVALID"},"channels.updatePinnedForumTopic":{"TOPIC_ID_INVALID":"TOPIC_ID_INVALID"},"account.setAccountTTL":{"TTL_DAYS_INVALID":"TTL_DAYS_INVALID"},"account.setAuthorizationTTL":{"TTL_DAYS_INVALID":"TTL_DAYS_INVALID"},"messages.setDefaultHistoryTTL":{"TTL_PERIOD_INVALID":"TTL_PERIOD_INVALID"},"contacts.getTopPeers":{"TYPES_EMPTY":"TYPES_EMPTY"},"bots.getBotCommands":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"bots.setBotInfo":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"bots.getBotMenuButton":{"USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"users.setSecureValueErrors":{"USER_BOT_REQUIRED":"USER_BOT_REQUIRED","USER_ID_INVALID":"USER_ID_INVALID"},"stories.getUserStories":{"USER_ID_INVALID":"USER_ID_INVALID"},"help.getSupportName":{"USER_INVALID":"USER_INVALID"},"help.getUserInfo":{"USER_INVALID":"USER_INVALID"},"account.checkUsername":{"USERNAME_INVALID":"USERNAME_INVALID","USERNAME_OCCUPIED":"USERNAME_OCCUPIED","USERNAME_PURCHASE_AVAILABLE":"USERNAME_PURCHASE_AVAILABLE"},"account.toggleUsername":{"USERNAME_INVALID":"USERNAME_INVALID","USERNAMES_ACTIVE_TOO_MUCH":"USERNAMES_ACTIVE_TOO_MUCH"},"account.updateUsername":{"USERNAME_INVALID":"USERNAME_INVALID","USERNAME_NOT_MODIFIED":"USERNAME_NOT_MODIFIED","USERNAME_OCCUPIED":"USERNAME_OCCUPIED","USERNAME_PURCHASE_AVAILABLE":"USERNAME_PURCHASE_AVAILABLE"},"account.uploadWallPaper":{"WALLPAPER_FILE_INVALID":"WALLPAPER_FILE_INVALID","WALLPAPER_MIME_INVALID":"WALLPAPER_MIME_INVALID"},"account.getMultiWallPapers":{"WALLPAPER_INVALID":"WALLPAPER_INVALID"},"account.getWallPaper":{"WALLPAPER_INVALID":"WALLPAPER_INVALID"},"account.installWallPaper":{"WALLPAPER_INVALID":"WALLPAPER_INVALID"},"account.saveWallPaper":{"WALLPAPER_INVALID":"WALLPAPER_INVALID"},"messages.getWebPage":{"WC_CONVERT_URL_INVALID":"WC_CONVERT_URL_INVALID"}},"403":{"messages.sendReaction":{"ANONYMOUS_REACTIONS_DISABLED":"ANONYMOUS_REACTIONS_DISABLED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED"},"messages.getMessageReactionsList":{"BROADCAST_FORBIDDEN":"BROADCAST_FORBIDDEN"},"messages.getPollVotes":{"BROADCAST_FORBIDDEN":"BROADCAST_FORBIDDEN","POLL_VOTE_REQUIRED":"POLL_VOTE_REQUIRED"},"channels.getFullChannel":{"CHANNEL_PUBLIC_GROUP_NA":"CHANNEL_PUBLIC_GROUP_NA"},"channels.leaveChannel":{"CHANNEL_PUBLIC_GROUP_NA":"CHANNEL_PUBLIC_GROUP_NA"},"updates.getChannelDifference":{"CHANNEL_PUBLIC_GROUP_NA":"CHANNEL_PUBLIC_GROUP_NA","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.editAdmin":{"CHAT_ADMIN_INVITE_REQUIRED":"CHAT_ADMIN_INVITE_REQUIRED","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","RIGHT_FORBIDDEN":"RIGHT_FORBIDDEN","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USER_PRIVACY_RESTRICTED":"USER_PRIVACY_RESTRICTED","USER_RESTRICTED":"USER_RESTRICTED"},"channels.deleteUserHistory":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.editBanned":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.editForumTopic":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"channels.editPhoto":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.editTitle":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.getAdminLog":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.getParticipant":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"channels.getParticipants":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"channels.inviteToChannel":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USER_PRIVACY_RESTRICTED":"USER_PRIVACY_RESTRICTED"},"channels.updateUsername":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.addChatUser":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USER_PRIVACY_RESTRICTED":"USER_PRIVACY_RESTRICTED"},"messages.editMessage":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_SEND_GIFS_FORBIDDEN":"CHAT_SEND_GIFS_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","INLINE_BOT_REQUIRED":"INLINE_BOT_REQUIRED","MESSAGE_AUTHOR_REQUIRED":"MESSAGE_AUTHOR_REQUIRED"},"messages.forwardMessages":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_GUEST_SEND_FORBIDDEN":"CHAT_GUEST_SEND_FORBIDDEN","CHAT_SEND_AUDIOS_FORBIDDEN":"CHAT_SEND_AUDIOS_FORBIDDEN","CHAT_SEND_DOCS_FORBIDDEN":"CHAT_SEND_DOCS_FORBIDDEN","CHAT_SEND_GAME_FORBIDDEN":"CHAT_SEND_GAME_FORBIDDEN","CHAT_SEND_GIFS_FORBIDDEN":"CHAT_SEND_GIFS_FORBIDDEN","CHAT_SEND_MEDIA_FORBIDDEN":"CHAT_SEND_MEDIA_FORBIDDEN","CHAT_SEND_PHOTOS_FORBIDDEN":"CHAT_SEND_PHOTOS_FORBIDDEN","CHAT_SEND_PLAIN_FORBIDDEN":"CHAT_SEND_PLAIN_FORBIDDEN","CHAT_SEND_POLL_FORBIDDEN":"CHAT_SEND_POLL_FORBIDDEN","CHAT_SEND_STICKERS_FORBIDDEN":"CHAT_SEND_STICKERS_FORBIDDEN","CHAT_SEND_VIDEOS_FORBIDDEN":"CHAT_SEND_VIDEOS_FORBIDDEN","CHAT_SEND_VOICES_FORBIDDEN":"CHAT_SEND_VOICES_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED","USER_IS_BLOCKED":"USER_IS_BLOCKED","VOICE_MESSAGES_FORBIDDEN":"VOICE_MESSAGES_FORBIDDEN"},"messages.migrateChat":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"messages.search":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"messages.sendMedia":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_GUEST_SEND_FORBIDDEN":"CHAT_GUEST_SEND_FORBIDDEN","CHAT_SEND_AUDIOS_FORBIDDEN":"CHAT_SEND_AUDIOS_FORBIDDEN","CHAT_SEND_DOCS_FORBIDDEN":"CHAT_SEND_DOCS_FORBIDDEN","CHAT_SEND_GIFS_FORBIDDEN":"CHAT_SEND_GIFS_FORBIDDEN","CHAT_SEND_MEDIA_FORBIDDEN":"CHAT_SEND_MEDIA_FORBIDDEN","CHAT_SEND_PHOTOS_FORBIDDEN":"CHAT_SEND_PHOTOS_FORBIDDEN","CHAT_SEND_PLAIN_FORBIDDEN":"CHAT_SEND_PLAIN_FORBIDDEN","CHAT_SEND_POLL_FORBIDDEN":"CHAT_SEND_POLL_FORBIDDEN","CHAT_SEND_ROUNDVIDEOS_FORBIDDEN":"CHAT_SEND_ROUNDVIDEOS_FORBIDDEN","CHAT_SEND_STICKERS_FORBIDDEN":"CHAT_SEND_STICKERS_FORBIDDEN","CHAT_SEND_VIDEOS_FORBIDDEN":"CHAT_SEND_VIDEOS_FORBIDDEN","CHAT_SEND_VOICES_FORBIDDEN":"CHAT_SEND_VOICES_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED","PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"messages.sendMessage":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_GUEST_SEND_FORBIDDEN":"CHAT_GUEST_SEND_FORBIDDEN","CHAT_SEND_PLAIN_FORBIDDEN":"CHAT_SEND_PLAIN_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"stats.getBroadcastStats":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"stats.getMegagroupStats":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"messages.sendInlineBotResult":{"CHAT_GUEST_SEND_FORBIDDEN":"CHAT_GUEST_SEND_FORBIDDEN","CHAT_SEND_AUDIOS_FORBIDDEN":"CHAT_SEND_AUDIOS_FORBIDDEN","CHAT_SEND_GAME_FORBIDDEN":"CHAT_SEND_GAME_FORBIDDEN","CHAT_SEND_GIFS_FORBIDDEN":"CHAT_SEND_GIFS_FORBIDDEN","CHAT_SEND_INLINE_FORBIDDEN":"CHAT_SEND_INLINE_FORBIDDEN","CHAT_SEND_MEDIA_FORBIDDEN":"CHAT_SEND_MEDIA_FORBIDDEN","CHAT_SEND_PHOTOS_FORBIDDEN":"CHAT_SEND_PHOTOS_FORBIDDEN","CHAT_SEND_PLAIN_FORBIDDEN":"CHAT_SEND_PLAIN_FORBIDDEN","CHAT_SEND_STICKERS_FORBIDDEN":"CHAT_SEND_STICKERS_FORBIDDEN","CHAT_SEND_VOICES_FORBIDDEN":"CHAT_SEND_VOICES_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.sendMultiMedia":{"CHAT_SEND_MEDIA_FORBIDDEN":"CHAT_SEND_MEDIA_FORBIDDEN","CHAT_SEND_PHOTOS_FORBIDDEN":"CHAT_SEND_PHOTOS_FORBIDDEN","CHAT_SEND_VIDEOS_FORBIDDEN":"CHAT_SEND_VIDEOS_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.convertToGigagroup":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.createForumTopic":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED"},"channels.deleteChannel":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.deleteParticipantHistory":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.editCreator":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.setDiscussionGroup":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"invokeWithLayer":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.editChatAbout":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.editChatDefaultBannedRights":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.editExportedChatInvite":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","EDIT_BOT_INVITE_FORBIDDEN":"EDIT_BOT_INVITE_FORBIDDEN"},"messages.exportChatInvite":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getAdminsWithInvites":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getChatInviteImporters":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getDialogs":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getExportedChatInvite":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getExportedChatInvites":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getMessageEditData":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","MESSAGE_AUTHOR_REQUIRED":"MESSAGE_AUTHOR_REQUIRED"},"messages.hideAllChatJoinRequests":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.hideChatJoinRequest":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH"},"messages.setTyping":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"messages.startBot":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.updatePinnedMessage":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.uploadMedia":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"updates.getDifference":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"phone.toggleGroupCallStartSubscription":{"GROUPCALL_ALREADY_STARTED":"GROUPCALL_ALREADY_STARTED"},"phone.discardGroupCall":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.editGroupCallParticipant":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.editGroupCallTitle":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.getGroupCall":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.inviteToGroupCall":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.joinGroupCall":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.toggleGroupCallRecord":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"channels.deleteMessages":{"MESSAGE_DELETE_FORBIDDEN":"MESSAGE_DELETE_FORBIDDEN"},"messages.deleteMessages":{"MESSAGE_DELETE_FORBIDDEN":"MESSAGE_DELETE_FORBIDDEN"},"messages.deleteScheduledMessages":{"MESSAGE_DELETE_FORBIDDEN":"MESSAGE_DELETE_FORBIDDEN"},"smsjobs.isEligibleToJoin":{"NOT_ELIGIBLE":"NOT_ELIGIBLE"},"phone.joinGroupCallPresentation":{"PARTICIPANT_JOIN_MISSING":"PARTICIPANT_JOIN_MISSING"},"messages.transcribeAudio":{"PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED"},"messages.requestWebView":{"PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED"},"phone.exportGroupCallInvite":{"PUBLIC_CHANNEL_MISSING":"PUBLIC_CHANNEL_MISSING"},"account.setContentSettings":{"SENSITIVE_CHANGE_FORBIDDEN":"SENSITIVE_CHANGE_FORBIDDEN"},"account.finishTakeoutSession":{"TAKEOUT_REQUIRED":"TAKEOUT_REQUIRED"},"channels.getLeftChannels":{"TAKEOUT_REQUIRED":"TAKEOUT_REQUIRED"},"contacts.getSaved":{"TAKEOUT_REQUIRED":"TAKEOUT_REQUIRED"},"bots.answerWebhookJSONQuery":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"bots.sendCustomRequest":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"messages.setInlineBotResults":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"users.setSecureValueErrors":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"messages.sendEncryptedService":{"USER_DELETED":"USER_DELETED","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"help.editUserInfo":{"USER_INVALID":"USER_INVALID"},"help.getSupportName":{"USER_INVALID":"USER_INVALID"},"help.getUserInfo":{"USER_INVALID":"USER_INVALID"},"messages.sendEncrypted":{"USER_IS_BLOCKED":"USER_IS_BLOCKED"},"phone.requestCall":{"USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_PRIVACY_RESTRICTED":"USER_PRIVACY_RESTRICTED"},"help.getConfig":{"USER_PRIVACY_RESTRICTED":"USER_PRIVACY_RESTRICTED"},"channels.createChannel":{"USER_RESTRICTED":"USER_RESTRICTED"},"messages.createChat":{"USER_RESTRICTED":"USER_RESTRICTED"}},"500":{"auth.sendCode":{"AUTH_RESTART":"AUTH_RESTART"},"auth.signIn":{"AUTH_RESTART":"AUTH_RESTART","SIGN_IN_FAILED":"SIGN_IN_FAILED"},"phone.acceptCall":{"CALL_OCCUPY_FAILED":"CALL_OCCUPY_FAILED"},"phone.discardCall":{"CALL_OCCUPY_FAILED":"CALL_OCCUPY_FAILED"},"upload.getCdnFileHashes":{"CDN_SALTS_EMPTY":"CDN_SALTS_EMPTY"},"upload.reuploadCdnFile":{"CDN_UPLOAD_TIMEOUT":"CDN_UPLOAD_TIMEOUT"},"messages.createChat":{"CHAT_ID_GENERATE_FAILED":"CHAT_ID_GENERATE_FAILED"},"channels.createChannel":{"CHAT_INVALID":"CHAT_INVALID"},"messages.migrateChat":{"CHAT_INVALID":"CHAT_INVALID"},"messages.editMessage":{"MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.receivedQueue":{"MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.sendEncrypted":{"MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.sendEncryptedService":{"MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.sendMessage":{"MSG_WAIT_FAILED":"MSG_WAIT_FAILED","RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"updates.getChannelDifference":{"PERSISTENT_TIMESTAMP_OUTDATED":"PERSISTENT_TIMESTAMP_OUTDATED"},"messages.forwardMessages":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"messages.sendInlineBotResult":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE","SEND_MEDIA_INVALID":"SEND_MEDIA_INVALID"},"messages.sendMedia":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"messages.sendMultiMedia":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"messages.sendScheduledMessages":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"messages.startBot":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"updates.getDifference":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"}},"406":{"channels.editBanned":{"BANNED_RIGHTS_INVALID":"BANNED_RIGHTS_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"phone.acceptCall":{"CALL_PROTOCOL_COMPAT_LAYER_INVALID":"CALL_PROTOCOL_COMPAT_LAYER_INVALID"},"channels.deleteChannel":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNEL_TOO_LARGE":"CHANNEL_TOO_LARGE"},"channels.deleteMessages":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getAdminLog":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getChannels":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getFullChannel":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getMessages":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getParticipant":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getParticipants":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.inviteToChannel":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.joinChannel":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"channels.leaveChannel":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.readHistory":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.readMessageContents":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.checkChatInvite":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"messages.editMessage":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.forwardMessages":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_FORWARDS_RESTRICTED":"CHAT_FORWARDS_RESTRICTED","PAYMENT_UNSUPPORTED":"PAYMENT_UNSUPPORTED","PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED"},"messages.getHistory":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.getInlineBotResults":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.getMessagesViews":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.getPeerDialogs":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.sendMedia":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED"},"messages.sendMessage":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PAYMENT_UNSUPPORTED":"PAYMENT_UNSUPPORTED","PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED"},"messages.setTyping":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"updates.getChannelDifference":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"upload.getFile":{"FILEREF_UPGRADE_NEEDED":"FILEREF_UPGRADE_NEEDED"},"channels.editAdmin":{"FRESH_CHANGE_ADMINS_FORBIDDEN":"FRESH_CHANGE_ADMINS_FORBIDDEN"},"account.sendChangePhoneCode":{"FRESH_CHANGE_PHONE_FORBIDDEN":"FRESH_CHANGE_PHONE_FORBIDDEN","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"account.resetAuthorization":{"FRESH_RESET_AUTHORISATION_FORBIDDEN":"FRESH_RESET_AUTHORISATION_FORBIDDEN"},"account.setAuthorizationTTL":{"FRESH_RESET_AUTHORISATION_FORBIDDEN":"FRESH_RESET_AUTHORISATION_FORBIDDEN"},"auth.resetAuthorizations":{"FRESH_RESET_AUTHORISATION_FORBIDDEN":"FRESH_RESET_AUTHORISATION_FORBIDDEN"},"invokeWithLayer":{"INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"messages.importChatInvite":{"INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"account.changePhone":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.cancelCode":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.checkPhone":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.resendCode":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","SEND_CODE_UNAVAILABLE":"SEND_CODE_UNAVAILABLE"},"auth.sendCode":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_PASSWORD_FLOOD":"PHONE_PASSWORD_FLOOD","UPDATE_APP_TO_LOGIN":"UPDATE_APP_TO_LOGIN"},"auth.signIn":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","UPDATE_APP_TO_LOGIN":"UPDATE_APP_TO_LOGIN"},"auth.signUp":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"messages.initHistoryImport":{"PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_%dMIN":"PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_%dMIN"},"messages.getStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"messages.installStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"messages.uninstallStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"stickers.addStickerToSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"channels.setStickers":{"STICKERSET_OWNER_ANONYMOUS":"STICKERSET_OWNER_ANONYMOUS"},"channels.createChannel":{"USER_RESTRICTED":"USER_RESTRICTED"},"messages.createChat":{"USER_RESTRICTED":"USER_RESTRICTED"},"contacts.getLocated":{"USERPIC_PRIVACY_REQUIRED":"USERPIC_PRIVACY_REQUIRED","USERPIC_UPLOAD_REQUIRED":"USERPIC_UPLOAD_REQUIRED"}},"-503":{"messages.getBotCallbackAnswer":{"Timeout":"Timeout"},"messages.getInlineBotResults":{"Timeout":"Timeout"}}},"human_result":{"2FA_CONFIRM_WAIT_%d":"Since this account is active and protected by a 2FA password, we will delete it in 1 week for security purposes. You can cancel this process at any time, you'll be able to reset your account in %d seconds.","ABOUT_TOO_LONG":"About string too long","ACCESS_TOKEN_EXPIRED":"Access token expired","ACCESS_TOKEN_INVALID":"Access token invalid","ACTIVE_USER_REQUIRED":"","ADDRESS_INVALID":"The specified geopoint address is invalid","ADMIN_ID_INVALID":"The specified admin ID is invalid","ADMIN_RANK_EMOJI_NOT_ALLOWED":"An admin rank cannot contain emojis","ADMIN_RANK_INVALID":"The specified admin rank is invalid.","ADMIN_RIGHTS_EMPTY":"The chatAdminRights constructor passed in keyboardButtonRequestPeer.peer_type.user_admin_rights has no rights set (i.e. flags is 0).","ADMINS_TOO_MUCH":"There are too many admins","ALBUM_PHOTOS_TOO_MANY":"You have uploaded too many profile photos, delete some before retrying.","ANONYMOUS_REACTIONS_DISABLED":"Sorry, anonymous administrators cannot leave reactions or participate in polls.","API_ID_INVALID":"API ID invalid","API_ID_PUBLISHED_FLOOD":"This API id was published somewhere, you can't use it now","ARTICLE_TITLE_EMPTY":"The title of the article is empty","AUDIO_CONTENT_URL_EMPTY":"The remote URL specified in the content field is empty","AUDIO_TITLE_EMPTY":"An empty audio title was provided.","AUTH_BYTES_INVALID":"The provided authorization is invalid","AUTH_KEY_DUPLICATED":"Concurrent usage of the current session from multiple connections was detected, the current session was invalidated by the server for security reasons!","AUTH_KEY_INVALID":"The specified auth key is invalid","AUTH_KEY_PERM_EMPTY":"The method is unavailable for temporary authorization keys, not bound to a permanent authorization key","AUTH_KEY_UNREGISTERED":"The specified authorization key is not registered in the system (for example, a PFS temporary key has expired)","AUTH_RESTART":"Restart the authorization process","AUTH_TOKEN_ALREADY_ACCEPTED":"The specified auth token was already accepted","AUTH_TOKEN_EXCEPTION":"An error occurred while importing the auth token","AUTH_TOKEN_EXPIRED":"The authorization token has expired","AUTH_TOKEN_INVALID":"The specified auth token is invalid","AUTH_TOKEN_INVALIDX":"The specified auth token is invalid","AUTOARCHIVE_NOT_AVAILABLE":"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.","BANK_CARD_NUMBER_INVALID":"The specified card number is invalid","BANNED_RIGHTS_INVALID":"You provided some invalid flags in the banned rights","BOOST_NOT_MODIFIED":"You're already [boosting](https:\/\/core.telegram.org\/api\/boost) the specified channel.","BOOST_PEER_INVALID":"The specified `boost_peer` is invalid","BOOSTS_EMPTY":"No boost slots were specified","BOOSTS_REQUIRED":"The specified channel must first be [boosted by its users](https:\/\/core.telegram.org\/api\/boost) in order to perform this action.","BOT_APP_BOT_INVALID":"The bot_id passed in the inputBotAppShortName constructor is invalid.","BOT_APP_INVALID":"The specified bot app is invalid","BOT_APP_SHORTNAME_INVALID":"The specified bot app short name is invalid","BOT_CHANNELS_NA":"Bots can't edit admin privileges","BOT_COMMAND_DESCRIPTION_INVALID":"The specified command description is invalid","BOT_COMMAND_INVALID":"The specified command is invalid","BOT_DOMAIN_INVALID":"Bot domain invalid","BOT_GAMES_DISABLED":"","BOT_GROUPS_BLOCKED":"This bot can't be added to groups","BOT_INLINE_DISABLED":"This bot can't be used in inline mode","BOT_INVALID":"This is not a valid bot","BOT_METHOD_INVALID":"The specified method cannot be used by bots.","BOT_MISSING":"Only bots can call this method, please use [@stickers](https:\/\/t.me\/stickers) if you're a user","BOT_ONESIDE_NOT_AVAIL":"Bots can't pin messages in PM just for themselves","BOT_PAYMENTS_DISABLED":"Please enable bot payments in botfather before calling this method.","BOT_POLLS_DISABLED":"","BOT_RESPONSE_TIMEOUT":"A timeout occurred while fetching data from the bot","BOT_SCORE_NOT_MODIFIED":"The score wasn't modified","BOT_WEBVIEW_DISABLED":"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.","BOTS_TOO_MUCH":"There are too many bots in this chat\/channel","BROADCAST_FORBIDDEN":"Channel poll voters and reactions cannot be fetched to prevent deanonymization.","BROADCAST_ID_INVALID":"Broadcast ID invalid","BROADCAST_PUBLIC_VOTERS_FORBIDDEN":"You can't forward polls with public voters","BROADCAST_REQUIRED":"This method can only be called on a channel, please use stats.getMegagroupStats for supergroups","BUTTON_DATA_INVALID":"The data of one or more of the buttons you provided is invalid","BUTTON_TEXT_INVALID":"The specified button text is invalid","BUTTON_TYPE_INVALID":"The type of one or more of the buttons you provided is invalid","BUTTON_URL_INVALID":"Button URL invalid","BUTTON_USER_INVALID":"The `user_id` passed to inputKeyboardButtonUserProfile is invalid!","BUTTON_USER_PRIVACY_RESTRICTED":"The privacy setting of the user specified in a [inputKeyboardButtonUserProfile](\/constructor\/inputKeyboardButtonUserProfile) button do not allow creating such a button","CALL_ALREADY_ACCEPTED":"The call was already accepted","CALL_ALREADY_DECLINED":"The call was already declined","CALL_OCCUPY_FAILED":"The call failed because the user is already making another call","CALL_PEER_INVALID":"The provided call peer object is invalid","CALL_PROTOCOL_COMPAT_LAYER_INVALID":"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.","CALL_PROTOCOL_FLAGS_INVALID":"Call protocol flags invalid","CDN_METHOD_INVALID":"You can't call this method in a CDN DC","CDN_SALTS_EMPTY":"","CDN_UPLOAD_TIMEOUT":"A server-side timeout occurred while reuploading the file to the CDN DC","CHANNEL_FORUM_MISSING":"This supergroup is not a forum","CHANNEL_ID_INVALID":"The specified supergroup ID is invalid","CHANNEL_INVALID":"The provided channel is invalid","CHANNEL_PARICIPANT_MISSING":"The current user is not in the channel","CHANNEL_PRIVATE":"You haven't joined this channel\/supergroup","CHANNEL_PUBLIC_GROUP_NA":"channel\/supergroup not available","CHANNEL_TOO_BIG":"This channel has too many participants (>1000) to be deleted.","CHANNEL_TOO_LARGE":"Channel is too large to be deleted; this error is issued when trying to delete channels with more than 1000 members (subject to change)","CHANNELS_ADMIN_LOCATED_TOO_MUCH":"The user has reached the limit of public geogroups","CHANNELS_ADMIN_PUBLIC_TOO_MUCH":"You're admin of too many public channels, make some channels private to change the username of this channel","CHANNELS_TOO_MUCH":"You have joined too many channels\/supergroups","CHAT_ABOUT_NOT_MODIFIED":"About text has not changed","CHAT_ABOUT_TOO_LONG":"Chat about too long","CHAT_ADMIN_INVITE_REQUIRED":"You do not have the rights to do this","CHAT_ADMIN_REQUIRED":"You must be an admin in this chat to do this","CHAT_DISCUSSION_UNALLOWED":"You can't enable forum topics in a discussion group linked to a channel","CHAT_FORBIDDEN":"This chat is not available to the current user","CHAT_FORWARDS_RESTRICTED":"You can't forward messages from a protected chat","CHAT_GUEST_SEND_FORBIDDEN":"You join the discussion group before commenting, see [here »](\/api\/discussion#requiring-users-to-join-the-group) for more info.","CHAT_ID_EMPTY":"The provided chat ID is empty","CHAT_ID_GENERATE_FAILED":"Failure while generating the chat ID","CHAT_ID_INVALID":"The provided chat id is invalid","CHAT_INVALID":"Invalid chat","CHAT_INVITE_PERMANENT":"You can't set an expiration date on permanent invite links","CHAT_LINK_EXISTS":"The chat is public, you can't hide the history to new users","CHAT_NOT_MODIFIED":"No changes were made to chat information because the new information you passed is identical to the current information.","CHAT_PUBLIC_REQUIRED":"You can only enable join requests in public groups","CHAT_RESTRICTED":"You can't send messages in this chat, you were restricted","CHAT_REVOKE_DATE_UNSUPPORTED":"`min_date` and `max_date` are not available for using with non-user peers.","CHAT_SEND_AUDIOS_FORBIDDEN":"You can't send audio messages in this chat","CHAT_SEND_DOCS_FORBIDDEN":"You can't send documents in this chat","CHAT_SEND_GAME_FORBIDDEN":"You can't send a game to this chat.","CHAT_SEND_GIFS_FORBIDDEN":"You can't send gifs in this chat","CHAT_SEND_INLINE_FORBIDDEN":"You can't send inline messages in this group","CHAT_SEND_MEDIA_FORBIDDEN":"You can't send media in this chat","CHAT_SEND_PHOTOS_FORBIDDEN":"You can't send photos in this chat","CHAT_SEND_PLAIN_FORBIDDEN":"You can't send non-media (text) messages in this chat","CHAT_SEND_POLL_FORBIDDEN":"You can't send polls in this chat","CHAT_SEND_ROUNDVIDEOS_FORBIDDEN":"You can't send round videos to this chat","CHAT_SEND_STICKERS_FORBIDDEN":"You can't send stickers in this chat.","CHAT_SEND_VIDEOS_FORBIDDEN":"You can't send videos in this chat","CHAT_SEND_VOICES_FORBIDDEN":"You can't send voice recordings in this chat","CHAT_TITLE_EMPTY":"No chat title provided","CHAT_TOO_BIG":"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).","CHAT_WRITE_FORBIDDEN":"You can't write in this chat","CHATLINK_SLUG_EMPTY":"The specified slug is empty","CHATLIST_EXCLUDE_INVALID":"The specified `exclude_peers` are invalid","CODE_EMPTY":"The provided code is empty","CODE_HASH_INVALID":"Code hash invalid","CODE_INVALID":"Code invalid","COLLECTIBLE_INVALID":"The specified collectible is invalid","COLLECTIBLE_NOT_FOUND":"The specified collectible could not be found","COLOR_INVALID":"The specified color palette ID was invalid.","CONNECTION_API_ID_INVALID":"The provided API id is invalid","CONNECTION_APP_VERSION_EMPTY":"App version is empty","CONNECTION_DEVICE_MODEL_EMPTY":"The specified device model is empty","CONNECTION_ID_INVALID":"The specified connection ID is invalid","CONNECTION_LANG_PACK_INVALID":"The specified language pack is empty","CONNECTION_LAYER_INVALID":"Layer invalid","CONNECTION_NOT_INITED":"Please initialize the connection using initConnection before making queries.","CONNECTION_SYSTEM_EMPTY":"The specified system version is empty","CONNECTION_SYSTEM_LANG_CODE_EMPTY":"The specified system language code is empty","CONTACT_ADD_MISSING":"Contact to add is missing","CONTACT_ID_INVALID":"The provided contact ID is invalid","CONTACT_MISSING":"The specified user is not a contact","CONTACT_NAME_EMPTY":"Contact name empty","CONTACT_REQ_MISSING":"Missing contact request","CREATE_CALL_FAILED":"An error occurred while creating the call.","CURRENCY_TOTAL_AMOUNT_INVALID":"The total amount of all prices is invalid","CUSTOM_REACTIONS_TOO_MANY":"Too many custom reactions were specified.","DATA_INVALID":"Encrypted data invalid","DATA_JSON_INVALID":"The provided JSON data is invalid","DATA_TOO_LONG":"Data too long","DATE_EMPTY":"Date empty","DC_ID_INVALID":"The provided DC ID is invalid","DH_G_A_INVALID":"g_a invalid","DOCUMENT_INVALID":"The specified document is invalid","EDIT_BOT_INVITE_FORBIDDEN":"Normal users can't edit invites that were created by bots","EMAIL_HASH_EXPIRED":"Email hash expired","EMAIL_INVALID":"The specified email is invalid","EMAIL_NOT_SETUP":"In order to change the login email with emailVerifyPurposeLoginChange, an existing login email must already be set using emailVerifyPurposeLoginSetup","EMAIL_UNCONFIRMED":"Email unconfirmed","EMAIL_UNCONFIRMED_%d":"The provided email isn't confirmed, %d is the length of the verification code that was just sent to the email: use [account.verifyEmail](https:\/\/core.telegram.org\/method\/account.verifyEmail) to enter the received verification code and enable the recovery email.","EMAIL_VERIFY_EXPIRED":"The verification email has expired","EMOJI_INVALID":"The specified theme emoji is valid","EMOJI_MARKUP_INVALID":"The specified `video_emoji_markup` was invalid","EMOJI_NOT_MODIFIED":"The theme wasn't changed","EMOTICON_EMPTY":"The emoji is empty","EMOTICON_INVALID":"The specified emoji is invalid","EMOTICON_STICKERPACK_MISSING":"inputStickerSetDice.emoji cannot be empty","ENCRYPTED_MESSAGE_INVALID":"Encrypted message invalid","ENCRYPTION_ALREADY_ACCEPTED":"Secret chat already accepted","ENCRYPTION_ALREADY_DECLINED":"The secret chat was already declined","ENCRYPTION_DECLINED":"The secret chat was declined","ENCRYPTION_ID_INVALID":"The provided secret chat ID is invalid","ENTITIES_TOO_LONG":"You provided too many styled message entities","ENTITY_BOUNDS_INVALID":"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","ENTITY_MENTION_USER_INVALID":"You mentioned an invalid user","ERROR_TEXT_EMPTY":"The provided error message is empty","EXPIRE_DATE_INVALID":"The specified expiration date is invalid","EXPORT_CARD_INVALID":"Provided card is invalid","EXTERNAL_URL_INVALID":"External URL invalid","FILE_CONTENT_TYPE_INVALID":"File content-type is invalid","FILE_EMTPY":"An empty file was provided","FILE_ID_INVALID":"The provided file id is invalid","FILE_MIGRATE_%d":"The file currently being accessed is stored in DC %d, please re-send the query to that DC.","FILE_PART_%d_MISSING":"Part %d of the file is missing from storage. Try repeating the method call to resave the part.","FILE_PART_EMPTY":"The provided file part is empty","FILE_PART_INVALID":"The file part number is invalid","FILE_PART_LENGTH_INVALID":"The length of a file part is invalid","FILE_PART_SIZE_CHANGED":"Provided file part size has changed","FILE_PART_SIZE_INVALID":"The provided file part size is invalid","FILE_PART_TOO_BIG":"The uploaded file part is too big","FILE_PARTS_INVALID":"The number of file parts is invalid","FILE_REFERENCE_*":"The file reference expired, it [must be refreshed](https:\/\/core.telegram.org\/api\/file_reference).","FILE_REFERENCE_EMPTY":"An empty [file reference](https:\/\/core.telegram.org\/api\/file_reference) was specified","FILE_REFERENCE_EXPIRED":"File reference expired, it must be refetched as described in [the documentation](https:\/\/core.telegram.org\/api\/file_reference).","FILE_REFERENCE_INVALID":"The specified [file reference](https:\/\/core.telegram.org\/api\/file_reference) is invalid","FILE_TITLE_EMPTY":"An empty file title was specified","FILE_TOKEN_INVALID":"The master DC did not accept the `file_token` (e.g., the token has expired). Continue downloading the file from the master DC using upload.getFile.","FILEREF_UPGRADE_NEEDED":"The client has to be updated in order to support [file references](https:\/\/core.telegram.org\/api\/file_reference)","FILTER_ID_INVALID":"The specified filter ID is invalid","FILTER_INCLUDE_EMPTY":"The include_peers vector of the filter is empty","FILTER_NOT_SUPPORTED":"The specified filter cannot be used in this context","FILTER_TITLE_EMPTY":"The title field of the filter is empty","FIRSTNAME_INVALID":"The first name is invalid","FLOOD_PREMIUM_WAIT_%d":"Please wait %d seconds before repeating the action, or purchase a [Telegram Premium subscription](https:\/\/core.telegram.org\/api\/premium) to remove this rate limit.","FLOOD_TEST_PHONE_WAIT_%d":"","FLOOD_WAIT_%d":"Please wait %d seconds before repeating the action.","FOLDER_ID_EMPTY":"An empty folder ID was specified","FOLDER_ID_INVALID":"Invalid folder ID","FORUM_ENABLED":"You can't execute the specified action because the group is a [forum](https:\/\/core.telegram.org\/api\/forum), disable forum functionality to continue.","FRESH_CHANGE_ADMINS_FORBIDDEN":"You were just elected admin, you can't add or modify other admins yet","FRESH_CHANGE_PHONE_FORBIDDEN":"You can't change phone number right after logging in, please wait at least 24 hours.","FRESH_RESET_AUTHORISATION_FORBIDDEN":"You can't logout other sessions if less than 24 hours have passed since you logged on the current session","FROM_MESSAGE_BOT_DISABLED":"Bots can't use fromMessage min constructors","FROM_PEER_INVALID":"The specified from_id is invalid","GAME_BOT_INVALID":"Bots can't send another bot's game.","GENERAL_MODIFY_ICON_FORBIDDEN":"You can't modify the icon of the \"General\" topic","GEO_POINT_INVALID":"Invalid geoposition provided","GIF_CONTENT_TYPE_INVALID":"GIF content-type invalid","GIF_ID_INVALID":"The provided GIF ID is invalid","GIFT_SLUG_EXPIRED":"The specified gift slug has expired","GIFT_SLUG_INVALID":"The specified slug is invalid.","GRAPH_EXPIRED_RELOAD":"This graph has expired, please obtain a new graph token","GRAPH_INVALID_RELOAD":"Invalid graph token provided, please reload the stats and provide the updated token","GRAPH_OUTDATED_RELOAD":"The graph is outdated, please get a new async token using stats.getBroadcastStats","GROUP_CALL_INVALID":"","GROUPCALL_ALREADY_DISCARDED":"The group call was already discarded","GROUPCALL_ALREADY_STARTED":"The groupcall has already started, you can join directly using [phone.joinGroupCall](https:\/\/core.telegram.org\/method\/phone.joinGroupCall)","GROUPCALL_FORBIDDEN":"The group call has already ended","GROUPCALL_INVALID":"The specified group call is invalid","GROUPCALL_JOIN_MISSING":"You haven't joined this group call.","GROUPCALL_NOT_MODIFIED":"Group call settings weren't modified","GROUPCALL_SSRC_DUPLICATE_MUCH":"The app needs to retry joining the group call with a new SSRC value.","GROUPED_MEDIA_INVALID":"Invalid grouped media","HASH_INVALID":"The provided hash is invalid","HIDE_REQUESTER_MISSING":"The join request was missing or was already handled.","IMAGE_PROCESS_FAILED":"Failure while processing image","IMPORT_FILE_INVALID":"The specified chat export file is invalid","IMPORT_FORMAT_DATE_INVALID":"The date specified in the import file is invalid.","IMPORT_FORMAT_UNRECOGNIZED":"The specified chat export file was exported from an unsupported chat app","IMPORT_HISTORY_LOG_EMPTY":"","IMPORT_ID_INVALID":"The specified import ID is invalid","IMPORT_TOKEN_INVALID":"The specified token is invalid","INLINE_BOT_REQUIRED":"Only the inline bot can edit message","INLINE_RESULT_EXPIRED":"The inline query expired","INPUT_CHATLIST_INVALID":"The specified folder is invalid","INPUT_CONSTRUCTOR_INVALID":"The specified TL constructor is invalid","INPUT_FETCH_ERROR":"An error occurred while parsing the provided TL constructor","INPUT_FETCH_FAIL":"An error occurred while parsing the provided TL constructor","INPUT_FILTER_INVALID":"The specified filter is invalid","INPUT_LAYER_INVALID":"The specified layer is invalid","INPUT_METHOD_INVALID":"The specified method is invalid","INPUT_REQUEST_TOO_LONG":"The request payload is too long","INPUT_TEXT_EMPTY":"The specified text is empty","INPUT_TEXT_TOO_LONG":"The specified text is too long","INPUT_USER_DEACTIVATED":"The specified user was deleted","INVITE_FORBIDDEN_WITH_JOINAS":"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","INVITE_HASH_EMPTY":"The invite hash is empty","INVITE_HASH_EXPIRED":"The invite link has expired","INVITE_HASH_INVALID":"The invite hash is invalid","INVITE_REQUEST_SENT":"You have successfully requested to join this chat or channel","INVITE_REVOKED_MISSING":"The specified invite link was already revoked or is invalid","INVITE_SLUG_EMPTY":"The specified invite slug is empty","INVITE_SLUG_EXPIRED":"The specified chat folder link has expired.","INVITES_TOO_MUCH":"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.","INVOICE_PAYLOAD_INVALID":"The specified invoice payload is invalid.","JOIN_AS_PEER_INVALID":"The specified peer cannot be used to join a group call","LANG_CODE_INVALID":"The specified language code is invalid","LANG_CODE_NOT_SUPPORTED":"The specified language code is not supported","LANG_PACK_INVALID":"The provided language pack is invalid","LASTNAME_INVALID":"The last name is invalid.","LIMIT_INVALID":"The provided limit is invalid","LINK_NOT_MODIFIED":"Discussion link not modified","LOCATION_INVALID":"The provided location is invalid","MAX_DATE_INVALID":"The specified maximum date is invalid.","MAX_ID_INVALID":"The provided max ID is invalid","MAX_QTS_INVALID":"The specified max_qts is invalid","MD5_CHECKSUM_INVALID":"The MD5 checksums do not match","MEDIA_CAPTION_TOO_LONG":"The caption is too long","MEDIA_EMPTY":"The provided media object is invalid","MEDIA_FILE_INVALID":"The specified media file is invalid","MEDIA_GROUPED_INVALID":"You tried to send media of different types in an album.","MEDIA_INVALID":"Media invalid","MEDIA_NEW_INVALID":"The new media is invalid","MEDIA_PREV_INVALID":"Previous media invalid","MEDIA_TTL_INVALID":"The specified media TTL is invalid","MEDIA_TYPE_INVALID":"The specified media type cannot be used in stories","MEDIA_VIDEO_STORY_MISSING":"A non-story video cannot be repubblished as a story (emitted when trying to resend a non-story video as a story using inputDocument).","MEGAGROUP_GEO_REQUIRED":"This method can only be invoked on a geogroup.","MEGAGROUP_ID_INVALID":"Invalid supergroup ID","MEGAGROUP_PREHISTORY_HIDDEN":"Group with hidden history for new members can't be set as discussion groups","MEGAGROUP_REQUIRED":"You can only use this method on a supergroup","MESSAGE_AUTHOR_REQUIRED":"Message author required","MESSAGE_DELETE_FORBIDDEN":"You can't delete one of the messages you tried to delete, most likely because it is a service message.","MESSAGE_EDIT_TIME_EXPIRED":"You can't edit this message anymore, too much time has passed since its creation.","MESSAGE_EMPTY":"The provided message is empty","MESSAGE_ID_INVALID":"The provided message id is invalid","MESSAGE_IDS_EMPTY":"No message ids were provided","MESSAGE_NOT_MODIFIED":"The provided message data is identical to the previous message data, the message wasn't modified","MESSAGE_POLL_CLOSED":"Poll closed","MESSAGE_TOO_LONG":"The provided message is too long","METHOD_INVALID":"The specified method is invalid","MIN_DATE_INVALID":"The specified minimum date is invalid","MSG_ID_INVALID":"Invalid message ID provided","MSG_TOO_OLD":"[`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","MSG_WAIT_FAILED":"A waiting call returned an error","MSG_WAIT_TIMEOUT":"Spent too much time waiting for a previous query in the invokeAfterMsg request queue, aborting!","MULTI_MEDIA_TOO_LONG":"Too many media files for album","NETWORK_MIGRATE_%d":"Your IP address is associated to DC %d, please re-send the query to that DC.","NEW_SALT_INVALID":"The new salt is invalid","NEW_SETTINGS_EMPTY":"No password is set on the current account, and no new password was specified in `new_settings`.","NEW_SETTINGS_INVALID":"The new password settings are invalid.","NEXT_OFFSET_INVALID":"The specified offset is longer than 64 bytes.","NOT_ELIGIBLE":"The current user is not eligible to join the Peer-to-Peer Login Program","NOT_JOINED":"The current user hasn't joined the Peer-to-Peer Login Program","OFFSET_INVALID":"The provided offset is invalid","OFFSET_PEER_ID_INVALID":"The provided offset peer is invalid","OPTION_INVALID":"Invalid option selected","OPTIONS_TOO_MUCH":"Too many options provided","ORDER_INVALID":"The specified username order is invalid","PACK_SHORT_NAME_INVALID":"Short pack name invalid","PACK_SHORT_NAME_OCCUPIED":"A stickerpack with this name already exists","PACK_TITLE_INVALID":"The stickerpack title is invalid","PARTICIPANT_ID_INVALID":"The specified participant ID is invalid","PARTICIPANT_JOIN_MISSING":"Trying to enable a presentation, when the user hasn't joined the Video Chat with [phone.joinGroupCall](https:\/\/core.telegram.org\/method\/phone.joinGroupCall).","PARTICIPANT_VERSION_OUTDATED":"The other participant does not use an up to date telegram client with support for calls","PARTICIPANTS_TOO_FEW":"Not enough participants","PASSWORD_EMPTY":"The provided password is empty","PASSWORD_HASH_INVALID":"The provided password hash is invalid","PASSWORD_MISSING":"You must enable 2FA in order to transfer ownership of a channel","PASSWORD_RECOVERY_EXPIRED":"The recovery code has expired","PASSWORD_RECOVERY_NA":"No email was set, can't recover password via email.","PASSWORD_REQUIRED":"A [2FA password](https:\/\/core.telegram.org\/api\/srp) must be configured to use Telegram Passport","PASSWORD_TOO_FRESH_%d":"The password was modified less than 24 hours ago, try again in %d seconds","PAYMENT_PROVIDER_INVALID":"The specified payment provider is invalid","PAYMENT_UNSUPPORTED":"A detailed description of the error will be received separately as described [here »](https:\/\/core.telegram.org\/api\/errors#406-not-acceptable)","PEER_FLOOD":"The current account is spamreported, you cannot execute this action, check @spambot for more info.","PEER_HISTORY_EMPTY":"You can't pin an empty chat with a user","PEER_ID_INVALID":"The provided peer id is invalid","PEER_ID_NOT_SUPPORTED":"The provided peer ID is not supported","PEERS_LIST_EMPTY":"The specified list of peers is empty","PERSISTENT_TIMESTAMP_EMPTY":"Persistent timestamp empty","PERSISTENT_TIMESTAMP_INVALID":"Persistent timestamp invalid","PERSISTENT_TIMESTAMP_OUTDATED":"Channel internal replication issues, try again later (treat this like an RPC_CALL_FAIL)","PHONE_CODE_EMPTY":"phone_code is missing","PHONE_CODE_EXPIRED":"The phone code you provided has expired","PHONE_CODE_HASH_EMPTY":"phone_code_hash is missing","PHONE_CODE_INVALID":"The provided phone code is invalid","PHONE_HASH_EXPIRED":"An invalid or expired `phone_code_hash` was provided.","PHONE_MIGRATE_%d":"Your phone number is associated to DC %d, please re-send the query to that DC.","PHONE_NOT_OCCUPIED":"No user is associated to the specified phone number","PHONE_NUMBER_APP_SIGNUP_FORBIDDEN":"You can't sign up using this app","PHONE_NUMBER_BANNED":"The provided phone number is banned from telegram","PHONE_NUMBER_FLOOD":"You asked for the code too many times.","PHONE_NUMBER_INVALID":"The phone number is invalid","PHONE_NUMBER_OCCUPIED":"The phone number is already in use","PHONE_NUMBER_UNOCCUPIED":"The phone number is not yet being used","PHONE_PASSWORD_FLOOD":"You have tried logging in too many times","PHONE_PASSWORD_PROTECTED":"This phone is password protected","PHOTO_CONTENT_TYPE_INVALID":"Photo mime-type invalid","PHOTO_CONTENT_URL_EMPTY":"Photo URL invalid","PHOTO_CROP_FILE_MISSING":"Photo crop file missing","PHOTO_CROP_SIZE_SMALL":"Photo is too small","PHOTO_EXT_INVALID":"The extension of the photo is invalid","PHOTO_FILE_MISSING":"Profile photo file missing","PHOTO_ID_INVALID":"Photo ID invalid","PHOTO_INVALID":"Photo invalid","PHOTO_INVALID_DIMENSIONS":"The photo dimensions are invalid","PHOTO_SAVE_FILE_INVALID":"Internal issues, try again later","PHOTO_THUMB_URL_EMPTY":"Photo thumbnail URL is empty","PHOTO_THUMB_URL_INVALID":"","PIN_RESTRICTED":"You can't pin messages","PINNED_DIALOGS_TOO_MUCH":"Too many pinned dialogs","POLL_ANSWER_INVALID":"One of the poll answers is not acceptable","POLL_ANSWERS_INVALID":"Invalid poll answers were provided","POLL_OPTION_DUPLICATE":"Duplicate poll options provided","POLL_OPTION_INVALID":"Invalid poll option provided","POLL_QUESTION_INVALID":"One of the poll questions is not acceptable","POLL_VOTE_REQUIRED":"Cast a vote in the poll before calling this method","PREMIUM_ACCOUNT_REQUIRED":"A premium account is required to execute this action.","PREMIUM_SUB_ACTIVE_UNTIL_%d":"You already have a premium subscription active until unixtime %d ","PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_%dMIN":"Import for this chat is already in progress, wait %d minutes before starting a new one.","PRIVACY_KEY_INVALID":"The privacy key is invalid","PRIVACY_PREMIUM_REQUIRED":"You need a [Telegram Premium subscription](https:\/\/core.telegram.org\/api\/premium) to send a message to this user.","PRIVACY_TOO_LONG":"Too many privacy rules were specified, the current limit is 1000","PRIVACY_VALUE_INVALID":"The specified privacy rule combination is invalid","PUBLIC_CHANNEL_MISSING":"You can only export group call invite links for public chats or channels","PUBLIC_KEY_REQUIRED":"A public key is required","QUERY_ID_EMPTY":"The query ID is empty","QUERY_ID_INVALID":"The query ID is invalid","QUERY_TOO_SHORT":"The query string is too short","QUIZ_ANSWER_MISSING":"You can forward a quiz while hiding the original author only after choosing an option in the quiz","QUIZ_CORRECT_ANSWER_INVALID":"An invalid value was provided to the correct_answers field","QUIZ_CORRECT_ANSWERS_EMPTY":"No correct quiz answer was specified","QUIZ_CORRECT_ANSWERS_TOO_MUCH":"You specified too many correct answers in a quiz, quizzes can only have one right answer!","QUIZ_MULTIPLE_INVALID":"Quizzes can't have the multiple_choice flag set!","QUOTE_TEXT_INVALID":"The specified `reply_to`.`quote_text` field is invalid.","RAISE_HAND_FORBIDDEN":"You cannot raise your hand","RANDOM_ID_DUPLICATE":"You provided a random ID that was already used","RANDOM_ID_EMPTY":"Random ID empty","RANDOM_ID_INVALID":"A provided random ID is invalid","RANDOM_LENGTH_INVALID":"Random length invalid","RANGES_INVALID":"Invalid range provided","REACTION_EMPTY":"Empty reaction provided","REACTION_INVALID":"The specified reaction is invalid","REACTIONS_TOO_MANY":"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)","REPLY_MARKUP_BUY_EMPTY":"Reply markup for buy button empty","REPLY_MARKUP_GAME_EMPTY":"","REPLY_MARKUP_INVALID":"The provided reply markup is invalid","REPLY_MARKUP_TOO_LONG":"The specified reply_markup is too long","REPLY_MESSAGE_ID_INVALID":"The specified reply-to message ID is invalid","REPLY_TO_INVALID":"The specified `reply_to` field is invalid","REPLY_TO_USER_INVALID":"The replied-to user is invalid","REQUEST_TOKEN_INVALID":"The master DC did not accept the `request_token` from the CDN DC. Continue downloading the file from the master DC using upload.getFile.","RESET_REQUEST_MISSING":"No password reset is in progress","RESULT_ID_DUPLICATE":"You provided a duplicate result ID","RESULT_ID_EMPTY":"Result ID empty","RESULT_ID_INVALID":"One of the specified result IDs is invalid","RESULT_TYPE_INVALID":"Result type invalid","RESULTS_TOO_MUCH":"Too many results were provided","REVOTE_NOT_ALLOWED":"You cannot change your vote","RIGHT_FORBIDDEN":"Your admin rights do not allow you to do this","RIGHTS_NOT_MODIFIED":"The new admin rights are equal to the old rights, no change was made","RSA_DECRYPT_FAILED":"Internal RSA decryption failed","SCHEDULE_BOT_NOT_ALLOWED":"Bots cannot schedule messages","SCHEDULE_DATE_INVALID":"Invalid schedule date provided","SCHEDULE_DATE_TOO_LATE":"You can't schedule a message this far in the future","SCHEDULE_STATUS_PRIVATE":"Can't schedule until user is online, if the user's last seen timestamp is hidden by their privacy settings.","SCHEDULE_TOO_MUCH":"There are too many scheduled messages","SCORE_INVALID":"The specified game score is invalid","SEARCH_QUERY_EMPTY":"The search query is empty","SEARCH_WITH_LINK_NOT_SUPPORTED":"You cannot provide a search query and an invite link at the same time.","SECONDS_INVALID":"Invalid duration provided","SEND_AS_PEER_INVALID":"You can't send messages as the specified peer","SEND_CODE_UNAVAILABLE":"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)","SEND_MEDIA_INVALID":"The specified media is invalid","SEND_MESSAGE_MEDIA_INVALID":"Invalid media provided","SEND_MESSAGE_TYPE_INVALID":"The message type is invalid","SENSITIVE_CHANGE_FORBIDDEN":"You can't change your sensitive content settings.","SESSION_EXPIRED":"The session has expired","SESSION_PASSWORD_NEEDED":"2FA is enabled, use a password to login","SESSION_REVOKED":"The session was revoked by the user","SESSION_TOO_FRESH_%d":"This session was created less than 24 hours ago, try again in %d seconds","SETTINGS_INVALID":"Invalid settings were provided","SHA256_HASH_INVALID":"The provided SHA256 hash is invalid","SHORT_NAME_INVALID":"The specified short name is invalid","SHORT_NAME_OCCUPIED":"The specified short name is already in use","SHORTCUT_INVALID":"The specified shortcut is invalid","SIGN_IN_FAILED":"Failure while signing in","SLOTS_EMPTY":"The specified slot list is empty","SLOWMODE_MULTI_MSGS_DISABLED":"Slowmode is enabled, you cannot forward multiple messages to this group.","SLOWMODE_WAIT_%d":"Slowmode is enabled in this chat: wait %d seconds before sending another message to this chat.","SLUG_INVALID":"The specified invoice slug is invalid","SMS_CODE_CREATE_FAILED":"An error occurred while creating the SMS code","SMSJOB_ID_INVALID":"The specified job ID is invalid","SRP_ID_INVALID":"Invalid SRP ID provided","SRP_PASSWORD_CHANGED":"Password has changed","START_PARAM_EMPTY":"The start parameter is empty","START_PARAM_INVALID":"Start parameter invalid","START_PARAM_TOO_LONG":"Start parameter is too long","STATS_MIGRATE_%d":"Channel statistics for the specified channel are stored on DC %d, please re-send the query to that DC.","STICKER_DOCUMENT_INVALID":"The specified sticker document is invalid","STICKER_EMOJI_INVALID":"Sticker emoji invalid","STICKER_FILE_INVALID":"Sticker file invalid","STICKER_GIF_DIMENSIONS":"The specified video sticker has invalid dimensions","STICKER_ID_INVALID":"The provided sticker ID is invalid","STICKER_INVALID":"The provided sticker is invalid","STICKER_MIME_INVALID":"The specified sticker MIME type is invalid","STICKER_PNG_DIMENSIONS":"Sticker png dimensions invalid","STICKER_PNG_NOPNG":"One of the specified stickers is not a valid PNG file","STICKER_TGS_NODOC":"You must send the animated sticker as a document.","STICKER_TGS_NOTGS":"Invalid TGS sticker provided.","STICKER_THUMB_PNG_NOPNG":"Incorrect stickerset thumb file provided, PNG \/ WEBP expected.","STICKER_THUMB_TGS_NOTGS":"Incorrect stickerset TGS thumb file provided.","STICKER_VIDEO_BIG":"The specified video sticker is too big","STICKER_VIDEO_NODOC":"You must send the video sticker as a document.","STICKER_VIDEO_NOWEBM":"The specified video sticker is not in webm format","STICKERPACK_STICKERS_TOO_MUCH":"There are too many stickers in this stickerpack, you can't add any more","STICKERS_EMPTY":"No sticker provided","STICKERS_TOO_MUCH":"There are too many stickers in this stickerpack, you can't add any more","STICKERSET_INVALID":"The provided sticker set is invalid","STICKERSET_NOT_MODIFIED":"","STICKERSET_OWNER_ANONYMOUS":"Provided stickerset can't be installed as group stickerset to prevent admin deanonymization.","STORIES_NEVER_CREATED":"This peer hasn't ever posted any stories.","STORIES_TOO_MUCH":"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.","STORY_ID_EMPTY":"You specified no story IDs.","STORY_ID_INVALID":"The specified story ID is invalid","STORY_NOT_MODIFIED":"The new story information you passed is equal to the previous story information, thus it wasn't modified.","STORY_PERIOD_INVALID":"The specified story period is invalid for this account.","STORY_SEND_FLOOD_MONTHLY_%d":"You've hit the monthly story limit as specified by the [`stories_sent_monthly_limit_*` client configuration parameters](https:\/\/core.telegram.org\/api\/config#stories-sent-monthly-limit-default): wait for the specified number of seconds before posting a new story.","STORY_SEND_FLOOD_WEEKLY_%d":"You've hit the weekly story limit as specified by the [`stories_sent_weekly_limit_*` client configuration parameters](https:\/\/core.telegram.org\/api\/config#stories-sent-weekly-limit-default): wait for the specified number of seconds before posting a new story.","SWITCH_PM_TEXT_EMPTY":"The switch_pm.text field was empty","SWITCH_WEBVIEW_URL_INVALID":"The URL specified in switch_webview.url is invalid!","TAKEOUT_INIT_DELAY_%d":"Sorry, for security reasons, you will be able to begin downloading your data in %d seconds. We have notified all your devices about the export request to make sure it's authorized and to give you time to react if it's not.","TAKEOUT_INVALID":"The specified takeout ID is invalid","TAKEOUT_REQUIRED":"A [takeout](https:\/\/core.telegram.org\/api\/takeout) session needs to be initialized first, [see here » for more info](\/api\/takeout).","TASK_ALREADY_EXISTS":"An email reset was already requested.","TEMP_AUTH_KEY_ALREADY_BOUND":"The passed temporary key is already bound to another **perm_auth_key_id**.","TEMP_AUTH_KEY_EMPTY":"No temporary auth key provided","THEME_FILE_INVALID":"Invalid theme file provided","THEME_FORMAT_INVALID":"Invalid theme format provided","THEME_INVALID":"Invalid theme provided","THEME_MIME_INVALID":"The theme's MIME type is invalid","THEME_TITLE_INVALID":"The specified theme title is invalid","Timeout":"Timeout while fetching data","TITLE_INVALID":"The specified stickerpack title is invalid","TMP_PASSWORD_DISABLED":"The temporary password is disabled","TMP_PASSWORD_INVALID":"The passed tmp_password is invalid","TO_LANG_INVALID":"The specified destination language is invalid","TOKEN_EMPTY":"The specified token is empty","TOKEN_INVALID":"The provided token is invalid","TOKEN_TYPE_INVALID":"The specified token type is invalid","TOPIC_CLOSE_SEPARATELY":"The `close` flag cannot be provided together with any of the other flags","TOPIC_CLOSED":"This topic was closed, you can't send messages to it anymore","TOPIC_DELETED":"The specified topic was deleted","TOPIC_HIDE_SEPARATELY":"The `hide` flag cannot be provided together with any of the other flags","TOPIC_ID_INVALID":"The specified topic ID is invalid","TOPIC_NOT_MODIFIED":"The updated topic info is equal to the current topic info, nothing was changed","TOPIC_TITLE_EMPTY":"The specified topic title is empty.","TOPICS_EMPTY":"You specified no topic IDs.","TRANSCRIPTION_FAILED":"Audio transcription failed","TRANSLATE_REQ_QUOTA_EXCEEDED":"","TTL_DAYS_INVALID":"The provided TTL is invalid","TTL_MEDIA_INVALID":"Invalid media Time To Live was provided","TTL_PERIOD_INVALID":"The specified TTL period is invalid","TYPES_EMPTY":"No top peer type was provided","UNTIL_DATE_INVALID":"Invalid until date provided","UPDATE_APP_TO_LOGIN":"Please update to the latest version of MadelineProto to login.","URL_INVALID":"Invalid URL provided","USAGE_LIMIT_INVALID":"The specified usage limit is invalid","USER_ADMIN_INVALID":"You're not an admin","USER_ALREADY_INVITED":"You have already invited this user","USER_ALREADY_PARTICIPANT":"The user is already in the group","USER_BANNED_IN_CHANNEL":"You're banned from sending messages in supergroups\/channels","USER_BLOCKED":"User blocked","USER_BOT":"Bots can only be admins in channels.","USER_BOT_INVALID":"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.","USER_BOT_REQUIRED":"This method can only be called by a bot","USER_CHANNELS_TOO_MUCH":"One of the users you tried to add is already in too many channels\/supergroups","USER_CREATOR":"You can't leave this channel, because you're its creator","USER_DEACTIVATED":"The current account was deleted by the user","USER_DEACTIVATED_BAN":"The current account was deleted and banned by Telegram's antispam system","USER_DELETED":"You can't send this secret message because the other participant deleted their account.","USER_ID_INVALID":"The provided user ID is invalid","USER_INVALID":"Invalid user provided","USER_IS_BLOCKED":"You were blocked by this user","USER_IS_BOT":"Bots can't send messages to other bots","USER_KICKED":"This user was kicked from this supergroup\/channel","USER_MIGRATE_%d":"Your account is associated to DC %d, please re-send the query to that DC.","USER_NOT_MUTUAL_CONTACT":"The provided user is not a mutual contact","USER_NOT_PARTICIPANT":"You're not a member of this supergroup\/channel","USER_PRIVACY_RESTRICTED":"The user's privacy settings do not allow you to do this","USER_PUBLIC_MISSING":"Cannot generate a link to stories posted by a peer without a username.","USER_RESTRICTED":"You're spamreported, you can't create channels or chats.","USER_VOLUME_INVALID":"The specified user volume is invalid","USERNAME_INVALID":"The provided username is not valid","USERNAME_NOT_MODIFIED":"The username was not modified","USERNAME_NOT_OCCUPIED":"The provided username is not occupied","USERNAME_OCCUPIED":"The provided username is already occupied","USERNAME_PURCHASE_AVAILABLE":"The specified username can be purchased on https:\/\/fragment.com","USERNAMES_ACTIVE_TOO_MUCH":"The maximum number of active usernames was reached","USERPIC_PRIVACY_REQUIRED":"You need to disable privacy settings for your profile picture in order to make your geolocation public.","USERPIC_UPLOAD_REQUIRED":"You must have a profile picture to publish your geolocation","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)","VENUE_ID_INVALID":"The specified venue ID is invalid","VIDEO_CONTENT_TYPE_INVALID":"The video's content type is invalid","VIDEO_FILE_INVALID":"The specified video file is invalid","VIDEO_PAUSE_FORBIDDEN":"You cannot pause the video stream","VIDEO_STOP_FORBIDDEN":"You cannot stop the video stream","VIDEO_TITLE_EMPTY":"The specified video title is empty","VOICE_MESSAGES_FORBIDDEN":"This user's privacy settings forbid you from sending voice messages","WALLPAPER_FILE_INVALID":"The specified wallpaper file is invalid","WALLPAPER_INVALID":"The specified wallpaper is invalid","WALLPAPER_MIME_INVALID":"The specified wallpaper MIME type is invalid","WALLPAPER_NOT_FOUND":"The specified wallpaper could not be found","WC_CONVERT_URL_INVALID":"WC convert URL invalid","WEBDOCUMENT_INVALID":"Invalid webdocument URL provided","WEBDOCUMENT_MIME_INVALID":"Invalid webdocument mime type provided","WEBDOCUMENT_SIZE_TOO_BIG":"Webdocument is too big!","WEBDOCUMENT_URL_EMPTY":"The passed web document URL is empty","WEBDOCUMENT_URL_INVALID":"The specified webdocument URL is invalid","WEBPAGE_CURL_FAILED":"Failure while fetching the webpage with cURL","WEBPAGE_MEDIA_EMPTY":"Webpage media empty","WEBPAGE_NOT_FOUND":"A preview for the specified webpage `url` could not be generated","WEBPAGE_URL_INVALID":"The specified webpage `url` is invalid","WEBPUSH_AUTH_INVALID":"The specified web push authentication secret is invalid.","WEBPUSH_KEY_INVALID":"The specified web push elliptic curve Diffie-Hellman public key is invalid.","WEBPUSH_TOKEN_INVALID":"The specified web push token is invalid.","YOU_BLOCKED_USER":"You blocked this user"}} \ No newline at end of file +{"ok":true,"result":{"420":{"account.deleteAccount":{"2FA_CONFIRM_WAIT_%d":"2FA_CONFIRM_WAIT_%d"},"channels.createChannel":{"ADDRESS_INVALID":"ADDRESS_INVALID"},"upload.getFile":{"FLOOD_PREMIUM_WAIT_%d":"FLOOD_PREMIUM_WAIT_%d"},"payments.applyGiftCode":{"PREMIUM_SUB_ACTIVE_UNTIL_%d":"PREMIUM_SUB_ACTIVE_UNTIL_%d"},"messages.forwardMessages":{"SLOWMODE_WAIT_%d":"SLOWMODE_WAIT_%d"},"messages.sendInlineBotResult":{"SLOWMODE_WAIT_%d":"SLOWMODE_WAIT_%d"},"messages.sendMedia":{"SLOWMODE_WAIT_%d":"SLOWMODE_WAIT_%d"},"messages.sendMessage":{"SLOWMODE_WAIT_%d":"SLOWMODE_WAIT_%d"},"messages.sendMultiMedia":{"SLOWMODE_WAIT_%d":"SLOWMODE_WAIT_%d"},"account.initTakeoutSession":{"TAKEOUT_INIT_DELAY_%d":"TAKEOUT_INIT_DELAY_%d"}},"400":{"account.updateProfile":{"ABOUT_TOO_LONG":"ABOUT_TOO_LONG","FIRSTNAME_INVALID":"FIRSTNAME_INVALID"},"auth.importBotAuthorization":{"ACCESS_TOKEN_EXPIRED":"ACCESS_TOKEN_EXPIRED","ACCESS_TOKEN_INVALID":"ACCESS_TOKEN_INVALID","API_ID_INVALID":"API_ID_INVALID","API_ID_PUBLISHED_FLOOD":"API_ID_PUBLISHED_FLOOD"},"channels.createChannel":{"ADDRESS_INVALID":"ADDRESS_INVALID","CHANNELS_ADMIN_LOCATED_TOO_MUCH":"CHANNELS_ADMIN_LOCATED_TOO_MUCH","CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_ABOUT_TOO_LONG":"CHAT_ABOUT_TOO_LONG","CHAT_TITLE_EMPTY":"CHAT_TITLE_EMPTY","TTL_PERIOD_INVALID":"TTL_PERIOD_INVALID"},"messages.deleteRevokedExportedChatInvites":{"ADMIN_ID_INVALID":"ADMIN_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getExportedChatInvites":{"ADMIN_ID_INVALID":"ADMIN_ID_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"channels.editAdmin":{"ADMIN_RANK_EMOJI_NOT_ALLOWED":"ADMIN_RANK_EMOJI_NOT_ALLOWED","ADMIN_RANK_INVALID":"ADMIN_RANK_INVALID","ADMINS_TOO_MUCH":"ADMINS_TOO_MUCH","BOT_CHANNELS_NA":"BOT_CHANNELS_NA","BOT_GROUPS_BLOCKED":"BOT_GROUPS_BLOCKED","BOTS_TOO_MUCH":"BOTS_TOO_MUCH","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","FRESH_CHANGE_ADMINS_FORBIDDEN":"FRESH_CHANGE_ADMINS_FORBIDDEN","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","PEER_ID_INVALID":"PEER_ID_INVALID","USER_BLOCKED":"USER_BLOCKED","USER_CREATOR":"USER_CREATOR","USER_ID_INVALID":"USER_ID_INVALID","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USERS_TOO_MUCH":"USERS_TOO_MUCH"},"messages.sendMessage":{"ADMIN_RIGHTS_EMPTY":"ADMIN_RIGHTS_EMPTY","BOT_DOMAIN_INVALID":"BOT_DOMAIN_INVALID","BOT_INVALID":"BOT_INVALID","BUTTON_DATA_INVALID":"BUTTON_DATA_INVALID","BUTTON_TYPE_INVALID":"BUTTON_TYPE_INVALID","BUTTON_URL_INVALID":"BUTTON_URL_INVALID","BUTTON_USER_INVALID":"BUTTON_USER_INVALID","BUTTON_USER_PRIVACY_RESTRICTED":"BUTTON_USER_PRIVACY_RESTRICTED","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_RESTRICTED":"CHAT_RESTRICTED","DOCUMENT_INVALID":"DOCUMENT_INVALID","ENCRYPTION_DECLINED":"ENCRYPTION_DECLINED","ENTITIES_TOO_LONG":"ENTITIES_TOO_LONG","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","ENTITY_MENTION_USER_INVALID":"ENTITY_MENTION_USER_INVALID","FROM_MESSAGE_BOT_DISABLED":"FROM_MESSAGE_BOT_DISABLED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MESSAGE_EMPTY":"MESSAGE_EMPTY","MESSAGE_TOO_LONG":"MESSAGE_TOO_LONG","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","PINNED_DIALOGS_TOO_MUCH":"PINNED_DIALOGS_TOO_MUCH","POLL_OPTION_INVALID":"POLL_OPTION_INVALID","QUOTE_TEXT_INVALID":"QUOTE_TEXT_INVALID","REPLY_MARKUP_INVALID":"REPLY_MARKUP_INVALID","REPLY_MARKUP_TOO_LONG":"REPLY_MARKUP_TOO_LONG","REPLY_MESSAGE_ID_INVALID":"REPLY_MESSAGE_ID_INVALID","REPLY_TO_INVALID":"REPLY_TO_INVALID","REPLY_TO_USER_INVALID":"REPLY_TO_USER_INVALID","SCHEDULE_BOT_NOT_ALLOWED":"SCHEDULE_BOT_NOT_ALLOWED","SCHEDULE_DATE_TOO_LATE":"SCHEDULE_DATE_TOO_LATE","SCHEDULE_STATUS_PRIVATE":"SCHEDULE_STATUS_PRIVATE","SCHEDULE_TOO_MUCH":"SCHEDULE_TOO_MUCH","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID","STORY_ID_INVALID":"STORY_ID_INVALID","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_IS_BOT":"USER_IS_BOT","WC_CONVERT_URL_INVALID":"WC_CONVERT_URL_INVALID","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"photos.updateProfilePhoto":{"ALBUM_PHOTOS_TOO_MANY":"ALBUM_PHOTOS_TOO_MANY","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","LOCATION_INVALID":"LOCATION_INVALID","PHOTO_CROP_SIZE_SMALL":"PHOTO_CROP_SIZE_SMALL","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_ID_INVALID":"PHOTO_ID_INVALID"},"photos.uploadProfilePhoto":{"ALBUM_PHOTOS_TOO_MANY":"ALBUM_PHOTOS_TOO_MANY","BOT_INVALID":"BOT_INVALID","EMOJI_MARKUP_INVALID":"EMOJI_MARKUP_INVALID","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","PHOTO_CROP_FILE_MISSING":"PHOTO_CROP_FILE_MISSING","PHOTO_CROP_SIZE_SMALL":"PHOTO_CROP_SIZE_SMALL","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_FILE_MISSING":"PHOTO_FILE_MISSING","PHOTO_INVALID":"PHOTO_INVALID","STICKER_MIME_INVALID":"STICKER_MIME_INVALID","VIDEO_FILE_INVALID":"VIDEO_FILE_INVALID"},"auth.exportLoginToken":{"API_ID_INVALID":"API_ID_INVALID","API_ID_PUBLISHED_FLOOD":"API_ID_PUBLISHED_FLOOD"},"auth.importWebTokenAuthorization":{"API_ID_INVALID":"API_ID_INVALID"},"auth.sendCode":{"API_ID_INVALID":"API_ID_INVALID","API_ID_PUBLISHED_FLOOD":"API_ID_PUBLISHED_FLOOD","PHONE_NUMBER_APP_SIGNUP_FORBIDDEN":"PHONE_NUMBER_APP_SIGNUP_FORBIDDEN","PHONE_NUMBER_BANNED":"PHONE_NUMBER_BANNED","PHONE_NUMBER_FLOOD":"PHONE_NUMBER_FLOOD","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_PASSWORD_PROTECTED":"PHONE_PASSWORD_PROTECTED","SMS_CODE_CREATE_FAILED":"SMS_CODE_CREATE_FAILED"},"messages.setInlineBotResults":{"ARTICLE_TITLE_EMPTY":"ARTICLE_TITLE_EMPTY","AUDIO_CONTENT_URL_EMPTY":"AUDIO_CONTENT_URL_EMPTY","AUDIO_TITLE_EMPTY":"AUDIO_TITLE_EMPTY","BUTTON_DATA_INVALID":"BUTTON_DATA_INVALID","BUTTON_TYPE_INVALID":"BUTTON_TYPE_INVALID","BUTTON_URL_INVALID":"BUTTON_URL_INVALID","DOCUMENT_INVALID":"DOCUMENT_INVALID","FILE_CONTENT_TYPE_INVALID":"FILE_CONTENT_TYPE_INVALID","FILE_TITLE_EMPTY":"FILE_TITLE_EMPTY","GIF_CONTENT_TYPE_INVALID":"GIF_CONTENT_TYPE_INVALID","MESSAGE_EMPTY":"MESSAGE_EMPTY","MESSAGE_TOO_LONG":"MESSAGE_TOO_LONG","NEXT_OFFSET_INVALID":"NEXT_OFFSET_INVALID","PHOTO_CONTENT_TYPE_INVALID":"PHOTO_CONTENT_TYPE_INVALID","PHOTO_CONTENT_URL_EMPTY":"PHOTO_CONTENT_URL_EMPTY","PHOTO_INVALID":"PHOTO_INVALID","PHOTO_THUMB_URL_EMPTY":"PHOTO_THUMB_URL_EMPTY","QUERY_ID_INVALID":"QUERY_ID_INVALID","REPLY_MARKUP_INVALID":"REPLY_MARKUP_INVALID","RESULT_ID_DUPLICATE":"RESULT_ID_DUPLICATE","RESULT_ID_INVALID":"RESULT_ID_INVALID","RESULT_TYPE_INVALID":"RESULT_TYPE_INVALID","RESULTS_TOO_MUCH":"RESULTS_TOO_MUCH","SEND_MESSAGE_MEDIA_INVALID":"SEND_MESSAGE_MEDIA_INVALID","SEND_MESSAGE_TYPE_INVALID":"SEND_MESSAGE_TYPE_INVALID","START_PARAM_EMPTY":"START_PARAM_EMPTY","START_PARAM_INVALID":"START_PARAM_INVALID","STICKER_DOCUMENT_INVALID":"STICKER_DOCUMENT_INVALID","SWITCH_PM_TEXT_EMPTY":"SWITCH_PM_TEXT_EMPTY","SWITCH_WEBVIEW_URL_INVALID":"SWITCH_WEBVIEW_URL_INVALID","URL_INVALID":"URL_INVALID","USER_BOT_INVALID":"USER_BOT_INVALID","VIDEO_TITLE_EMPTY":"VIDEO_TITLE_EMPTY","WEBDOCUMENT_INVALID":"WEBDOCUMENT_INVALID","WEBDOCUMENT_MIME_INVALID":"WEBDOCUMENT_MIME_INVALID","WEBDOCUMENT_SIZE_TOO_BIG":"WEBDOCUMENT_SIZE_TOO_BIG","WEBDOCUMENT_URL_INVALID":"WEBDOCUMENT_URL_INVALID"},"auth.importAuthorization":{"AUTH_BYTES_INVALID":"AUTH_BYTES_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"invokeWithLayer":{"AUTH_BYTES_INVALID":"AUTH_BYTES_INVALID","CDN_METHOD_INVALID":"CDN_METHOD_INVALID","CONNECTION_API_ID_INVALID":"CONNECTION_API_ID_INVALID","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"auth.acceptLoginToken":{"AUTH_TOKEN_ALREADY_ACCEPTED":"AUTH_TOKEN_ALREADY_ACCEPTED","AUTH_TOKEN_EXCEPTION":"AUTH_TOKEN_EXCEPTION","AUTH_TOKEN_EXPIRED":"AUTH_TOKEN_EXPIRED","AUTH_TOKEN_INVALIDX":"AUTH_TOKEN_INVALIDX"},"auth.importLoginToken":{"AUTH_TOKEN_ALREADY_ACCEPTED":"AUTH_TOKEN_ALREADY_ACCEPTED","AUTH_TOKEN_EXPIRED":"AUTH_TOKEN_EXPIRED","AUTH_TOKEN_INVALID":"AUTH_TOKEN_INVALID","AUTH_TOKEN_INVALIDX":"AUTH_TOKEN_INVALIDX"},"account.setGlobalPrivacySettings":{"AUTOARCHIVE_NOT_AVAILABLE":"AUTOARCHIVE_NOT_AVAILABLE"},"payments.getBankCardData":{"BANK_CARD_NUMBER_INVALID":"BANK_CARD_NUMBER_INVALID"},"messages.editChatDefaultBannedRights":{"BANNED_RIGHTS_INVALID":"BANNED_RIGHTS_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID","UNTIL_DATE_INVALID":"UNTIL_DATE_INVALID"},"stories.applyBoost":{"BOOST_NOT_MODIFIED":"BOOST_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED"},"stories.canApplyBoost":{"BOOST_NOT_MODIFIED":"BOOST_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED"},"payments.getPaymentForm":{"BOOST_PEER_INVALID":"BOOST_PEER_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","SLUG_INVALID":"SLUG_INVALID","UNTIL_DATE_INVALID":"UNTIL_DATE_INVALID"},"premium.applyBoost":{"BOOSTS_EMPTY":"BOOSTS_EMPTY","PEER_ID_INVALID":"PEER_ID_INVALID","SLOTS_EMPTY":"SLOTS_EMPTY"},"channels.updateColor":{"BOOSTS_REQUIRED":"BOOSTS_REQUIRED","CHANNEL_INVALID":"CHANNEL_INVALID"},"stories.canSendStory":{"BOOSTS_REQUIRED":"BOOSTS_REQUIRED","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED","STORIES_TOO_MUCH":"STORIES_TOO_MUCH","STORY_SEND_FLOOD_MONTHLY_%d":"STORY_SEND_FLOOD_MONTHLY_%d","STORY_SEND_FLOOD_WEEKLY_%d":"STORY_SEND_FLOOD_WEEKLY_%d"},"stories.sendStory":{"BOOSTS_REQUIRED":"BOOSTS_REQUIRED","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","MEDIA_EMPTY":"MEDIA_EMPTY","MEDIA_FILE_INVALID":"MEDIA_FILE_INVALID","MEDIA_TYPE_INVALID":"MEDIA_TYPE_INVALID","MEDIA_VIDEO_STORY_MISSING":"MEDIA_VIDEO_STORY_MISSING","PEER_ID_INVALID":"PEER_ID_INVALID","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED","STORIES_TOO_MUCH":"STORIES_TOO_MUCH","STORY_PERIOD_INVALID":"STORY_PERIOD_INVALID","VENUE_ID_INVALID":"VENUE_ID_INVALID"},"messages.getBotApp":{"BOT_APP_BOT_INVALID":"BOT_APP_BOT_INVALID","BOT_APP_INVALID":"BOT_APP_INVALID","BOT_APP_SHORTNAME_INVALID":"BOT_APP_SHORTNAME_INVALID"},"messages.requestAppWebView":{"BOT_APP_INVALID":"BOT_APP_INVALID","BOT_APP_SHORTNAME_INVALID":"BOT_APP_SHORTNAME_INVALID"},"bots.setBotCommands":{"BOT_COMMAND_DESCRIPTION_INVALID":"BOT_COMMAND_DESCRIPTION_INVALID","BOT_COMMAND_INVALID":"BOT_COMMAND_INVALID","LANG_CODE_INVALID":"LANG_CODE_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED","USER_ID_INVALID":"USER_ID_INVALID"},"messages.editMessage":{"BOT_DOMAIN_INVALID":"BOT_DOMAIN_INVALID","BOT_INVALID":"BOT_INVALID","BUTTON_DATA_INVALID":"BUTTON_DATA_INVALID","BUTTON_TYPE_INVALID":"BUTTON_TYPE_INVALID","BUTTON_URL_INVALID":"BUTTON_URL_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_FORWARDS_RESTRICTED":"CHAT_FORWARDS_RESTRICTED","DOCUMENT_INVALID":"DOCUMENT_INVALID","ENTITIES_TOO_LONG":"ENTITIES_TOO_LONG","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MEDIA_CAPTION_TOO_LONG":"MEDIA_CAPTION_TOO_LONG","MEDIA_EMPTY":"MEDIA_EMPTY","MEDIA_GROUPED_INVALID":"MEDIA_GROUPED_INVALID","MEDIA_INVALID":"MEDIA_INVALID","MEDIA_NEW_INVALID":"MEDIA_NEW_INVALID","MEDIA_PREV_INVALID":"MEDIA_PREV_INVALID","MEDIA_TTL_INVALID":"MEDIA_TTL_INVALID","MESSAGE_EDIT_TIME_EXPIRED":"MESSAGE_EDIT_TIME_EXPIRED","MESSAGE_EMPTY":"MESSAGE_EMPTY","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MESSAGE_NOT_MODIFIED":"MESSAGE_NOT_MODIFIED","MESSAGE_TOO_LONG":"MESSAGE_TOO_LONG","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","REPLY_MARKUP_INVALID":"REPLY_MARKUP_INVALID","REPLY_MARKUP_TOO_LONG":"REPLY_MARKUP_TOO_LONG","SCHEDULE_DATE_INVALID":"SCHEDULE_DATE_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","WEBPAGE_NOT_FOUND":"WEBPAGE_NOT_FOUND"},"channels.inviteToChannel":{"BOT_GROUPS_BLOCKED":"BOT_GROUPS_BLOCKED","BOTS_TOO_MUCH":"BOTS_TOO_MUCH","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_INVALID":"CHAT_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_BLOCKED":"USER_BLOCKED","USER_BOT":"USER_BOT","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH","USER_ID_INVALID":"USER_ID_INVALID","USER_KICKED":"USER_KICKED","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USERS_TOO_MUCH":"USERS_TOO_MUCH"},"messages.addChatUser":{"BOT_GROUPS_BLOCKED":"BOT_GROUPS_BLOCKED","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ALREADY_PARTICIPANT":"USER_ALREADY_PARTICIPANT","USER_ID_INVALID":"USER_ID_INVALID","USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USERS_TOO_MUCH":"USERS_TOO_MUCH","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.getInlineBotResults":{"BOT_INLINE_DISABLED":"BOT_INLINE_DISABLED","BOT_INVALID":"BOT_INVALID","BOT_RESPONSE_TIMEOUT":"BOT_RESPONSE_TIMEOUT","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID"},"bots.allowSendMessage":{"BOT_INVALID":"BOT_INVALID"},"bots.canSendMessage":{"BOT_INVALID":"BOT_INVALID"},"bots.getBotInfo":{"BOT_INVALID":"BOT_INVALID","LANG_CODE_INVALID":"LANG_CODE_INVALID","USER_BOT_INVALID":"USER_BOT_INVALID"},"bots.invokeWebViewCustomMethod":{"BOT_INVALID":"BOT_INVALID"},"bots.reorderUsernames":{"BOT_INVALID":"BOT_INVALID"},"bots.toggleUsername":{"BOT_INVALID":"BOT_INVALID"},"messages.getAttachMenuBot":{"BOT_INVALID":"BOT_INVALID"},"messages.requestSimpleWebView":{"BOT_INVALID":"BOT_INVALID","URL_INVALID":"URL_INVALID"},"messages.requestWebView":{"BOT_INVALID":"BOT_INVALID","BOT_WEBVIEW_DISABLED":"BOT_WEBVIEW_DISABLED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.startBot":{"BOT_INVALID":"BOT_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","START_PARAM_EMPTY":"START_PARAM_EMPTY","START_PARAM_INVALID":"START_PARAM_INVALID","START_PARAM_TOO_LONG":"START_PARAM_TOO_LONG"},"messages.toggleBotInAttachMenu":{"BOT_INVALID":"BOT_INVALID"},"stickers.addStickerToSet":{"BOT_MISSING":"BOT_MISSING","STICKER_PNG_NOPNG":"STICKER_PNG_NOPNG","STICKER_TGS_NOTGS":"STICKER_TGS_NOTGS","STICKERPACK_STICKERS_TOO_MUCH":"STICKERPACK_STICKERS_TOO_MUCH","STICKERS_TOO_MUCH":"STICKERS_TOO_MUCH","STICKERSET_INVALID":"STICKERSET_INVALID"},"stickers.changeSticker":{"BOT_MISSING":"BOT_MISSING","STICKER_INVALID":"STICKER_INVALID"},"stickers.deleteStickerSet":{"BOT_MISSING":"BOT_MISSING","STICKERSET_INVALID":"STICKERSET_INVALID"},"stickers.removeStickerFromSet":{"BOT_MISSING":"BOT_MISSING","STICKER_INVALID":"STICKER_INVALID"},"messages.updatePinnedMessage":{"BOT_ONESIDE_NOT_AVAIL":"BOT_ONESIDE_NOT_AVAIL","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","PIN_RESTRICTED":"PIN_RESTRICTED","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"messages.sendMedia":{"BOT_PAYMENTS_DISABLED":"BOT_PAYMENTS_DISABLED","BROADCAST_PUBLIC_VOTERS_FORBIDDEN":"BROADCAST_PUBLIC_VOTERS_FORBIDDEN","BUTTON_DATA_INVALID":"BUTTON_DATA_INVALID","BUTTON_TYPE_INVALID":"BUTTON_TYPE_INVALID","BUTTON_URL_INVALID":"BUTTON_URL_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_FORWARDS_RESTRICTED":"CHAT_FORWARDS_RESTRICTED","CHAT_RESTRICTED":"CHAT_RESTRICTED","CURRENCY_TOTAL_AMOUNT_INVALID":"CURRENCY_TOTAL_AMOUNT_INVALID","DOCUMENT_INVALID":"DOCUMENT_INVALID","EMOTICON_INVALID":"EMOTICON_INVALID","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","EXTERNAL_URL_INVALID":"EXTERNAL_URL_INVALID","FILE_PART_LENGTH_INVALID":"FILE_PART_LENGTH_INVALID","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","FILE_REFERENCE_EMPTY":"FILE_REFERENCE_EMPTY","FILE_REFERENCE_EXPIRED":"FILE_REFERENCE_EXPIRED","GAME_BOT_INVALID":"GAME_BOT_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MD5_CHECKSUM_INVALID":"MD5_CHECKSUM_INVALID","MEDIA_CAPTION_TOO_LONG":"MEDIA_CAPTION_TOO_LONG","MEDIA_EMPTY":"MEDIA_EMPTY","MEDIA_INVALID":"MEDIA_INVALID","MESSAGE_EMPTY":"MESSAGE_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","PAYMENT_PROVIDER_INVALID":"PAYMENT_PROVIDER_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_INVALID_DIMENSIONS":"PHOTO_INVALID_DIMENSIONS","PHOTO_SAVE_FILE_INVALID":"PHOTO_SAVE_FILE_INVALID","POLL_ANSWER_INVALID":"POLL_ANSWER_INVALID","POLL_ANSWERS_INVALID":"POLL_ANSWERS_INVALID","POLL_OPTION_DUPLICATE":"POLL_OPTION_DUPLICATE","POLL_OPTION_INVALID":"POLL_OPTION_INVALID","POLL_QUESTION_INVALID":"POLL_QUESTION_INVALID","QUIZ_CORRECT_ANSWER_INVALID":"QUIZ_CORRECT_ANSWER_INVALID","QUIZ_CORRECT_ANSWERS_EMPTY":"QUIZ_CORRECT_ANSWERS_EMPTY","QUIZ_CORRECT_ANSWERS_TOO_MUCH":"QUIZ_CORRECT_ANSWERS_TOO_MUCH","QUIZ_MULTIPLE_INVALID":"QUIZ_MULTIPLE_INVALID","REPLY_MARKUP_BUY_EMPTY":"REPLY_MARKUP_BUY_EMPTY","REPLY_MARKUP_GAME_EMPTY":"REPLY_MARKUP_GAME_EMPTY","REPLY_MARKUP_INVALID":"REPLY_MARKUP_INVALID","REPLY_MARKUP_TOO_LONG":"REPLY_MARKUP_TOO_LONG","SCHEDULE_BOT_NOT_ALLOWED":"SCHEDULE_BOT_NOT_ALLOWED","SCHEDULE_DATE_TOO_LATE":"SCHEDULE_DATE_TOO_LATE","SCHEDULE_TOO_MUCH":"SCHEDULE_TOO_MUCH","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID","STORY_ID_INVALID":"STORY_ID_INVALID","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED","TTL_MEDIA_INVALID":"TTL_MEDIA_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_IS_BOT":"USER_IS_BOT","VIDEO_CONTENT_TYPE_INVALID":"VIDEO_CONTENT_TYPE_INVALID","VOICE_MESSAGES_FORBIDDEN":"VOICE_MESSAGES_FORBIDDEN","WEBDOCUMENT_MIME_INVALID":"WEBDOCUMENT_MIME_INVALID","WEBPAGE_CURL_FAILED":"WEBPAGE_CURL_FAILED","WEBPAGE_MEDIA_EMPTY":"WEBPAGE_MEDIA_EMPTY","WEBPAGE_NOT_FOUND":"WEBPAGE_NOT_FOUND","WEBPAGE_URL_INVALID":"WEBPAGE_URL_INVALID","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.getBotCallbackAnswer":{"BOT_RESPONSE_TIMEOUT":"BOT_RESPONSE_TIMEOUT","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","DATA_INVALID":"DATA_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.setGameScore":{"BOT_SCORE_NOT_MODIFIED":"BOT_SCORE_NOT_MODIFIED","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","SCORE_INVALID":"SCORE_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"channels.setDiscussionGroup":{"BROADCAST_ID_INVALID":"BROADCAST_ID_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","LINK_NOT_MODIFIED":"LINK_NOT_MODIFIED","MEGAGROUP_ID_INVALID":"MEGAGROUP_ID_INVALID","MEGAGROUP_PREHISTORY_HIDDEN":"MEGAGROUP_PREHISTORY_HIDDEN"},"messages.forwardMessages":{"BROADCAST_PUBLIC_VOTERS_FORBIDDEN":"BROADCAST_PUBLIC_VOTERS_FORBIDDEN","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_FORWARDS_RESTRICTED":"CHAT_FORWARDS_RESTRICTED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_RESTRICTED":"CHAT_RESTRICTED","GROUPED_MEDIA_INVALID":"GROUPED_MEDIA_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MEDIA_EMPTY":"MEDIA_EMPTY","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MESSAGE_IDS_EMPTY":"MESSAGE_IDS_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","QUIZ_ANSWER_MISSING":"QUIZ_ANSWER_MISSING","RANDOM_ID_INVALID":"RANDOM_ID_INVALID","SCHEDULE_BOT_NOT_ALLOWED":"SCHEDULE_BOT_NOT_ALLOWED","SCHEDULE_DATE_TOO_LATE":"SCHEDULE_DATE_TOO_LATE","SCHEDULE_TOO_MUCH":"SCHEDULE_TOO_MUCH","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID","SLOWMODE_MULTI_MSGS_DISABLED":"SLOWMODE_MULTI_MSGS_DISABLED","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_IS_BOT":"USER_IS_BOT","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"stats.getBroadcastStats":{"BROADCAST_REQUIRED":"BROADCAST_REQUIRED","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"messages.editInlineBotMessage":{"BUTTON_DATA_INVALID":"BUTTON_DATA_INVALID","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MESSAGE_NOT_MODIFIED":"MESSAGE_NOT_MODIFIED"},"bots.setBotMenuButton":{"BUTTON_TEXT_INVALID":"BUTTON_TEXT_INVALID","BUTTON_URL_INVALID":"BUTTON_URL_INVALID"},"test.test":{"BUTTON_URL_INVALID":"BUTTON_URL_INVALID"},"phone.acceptCall":{"CALL_ALREADY_ACCEPTED":"CALL_ALREADY_ACCEPTED","CALL_ALREADY_DECLINED":"CALL_ALREADY_DECLINED","CALL_PEER_INVALID":"CALL_PEER_INVALID","CALL_PROTOCOL_FLAGS_INVALID":"CALL_PROTOCOL_FLAGS_INVALID"},"phone.discardCall":{"CALL_ALREADY_ACCEPTED":"CALL_ALREADY_ACCEPTED","CALL_OCCUPY_FAILED":"CALL_OCCUPY_FAILED","CALL_PEER_INVALID":"CALL_PEER_INVALID"},"phone.confirmCall":{"CALL_ALREADY_DECLINED":"CALL_ALREADY_DECLINED","CALL_PEER_INVALID":"CALL_PEER_INVALID"},"phone.receivedCall":{"CALL_ALREADY_DECLINED":"CALL_ALREADY_DECLINED","CALL_PEER_INVALID":"CALL_PEER_INVALID"},"phone.saveCallDebug":{"CALL_PEER_INVALID":"CALL_PEER_INVALID","DATA_JSON_INVALID":"DATA_JSON_INVALID"},"phone.setCallRating":{"CALL_PEER_INVALID":"CALL_PEER_INVALID"},"phone.requestCall":{"CALL_PROTOCOL_FLAGS_INVALID":"CALL_PROTOCOL_FLAGS_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","PARTICIPANT_VERSION_OUTDATED":"PARTICIPANT_VERSION_OUTDATED","USER_ID_INVALID":"USER_ID_INVALID","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"updates.getDifference":{"CDN_METHOD_INVALID":"CDN_METHOD_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","DATE_EMPTY":"DATE_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","PERSISTENT_TIMESTAMP_EMPTY":"PERSISTENT_TIMESTAMP_EMPTY","PERSISTENT_TIMESTAMP_INVALID":"PERSISTENT_TIMESTAMP_INVALID","USER_NOT_PARTICIPANT":"USER_NOT_PARTICIPANT","USERNAME_INVALID":"USERNAME_INVALID"},"upload.getCdnFileHashes":{"CDN_METHOD_INVALID":"CDN_METHOD_INVALID","FILE_TOKEN_INVALID":"FILE_TOKEN_INVALID","RSA_DECRYPT_FAILED":"RSA_DECRYPT_FAILED"},"upload.getFile":{"CDN_METHOD_INVALID":"CDN_METHOD_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","FILE_ID_INVALID":"FILE_ID_INVALID","FILE_REFERENCE_*":"FILE_REFERENCE_*","FILE_REFERENCE_EXPIRED":"FILE_REFERENCE_EXPIRED","LIMIT_INVALID":"LIMIT_INVALID","LOCATION_INVALID":"LOCATION_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","OFFSET_INVALID":"OFFSET_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"upload.reuploadCdnFile":{"CDN_METHOD_INVALID":"CDN_METHOD_INVALID","FILE_TOKEN_INVALID":"FILE_TOKEN_INVALID","LOCATION_INVALID":"LOCATION_INVALID","REQUEST_TOKEN_INVALID":"REQUEST_TOKEN_INVALID","RSA_DECRYPT_FAILED":"RSA_DECRYPT_FAILED"},"channels.createForumTopic":{"CHANNEL_FORUM_MISSING":"CHANNEL_FORUM_MISSING","CHANNEL_INVALID":"CHANNEL_INVALID","TOPIC_TITLE_EMPTY":"TOPIC_TITLE_EMPTY"},"channels.editForumTopic":{"CHANNEL_FORUM_MISSING":"CHANNEL_FORUM_MISSING","CHANNEL_INVALID":"CHANNEL_INVALID","DOCUMENT_INVALID":"DOCUMENT_INVALID","GENERAL_MODIFY_ICON_FORBIDDEN":"GENERAL_MODIFY_ICON_FORBIDDEN","TOPIC_CLOSE_SEPARATELY":"TOPIC_CLOSE_SEPARATELY","TOPIC_HIDE_SEPARATELY":"TOPIC_HIDE_SEPARATELY","TOPIC_ID_INVALID":"TOPIC_ID_INVALID","TOPIC_NOT_MODIFIED":"TOPIC_NOT_MODIFIED"},"channels.getForumTopics":{"CHANNEL_FORUM_MISSING":"CHANNEL_FORUM_MISSING","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getForumTopicsByID":{"CHANNEL_FORUM_MISSING":"CHANNEL_FORUM_MISSING","CHANNEL_INVALID":"CHANNEL_INVALID","TOPICS_EMPTY":"TOPICS_EMPTY"},"channels.convertToGigagroup":{"CHANNEL_ID_INVALID":"CHANNEL_ID_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","FORUM_ENABLED":"FORUM_ENABLED","PARTICIPANTS_TOO_FEW":"PARTICIPANTS_TOO_FEW"},"account.updateNotifySettings":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","SETTINGS_INVALID":"SETTINGS_INVALID"},"channels.checkUsername":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_ADMIN_PUBLIC_TOO_MUCH":"CHANNELS_ADMIN_PUBLIC_TOO_MUCH","CHAT_ID_INVALID":"CHAT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USERNAME_INVALID":"USERNAME_INVALID","USERNAME_OCCUPIED":"USERNAME_OCCUPIED","USERNAME_PURCHASE_AVAILABLE":"USERNAME_PURCHASE_AVAILABLE"},"channels.clickSponsoredMessage":{"CHANNEL_INVALID":"CHANNEL_INVALID"},"channels.deleteChannel":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNEL_TOO_LARGE":"CHANNEL_TOO_LARGE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"channels.deleteHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PARICIPANT_MISSING":"CHANNEL_PARICIPANT_MISSING","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNEL_TOO_BIG":"CHANNEL_TOO_BIG","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"channels.deleteMessages":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.deleteParticipantHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MSG_ID_INVALID":"MSG_ID_INVALID","PARTICIPANT_ID_INVALID":"PARTICIPANT_ID_INVALID"},"channels.deleteTopicHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","TOPIC_ID_INVALID":"TOPIC_ID_INVALID"},"channels.deleteUserHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"channels.editAbout":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ABOUT_NOT_MODIFIED":"CHAT_ABOUT_NOT_MODIFIED","CHAT_ABOUT_TOO_LONG":"CHAT_ABOUT_TOO_LONG","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"channels.editBanned":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PARTICIPANT_ID_INVALID":"PARTICIPANT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ADMIN_INVALID":"USER_ADMIN_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"channels.editPhoto":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","FILE_REFERENCE_INVALID":"FILE_REFERENCE_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","PHOTO_CROP_SIZE_SMALL":"PHOTO_CROP_SIZE_SMALL","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_INVALID":"PHOTO_INVALID","STICKER_MIME_INVALID":"STICKER_MIME_INVALID"},"channels.editTitle":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","CHAT_TITLE_EMPTY":"CHAT_TITLE_EMPTY"},"channels.exportInvite":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"channels.exportMessageLink":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.getAdminLog":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.getChannelRecommendations":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getChannels":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"channels.getFullChannel":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.getMessages":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MESSAGE_IDS_EMPTY":"MESSAGE_IDS_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"channels.getParticipant":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MSG_ID_INVALID":"MSG_ID_INVALID","PARTICIPANT_ID_INVALID":"PARTICIPANT_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID","USER_NOT_PARTICIPANT":"USER_NOT_PARTICIPANT"},"channels.getParticipants":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.getSendAs":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"channels.getSponsoredMessages":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.joinChannel":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_INVALID":"CHAT_INVALID","INVITE_HASH_EMPTY":"INVITE_HASH_EMPTY","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","INVITE_HASH_INVALID":"INVITE_HASH_INVALID","INVITE_REQUEST_SENT":"INVITE_REQUEST_SENT","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ALREADY_PARTICIPANT":"USER_ALREADY_PARTICIPANT","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH","USERS_TOO_MUCH":"USERS_TOO_MUCH"},"channels.leaveChannel":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_INVALID":"CHAT_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_CREATOR":"USER_CREATOR","USER_NOT_PARTICIPANT":"USER_NOT_PARTICIPANT"},"channels.readHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.readMessageContents":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.reorderUsernames":{"CHANNEL_INVALID":"CHANNEL_INVALID"},"channels.reportSpam":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"channels.setStickers":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ID_INVALID":"CHAT_ID_INVALID","PARTICIPANTS_TOO_FEW":"PARTICIPANTS_TOO_FEW"},"channels.toggleInvites":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"channels.toggleJoinRequest":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","CHAT_PUBLIC_REQUIRED":"CHAT_PUBLIC_REQUIRED"},"channels.toggleJoinToSend":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"channels.togglePreHistoryHidden":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_LINK_EXISTS":"CHAT_LINK_EXISTS","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","FORUM_ENABLED":"FORUM_ENABLED"},"channels.toggleSignatures":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"channels.toggleSlowMode":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","SECONDS_INVALID":"SECONDS_INVALID"},"channels.toggleViewForumAsMessages":{"CHANNEL_INVALID":"CHANNEL_INVALID"},"channels.updateEmojiStatus":{"CHANNEL_INVALID":"CHANNEL_INVALID"},"channels.updatePinnedMessage":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"channels.updateUsername":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_ADMIN_PUBLIC_TOO_MUCH":"CHANNELS_ADMIN_PUBLIC_TOO_MUCH","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","USERNAME_INVALID":"USERNAME_INVALID","USERNAME_NOT_MODIFIED":"USERNAME_NOT_MODIFIED","USERNAME_OCCUPIED":"USERNAME_OCCUPIED","USERNAME_PURCHASE_AVAILABLE":"USERNAME_PURCHASE_AVAILABLE"},"channels.viewSponsoredMessage":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.editChatAbout":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ABOUT_NOT_MODIFIED":"CHAT_ABOUT_NOT_MODIFIED","CHAT_ABOUT_TOO_LONG":"CHAT_ABOUT_TOO_LONG","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.exportChatInvite":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","EXPIRE_DATE_INVALID":"EXPIRE_DATE_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USAGE_LIMIT_INVALID":"USAGE_LIMIT_INVALID"},"messages.getChatInviteImporters":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","PEER_ID_INVALID":"PEER_ID_INVALID","SEARCH_WITH_LINK_NOT_SUPPORTED":"SEARCH_WITH_LINK_NOT_SUPPORTED"},"messages.getDiscussionMessage":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","TOPIC_ID_INVALID":"TOPIC_ID_INVALID"},"messages.getHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","TAKEOUT_INVALID":"TAKEOUT_INVALID"},"messages.getMessagesReactions":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.getMessagesViews":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getPeerDialogs":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getPeerSettings":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getReplies":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","TOPIC_ID_INVALID":"TOPIC_ID_INVALID"},"messages.getUnreadMentions":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.hideAllChatJoinRequests":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","HIDE_REQUESTER_MISSING":"HIDE_REQUESTER_MISSING","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","PEER_ID_INVALID":"PEER_ID_INVALID","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH"},"messages.importChatInvite":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_INVALID":"CHAT_INVALID","INVITE_HASH_EMPTY":"INVITE_HASH_EMPTY","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","INVITE_HASH_INVALID":"INVITE_HASH_INVALID","INVITE_REQUEST_SENT":"INVITE_REQUEST_SENT","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ALREADY_PARTICIPANT":"USER_ALREADY_PARTICIPANT","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH","USERS_TOO_MUCH":"USERS_TOO_MUCH"},"messages.readMentions":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.report":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.search":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","FROM_PEER_INVALID":"FROM_PEER_INVALID","INPUT_FILTER_INVALID":"INPUT_FILTER_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","PEER_ID_NOT_SUPPORTED":"PEER_ID_NOT_SUPPORTED","SEARCH_QUERY_EMPTY":"SEARCH_QUERY_EMPTY","USER_ID_INVALID":"USER_ID_INVALID"},"messages.sendInlineBotResult":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_RESTRICTED":"CHAT_RESTRICTED","CHAT_SEND_INLINE_FORBIDDEN":"CHAT_SEND_INLINE_FORBIDDEN","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","INLINE_RESULT_EXPIRED":"INLINE_RESULT_EXPIRED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MEDIA_EMPTY":"MEDIA_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","QUERY_ID_EMPTY":"QUERY_ID_EMPTY","RESULT_ID_EMPTY":"RESULT_ID_EMPTY","RESULT_ID_INVALID":"RESULT_ID_INVALID","SCHEDULE_DATE_TOO_LATE":"SCHEDULE_DATE_TOO_LATE","SCHEDULE_TOO_MUCH":"SCHEDULE_TOO_MUCH","TOPIC_DELETED":"TOPIC_DELETED","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","VOICE_MESSAGES_FORBIDDEN":"VOICE_MESSAGES_FORBIDDEN","WEBPAGE_CURL_FAILED":"WEBPAGE_CURL_FAILED","WEBPAGE_MEDIA_EMPTY":"WEBPAGE_MEDIA_EMPTY","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.sendMultiMedia":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_FORWARDS_RESTRICTED":"CHAT_FORWARDS_RESTRICTED","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","MEDIA_CAPTION_TOO_LONG":"MEDIA_CAPTION_TOO_LONG","MEDIA_EMPTY":"MEDIA_EMPTY","MEDIA_INVALID":"MEDIA_INVALID","MULTI_MEDIA_TOO_LONG":"MULTI_MEDIA_TOO_LONG","PEER_ID_INVALID":"PEER_ID_INVALID","RANDOM_ID_EMPTY":"RANDOM_ID_EMPTY","SCHEDULE_DATE_TOO_LATE":"SCHEDULE_DATE_TOO_LATE","SCHEDULE_TOO_MUCH":"SCHEDULE_TOO_MUCH","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"messages.sendReaction":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CUSTOM_REACTIONS_TOO_MANY":"CUSTOM_REACTIONS_TOO_MANY","DOCUMENT_INVALID":"DOCUMENT_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MESSAGE_NOT_MODIFIED":"MESSAGE_NOT_MODIFIED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","REACTION_EMPTY":"REACTION_EMPTY","REACTION_INVALID":"REACTION_INVALID","REACTIONS_TOO_MANY":"REACTIONS_TOO_MANY","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"messages.sendVote":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MESSAGE_POLL_CLOSED":"MESSAGE_POLL_CLOSED","MSG_ID_INVALID":"MSG_ID_INVALID","OPTION_INVALID":"OPTION_INVALID","OPTIONS_TOO_MUCH":"OPTIONS_TOO_MUCH","PEER_ID_INVALID":"PEER_ID_INVALID","REVOTE_NOT_ALLOWED":"REVOTE_NOT_ALLOWED"},"messages.setTyping":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_IS_BOT":"USER_IS_BOT"},"messages.uploadMedia":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_RESTRICTED":"CHAT_RESTRICTED","FILE_PART_LENGTH_INVALID":"FILE_PART_LENGTH_INVALID","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MEDIA_INVALID":"MEDIA_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_INVALID_DIMENSIONS":"PHOTO_INVALID_DIMENSIONS","PHOTO_SAVE_FILE_INVALID":"PHOTO_SAVE_FILE_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","WEBPAGE_CURL_FAILED":"WEBPAGE_CURL_FAILED"},"stats.getMegagroupStats":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MEGAGROUP_REQUIRED":"MEGAGROUP_REQUIRED"},"stats.getMessagePublicForwards":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"stats.getMessageStats":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getBoostersList":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getPeerStories":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getStoriesByID":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PEER_ID_INVALID":"PEER_ID_INVALID","STORIES_NEVER_CREATED":"STORIES_NEVER_CREATED","STORY_ID_EMPTY":"STORY_ID_EMPTY"},"stories.getStoriesViews":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PEER_ID_INVALID":"PEER_ID_INVALID","STORY_ID_EMPTY":"STORY_ID_EMPTY"},"updates.getChannelDifference":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","FROM_MESSAGE_BOT_DISABLED":"FROM_MESSAGE_BOT_DISABLED","MSG_ID_INVALID":"MSG_ID_INVALID","PERSISTENT_TIMESTAMP_EMPTY":"PERSISTENT_TIMESTAMP_EMPTY","PERSISTENT_TIMESTAMP_INVALID":"PERSISTENT_TIMESTAMP_INVALID","PINNED_DIALOGS_TOO_MUCH":"PINNED_DIALOGS_TOO_MUCH","RANGES_INVALID":"RANGES_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"users.getFullUser":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID","USERNAME_OCCUPIED":"USERNAME_OCCUPIED"},"users.getUsers":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","FROM_MESSAGE_BOT_DISABLED":"FROM_MESSAGE_BOT_DISABLED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"account.reportPeer":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PEER_ID_INVALID":"PEER_ID_INVALID"},"channels.editCreator":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_ADMIN_PUBLIC_TOO_MUCH":"CHANNELS_ADMIN_PUBLIC_TOO_MUCH","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PASSWORD_HASH_INVALID":"PASSWORD_HASH_INVALID","PASSWORD_MISSING":"PASSWORD_MISSING","PASSWORD_TOO_FRESH_%d":"PASSWORD_TOO_FRESH_%d","SESSION_TOO_FRESH_%d":"SESSION_TOO_FRESH_%d","SRP_ID_INVALID":"SRP_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"channels.toggleUsername":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","USERNAME_INVALID":"USERNAME_INVALID","USERNAMES_ACTIVE_TOO_MUCH":"USERNAMES_ACTIVE_TOO_MUCH"},"contacts.addContact":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CONTACT_ID_INVALID":"CONTACT_ID_INVALID","CONTACT_NAME_EMPTY":"CONTACT_NAME_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID"},"contacts.block":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CONTACT_ID_INVALID":"CONTACT_ID_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"contacts.unblock":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CONTACT_ID_INVALID":"CONTACT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"folders.editPeerFolders":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","FOLDER_ID_INVALID":"FOLDER_ID_INVALID"},"messages.deleteHistory":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_REVOKE_DATE_UNSUPPORTED":"CHAT_REVOKE_DATE_UNSUPPORTED","MAX_DATE_INVALID":"MAX_DATE_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MIN_DATE_INVALID":"MIN_DATE_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.editExportedChatInvite":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_INVITE_PERMANENT":"CHAT_INVITE_PERMANENT","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","PEER_ID_INVALID":"PEER_ID_INVALID","USAGE_LIMIT_INVALID":"USAGE_LIMIT_INVALID"},"messages.getExportedChatInvite":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getOnlines":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.hideChatJoinRequest":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","HIDE_REQUESTER_MISSING":"HIDE_REQUESTER_MISSING","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ALREADY_PARTICIPANT":"USER_ALREADY_PARTICIPANT","USER_ID_INVALID":"USER_ID_INVALID"},"messages.readHistory":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.reportSpam":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.toggleDialogPin":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PEER_HISTORY_EMPTY":"PEER_HISTORY_EMPTY","PEER_ID_INVALID":"PEER_ID_INVALID","PINNED_DIALOGS_TOO_MUCH":"PINNED_DIALOGS_TOO_MUCH"},"phone.createGroupCall":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CREATE_CALL_FAILED":"CREATE_CALL_FAILED","PEER_ID_INVALID":"PEER_ID_INVALID","SCHEDULE_DATE_INVALID":"SCHEDULE_DATE_INVALID"},"channels.getAdminedPublicChannels":{"CHANNELS_ADMIN_LOCATED_TOO_MUCH":"CHANNELS_ADMIN_LOCATED_TOO_MUCH","CHANNELS_ADMIN_PUBLIC_TOO_MUCH":"CHANNELS_ADMIN_PUBLIC_TOO_MUCH"},"messages.migrateChat":{"CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"channels.editLocation":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","MEGAGROUP_GEO_REQUIRED":"MEGAGROUP_GEO_REQUIRED","MEGAGROUP_REQUIRED":"MEGAGROUP_REQUIRED"},"messages.checkHistoryImportPeer":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT"},"messages.deleteChat":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.deleteChatUser":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID","USER_NOT_PARTICIPANT":"USER_NOT_PARTICIPANT"},"messages.editChatTitle":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","CHAT_TITLE_EMPTY":"CHAT_TITLE_EMPTY","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getAdminsWithInvites":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getMessageEditData":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getScheduledHistory":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getScheduledMessages":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.initHistoryImport":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","IMPORT_FILE_INVALID":"IMPORT_FILE_INVALID","IMPORT_FORMAT_DATE_INVALID":"IMPORT_FORMAT_DATE_INVALID","IMPORT_FORMAT_UNRECOGNIZED":"IMPORT_FORMAT_UNRECOGNIZED","IMPORT_HISTORY_LOG_EMPTY":"IMPORT_HISTORY_LOG_EMPTY","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.setChatAvailableReactions":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.toggleNoForwards":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.unpinAllMessages":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.uploadImportedMedia":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"phone.getGroupCallStreamRtmpUrl":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"premium.getBoostsList":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getStoriesArchive":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"channels.toggleForum":{"CHAT_DISCUSSION_UNALLOWED":"CHAT_DISCUSSION_UNALLOWED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"messages.discardEncryption":{"CHAT_ID_EMPTY":"CHAT_ID_EMPTY","ENCRYPTION_ALREADY_ACCEPTED":"ENCRYPTION_ALREADY_ACCEPTED","ENCRYPTION_ALREADY_DECLINED":"ENCRYPTION_ALREADY_DECLINED","ENCRYPTION_ID_INVALID":"ENCRYPTION_ID_INVALID"},"channels.toggleParticipantsHidden":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PARTICIPANTS_TOO_FEW":"PARTICIPANTS_TOO_FEW"},"messages.acceptEncryption":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","ENCRYPTION_ALREADY_ACCEPTED":"ENCRYPTION_ALREADY_ACCEPTED","ENCRYPTION_ALREADY_DECLINED":"ENCRYPTION_ALREADY_DECLINED"},"messages.editChatAdmin":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID","USER_NOT_PARTICIPANT":"USER_NOT_PARTICIPANT"},"messages.editChatPhoto":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","PEER_ID_INVALID":"PEER_ID_INVALID","PHOTO_CROP_SIZE_SMALL":"PHOTO_CROP_SIZE_SMALL","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_INVALID":"PHOTO_INVALID"},"messages.forwardMessage":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.getChats":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getFullChat":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.readDiscussion":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.reportEncryptedSpam":{"CHAT_ID_INVALID":"CHAT_ID_INVALID"},"messages.sendEncrypted":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","DATA_INVALID":"DATA_INVALID","DATA_TOO_LONG":"DATA_TOO_LONG","ENCRYPTION_DECLINED":"ENCRYPTION_DECLINED","MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.sendEncryptedFile":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","DATA_TOO_LONG":"DATA_TOO_LONG","ENCRYPTION_DECLINED":"ENCRYPTION_DECLINED","FILE_EMTPY":"FILE_EMTPY","MD5_CHECKSUM_INVALID":"MD5_CHECKSUM_INVALID","MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.sendEncryptedService":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","DATA_INVALID":"DATA_INVALID","ENCRYPTION_DECLINED":"ENCRYPTION_DECLINED","ENCRYPTION_ID_INVALID":"ENCRYPTION_ID_INVALID","MSG_WAIT_FAILED":"MSG_WAIT_FAILED","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"messages.setEncryptedTyping":{"CHAT_ID_INVALID":"CHAT_ID_INVALID"},"messages.toggleChatAdmins":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"messages.updateDialogFilter":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","CHATLIST_EXCLUDE_INVALID":"CHATLIST_EXCLUDE_INVALID","FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_INCLUDE_EMPTY":"FILTER_INCLUDE_EMPTY","FILTER_TITLE_EMPTY":"FILTER_TITLE_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.createChat":{"CHAT_INVALID":"CHAT_INVALID","CHAT_TITLE_EMPTY":"CHAT_TITLE_EMPTY","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","TTL_PERIOD_INVALID":"TTL_PERIOD_INVALID","USERS_TOO_FEW":"USERS_TOO_FEW"},"channels.toggleAntiSpam":{"CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"messages.setHistoryTTL":{"CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","TTL_PERIOD_INVALID":"TTL_PERIOD_INVALID"},"messages.getMessageReadParticipants":{"CHAT_TOO_BIG":"CHAT_TOO_BIG","MSG_ID_INVALID":"MSG_ID_INVALID","MSG_TOO_OLD":"MSG_TOO_OLD","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getMessagesReadParticipants":{"CHAT_TOO_BIG":"CHAT_TOO_BIG","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID"},"account.deleteBusinessChatLink":{"CHATLINK_SLUG_EMPTY":"CHATLINK_SLUG_EMPTY"},"account.editBusinessChatLink":{"CHATLINK_SLUG_EMPTY":"CHATLINK_SLUG_EMPTY"},"account.resolveBusinessChatLink":{"CHATLINK_SLUG_EMPTY":"CHATLINK_SLUG_EMPTY"},"auth.recoverPassword":{"CODE_EMPTY":"CODE_EMPTY","NEW_SETTINGS_INVALID":"NEW_SETTINGS_INVALID"},"account.confirmPhone":{"CODE_HASH_INVALID":"CODE_HASH_INVALID","PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY"},"account.confirmPasswordEmail":{"CODE_INVALID":"CODE_INVALID","EMAIL_HASH_EXPIRED":"EMAIL_HASH_EXPIRED"},"fragment.getCollectibleInfo":{"COLLECTIBLE_INVALID":"COLLECTIBLE_INVALID","COLLECTIBLE_NOT_FOUND":"COLLECTIBLE_NOT_FOUND"},"account.updateColor":{"COLOR_INVALID":"COLOR_INVALID"},"help.getConfig":{"CONNECTION_API_ID_INVALID":"CONNECTION_API_ID_INVALID","CONNECTION_APP_VERSION_EMPTY":"CONNECTION_APP_VERSION_EMPTY","CONNECTION_LAYER_INVALID":"CONNECTION_LAYER_INVALID","DATA_INVALID":"DATA_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","USERNAME_INVALID":"USERNAME_INVALID"},"account.getBotBusinessConnection":{"CONNECTION_ID_INVALID":"CONNECTION_ID_INVALID"},"contacts.resolveUsername":{"CONNECTION_LAYER_INVALID":"CONNECTION_LAYER_INVALID","USERNAME_INVALID":"USERNAME_INVALID","USERNAME_NOT_OCCUPIED":"USERNAME_NOT_OCCUPIED"},"initConnection":{"CONNECTION_LAYER_INVALID":"CONNECTION_LAYER_INVALID"},"contacts.acceptContact":{"CONTACT_ADD_MISSING":"CONTACT_ADD_MISSING","CONTACT_ID_INVALID":"CONTACT_ID_INVALID","CONTACT_REQ_MISSING":"CONTACT_REQ_MISSING","MSG_ID_INVALID":"MSG_ID_INVALID"},"contacts.deleteContact":{"CONTACT_ID_INVALID":"CONTACT_ID_INVALID"},"photos.uploadContactProfilePhoto":{"CONTACT_MISSING":"CONTACT_MISSING","USER_ID_INVALID":"USER_ID_INVALID"},"payments.exportInvoice":{"CURRENCY_TOTAL_AMOUNT_INVALID":"CURRENCY_TOTAL_AMOUNT_INVALID","INVOICE_PAYLOAD_INVALID":"INVOICE_PAYLOAD_INVALID","MEDIA_INVALID":"MEDIA_INVALID","PAYMENT_PROVIDER_INVALID":"PAYMENT_PROVIDER_INVALID"},"bots.answerWebhookJSONQuery":{"DATA_JSON_INVALID":"DATA_JSON_INVALID","QUERY_ID_INVALID":"QUERY_ID_INVALID","USER_BOT_INVALID":"USER_BOT_INVALID"},"bots.sendCustomRequest":{"DATA_JSON_INVALID":"DATA_JSON_INVALID","METHOD_INVALID":"METHOD_INVALID","USER_BOT_INVALID":"USER_BOT_INVALID"},"help.acceptTermsOfService":{"DATA_JSON_INVALID":"DATA_JSON_INVALID"},"phone.joinGroupCall":{"DATA_JSON_INVALID":"DATA_JSON_INVALID","GROUPCALL_INVALID":"GROUPCALL_INVALID","GROUPCALL_SSRC_DUPLICATE_MUCH":"GROUPCALL_SSRC_DUPLICATE_MUCH","JOIN_AS_PEER_INVALID":"JOIN_AS_PEER_INVALID"},"auth.exportAuthorization":{"DC_ID_INVALID":"DC_ID_INVALID"},"messages.requestEncryption":{"DH_G_A_INVALID":"DH_G_A_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","USER_ID_INVALID":"USER_ID_INVALID"},"account.updateEmojiStatus":{"DOCUMENT_INVALID":"DOCUMENT_INVALID"},"upload.getWebFile":{"DOCUMENT_INVALID":"DOCUMENT_INVALID","LOCATION_INVALID":"LOCATION_INVALID"},"account.cancelPasswordEmail":{"EMAIL_HASH_EXPIRED":"EMAIL_HASH_EXPIRED"},"account.resendPasswordEmail":{"EMAIL_HASH_EXPIRED":"EMAIL_HASH_EXPIRED"},"account.sendVerifyEmailCode":{"EMAIL_INVALID":"EMAIL_INVALID","EMAIL_NOT_SETUP":"EMAIL_NOT_SETUP","PHONE_HASH_EXPIRED":"PHONE_HASH_EXPIRED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"account.updatePasswordSettings":{"EMAIL_INVALID":"EMAIL_INVALID","EMAIL_UNCONFIRMED":"EMAIL_UNCONFIRMED","EMAIL_UNCONFIRMED_%d":"EMAIL_UNCONFIRMED_%d","NEW_SALT_INVALID":"NEW_SALT_INVALID","NEW_SETTINGS_EMPTY":"NEW_SETTINGS_EMPTY","NEW_SETTINGS_INVALID":"NEW_SETTINGS_INVALID","PASSWORD_HASH_INVALID":"PASSWORD_HASH_INVALID","SRP_ID_INVALID":"SRP_ID_INVALID","SRP_PASSWORD_CHANGED":"SRP_PASSWORD_CHANGED"},"account.verifyEmail":{"EMAIL_INVALID":"EMAIL_INVALID","EMAIL_VERIFY_EXPIRED":"EMAIL_VERIFY_EXPIRED"},"messages.setChatTheme":{"EMOJI_INVALID":"EMOJI_INVALID","EMOJI_NOT_MODIFIED":"EMOJI_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getStickers":{"EMOTICON_EMPTY":"EMOTICON_EMPTY"},"messages.searchCustomEmoji":{"EMOTICON_EMPTY":"EMOTICON_EMPTY"},"messages.getStickerSet":{"EMOTICON_STICKERPACK_MISSING":"EMOTICON_STICKERPACK_MISSING","STICKERSET_INVALID":"STICKERSET_INVALID"},"auth.bindTempAuthKey":{"ENCRYPTED_MESSAGE_INVALID":"ENCRYPTED_MESSAGE_INVALID","TEMP_AUTH_KEY_ALREADY_BOUND":"TEMP_AUTH_KEY_ALREADY_BOUND","TEMP_AUTH_KEY_EMPTY":"TEMP_AUTH_KEY_EMPTY"},"help.editUserInfo":{"ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","USER_INVALID":"USER_INVALID"},"messages.getWebPagePreview":{"ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","MESSAGE_EMPTY":"MESSAGE_EMPTY"},"messages.saveDraft":{"ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.setBotPrecheckoutResults":{"ERROR_TEXT_EMPTY":"ERROR_TEXT_EMPTY"},"contacts.importCard":{"EXPORT_CARD_INVALID":"EXPORT_CARD_INVALID"},"upload.saveBigFilePart":{"FILE_PART_EMPTY":"FILE_PART_EMPTY","FILE_PART_INVALID":"FILE_PART_INVALID","FILE_PART_SIZE_CHANGED":"FILE_PART_SIZE_CHANGED","FILE_PART_SIZE_INVALID":"FILE_PART_SIZE_INVALID","FILE_PART_TOO_BIG":"FILE_PART_TOO_BIG","FILE_PARTS_INVALID":"FILE_PARTS_INVALID"},"upload.saveFilePart":{"FILE_PART_EMPTY":"FILE_PART_EMPTY","FILE_PART_INVALID":"FILE_PART_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID"},"upload.getCdnFile":{"FILE_TOKEN_INVALID":"FILE_TOKEN_INVALID"},"chatlists.deleteExportedInvite":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"chatlists.editExportedInvite":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"chatlists.exportChatlistInvite":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED","INVITES_TOO_MUCH":"INVITES_TOO_MUCH","PEERS_LIST_EMPTY":"PEERS_LIST_EMPTY"},"chatlists.getChatlistUpdates":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED","INPUT_CHATLIST_INVALID":"INPUT_CHATLIST_INVALID"},"chatlists.getLeaveChatlistSuggestions":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"chatlists.hideChatlistUpdates":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"chatlists.joinChatlistUpdates":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_INCLUDE_EMPTY":"FILTER_INCLUDE_EMPTY"},"chatlists.joinChatlistInvite":{"FILTER_INCLUDE_EMPTY":"FILTER_INCLUDE_EMPTY","INVITE_SLUG_EMPTY":"INVITE_SLUG_EMPTY","INVITE_SLUG_EXPIRED":"INVITE_SLUG_EXPIRED"},"messages.getSearchResultsCalendar":{"FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"messages.searchSentMedia":{"FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"auth.signUp":{"FIRSTNAME_INVALID":"FIRSTNAME_INVALID","LASTNAME_INVALID":"LASTNAME_INVALID","PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_CODE_INVALID":"PHONE_CODE_INVALID","PHONE_NUMBER_FLOOD":"PHONE_NUMBER_FLOOD","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_NUMBER_OCCUPIED":"PHONE_NUMBER_OCCUPIED"},"folders.deleteFolder":{"FOLDER_ID_EMPTY":"FOLDER_ID_EMPTY","FOLDER_ID_INVALID":"FOLDER_ID_INVALID"},"messages.getDialogs":{"FOLDER_ID_INVALID":"FOLDER_ID_INVALID","OFFSET_PEER_ID_INVALID":"OFFSET_PEER_ID_INVALID"},"messages.getPinnedDialogs":{"FOLDER_ID_INVALID":"FOLDER_ID_INVALID"},"messages.searchGlobal":{"FOLDER_ID_INVALID":"FOLDER_ID_INVALID","INPUT_FILTER_INVALID":"INPUT_FILTER_INVALID","SEARCH_QUERY_EMPTY":"SEARCH_QUERY_EMPTY"},"contacts.getLocated":{"GEO_POINT_INVALID":"GEO_POINT_INVALID","USERPIC_UPLOAD_REQUIRED":"USERPIC_UPLOAD_REQUIRED"},"messages.saveGif":{"GIF_ID_INVALID":"GIF_ID_INVALID"},"payments.applyGiftCode":{"GIFT_SLUG_EXPIRED":"GIFT_SLUG_EXPIRED","GIFT_SLUG_INVALID":"GIFT_SLUG_INVALID"},"payments.checkGiftCode":{"GIFT_SLUG_EXPIRED":"GIFT_SLUG_EXPIRED","GIFT_SLUG_INVALID":"GIFT_SLUG_INVALID"},"stats.loadAsyncGraph":{"GRAPH_EXPIRED_RELOAD":"GRAPH_EXPIRED_RELOAD","GRAPH_INVALID_RELOAD":"GRAPH_INVALID_RELOAD","GRAPH_OUTDATED_RELOAD":"GRAPH_OUTDATED_RELOAD"},"phone.discardGroupCall":{"GROUPCALL_ALREADY_DISCARDED":"GROUPCALL_ALREADY_DISCARDED","GROUPCALL_INVALID":"GROUPCALL_INVALID"},"phone.discardGroupCallRequest":{"GROUPCALL_ALREADY_DISCARDED":"GROUPCALL_ALREADY_DISCARDED"},"phone.editGroupCallParticipant":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN","PARTICIPANT_JOIN_MISSING":"PARTICIPANT_JOIN_MISSING","RAISE_HAND_FORBIDDEN":"RAISE_HAND_FORBIDDEN","USER_VOLUME_INVALID":"USER_VOLUME_INVALID","VIDEO_PAUSE_FORBIDDEN":"VIDEO_PAUSE_FORBIDDEN","VIDEO_STOP_FORBIDDEN":"VIDEO_STOP_FORBIDDEN"},"phone.editGroupCallTitle":{"GROUPCALL_INVALID":"GROUPCALL_INVALID"},"phone.getGroupCall":{"GROUPCALL_INVALID":"GROUPCALL_INVALID"},"phone.getGroupCallStreamChannels":{"GROUPCALL_INVALID":"GROUPCALL_INVALID","GROUPCALL_JOIN_MISSING":"GROUPCALL_JOIN_MISSING"},"phone.inviteToGroupCall":{"GROUPCALL_INVALID":"GROUPCALL_INVALID","INVITE_FORBIDDEN_WITH_JOINAS":"INVITE_FORBIDDEN_WITH_JOINAS","USER_ALREADY_INVITED":"USER_ALREADY_INVITED"},"phone.toggleGroupCallRecord":{"GROUPCALL_INVALID":"GROUPCALL_INVALID","GROUPCALL_NOT_MODIFIED":"GROUPCALL_NOT_MODIFIED"},"phone.checkGroupCall":{"GROUPCALL_JOIN_MISSING":"GROUPCALL_JOIN_MISSING"},"phone.toggleGroupCallSettings":{"GROUPCALL_NOT_MODIFIED":"GROUPCALL_NOT_MODIFIED"},"account.changeAuthorizationSettings":{"HASH_INVALID":"HASH_INVALID"},"account.resetAuthorization":{"HASH_INVALID":"HASH_INVALID"},"account.resetWebAuthorization":{"HASH_INVALID":"HASH_INVALID"},"account.sendConfirmPhoneCode":{"HASH_INVALID":"HASH_INVALID"},"messages.checkHistoryImport":{"IMPORT_FORMAT_UNRECOGNIZED":"IMPORT_FORMAT_UNRECOGNIZED"},"messages.startHistoryImport":{"IMPORT_ID_INVALID":"IMPORT_ID_INVALID"},"contacts.importContactToken":{"IMPORT_TOKEN_INVALID":"IMPORT_TOKEN_INVALID"},"messages.translateText":{"INPUT_TEXT_EMPTY":"INPUT_TEXT_EMPTY","INPUT_TEXT_TOO_LONG":"INPUT_TEXT_TOO_LONG","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","TO_LANG_INVALID":"TO_LANG_INVALID","TRANSLATE_REQ_QUOTA_EXCEEDED":"TRANSLATE_REQ_QUOTA_EXCEEDED"},"messages.sendScreenshotNotification":{"INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","PEER_ID_INVALID":"PEER_ID_INVALID","REPLY_MESSAGE_ID_INVALID":"REPLY_MESSAGE_ID_INVALID","STORY_ID_INVALID":"STORY_ID_INVALID","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.checkChatInvite":{"INVITE_HASH_EMPTY":"INVITE_HASH_EMPTY","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","INVITE_HASH_INVALID":"INVITE_HASH_INVALID"},"messages.deleteExportedChatInvite":{"INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","INVITE_REVOKED_MISSING":"INVITE_REVOKED_MISSING","PEER_ID_INVALID":"PEER_ID_INVALID"},"chatlists.checkChatlistInvite":{"INVITE_SLUG_EMPTY":"INVITE_SLUG_EMPTY","INVITE_SLUG_EXPIRED":"INVITE_SLUG_EXPIRED"},"phone.saveDefaultGroupCallJoinAs":{"JOIN_AS_PEER_INVALID":"JOIN_AS_PEER_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"bots.resetBotCommands":{"LANG_CODE_INVALID":"LANG_CODE_INVALID"},"langpack.getLangPack":{"LANG_CODE_NOT_SUPPORTED":"LANG_CODE_NOT_SUPPORTED","LANG_PACK_INVALID":"LANG_PACK_INVALID"},"langpack.getLanguage":{"LANG_CODE_NOT_SUPPORTED":"LANG_CODE_NOT_SUPPORTED","LANG_PACK_INVALID":"LANG_PACK_INVALID"},"langpack.getStrings":{"LANG_CODE_NOT_SUPPORTED":"LANG_CODE_NOT_SUPPORTED","LANG_PACK_INVALID":"LANG_PACK_INVALID"},"langpack.getDifference":{"LANG_PACK_INVALID":"LANG_PACK_INVALID"},"langpack.getLanguages":{"LANG_PACK_INVALID":"LANG_PACK_INVALID"},"upload.getFileHashes":{"LOCATION_INVALID":"LOCATION_INVALID"},"messages.readEncryptedHistory":{"MAX_DATE_INVALID":"MAX_DATE_INVALID","MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"photos.getUserPhotos":{"MAX_ID_INVALID":"MAX_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"stories.readStories":{"MAX_ID_INVALID":"MAX_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","STORIES_NEVER_CREATED":"STORIES_NEVER_CREATED"},"messages.receivedQueue":{"MAX_QTS_INVALID":"MAX_QTS_INVALID","MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"auth.sendInvites":{"MESSAGE_EMPTY":"MESSAGE_EMPTY"},"messages.deleteMessages":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID"},"messages.getGameHighScores":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"messages.getInlineGameHighScores":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"messages.getOutboxReadDate":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MESSAGE_TOO_OLD":"MESSAGE_TOO_OLD","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getPollResults":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.sendScheduledMessages":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.setInlineGameScore":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"payments.getPaymentReceipt":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID"},"payments.sendPaymentForm":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID"},"payments.validateRequestedInfo":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID"},"messages.setBotCallbackAnswer":{"MESSAGE_TOO_LONG":"MESSAGE_TOO_LONG","QUERY_ID_INVALID":"QUERY_ID_INVALID","URL_INVALID":"URL_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"messages.searchGifs":{"METHOD_INVALID":"METHOD_INVALID","SEARCH_QUERY_EMPTY":"SEARCH_QUERY_EMPTY"},"contacts.blockFromReplies":{"MSG_ID_INVALID":"MSG_ID_INVALID"},"messages.getCommonChats":{"MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"messages.getMessageReactionsList":{"MSG_ID_INVALID":"MSG_ID_INVALID"},"messages.getPollVotes":{"MSG_ID_INVALID":"MSG_ID_INVALID"},"messages.reportReaction":{"MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"smsjobs.join":{"NOT_ELIGIBLE":"NOT_ELIGIBLE"},"smsjobs.getStatus":{"NOT_JOINED":"NOT_JOINED"},"smsjobs.leave":{"NOT_JOINED":"NOT_JOINED"},"smsjobs.updateSettings":{"NOT_JOINED":"NOT_JOINED"},"account.reorderUsernames":{"ORDER_INVALID":"ORDER_INVALID"},"stickers.createStickerSet":{"PACK_SHORT_NAME_INVALID":"PACK_SHORT_NAME_INVALID","PACK_SHORT_NAME_OCCUPIED":"PACK_SHORT_NAME_OCCUPIED","PACK_TITLE_INVALID":"PACK_TITLE_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","STICKER_EMOJI_INVALID":"STICKER_EMOJI_INVALID","STICKER_FILE_INVALID":"STICKER_FILE_INVALID","STICKER_GIF_DIMENSIONS":"STICKER_GIF_DIMENSIONS","STICKER_PNG_DIMENSIONS":"STICKER_PNG_DIMENSIONS","STICKER_PNG_NOPNG":"STICKER_PNG_NOPNG","STICKER_TGS_NODOC":"STICKER_TGS_NODOC","STICKER_TGS_NOTGS":"STICKER_TGS_NOTGS","STICKER_THUMB_PNG_NOPNG":"STICKER_THUMB_PNG_NOPNG","STICKER_THUMB_TGS_NOTGS":"STICKER_THUMB_TGS_NOTGS","STICKER_VIDEO_BIG":"STICKER_VIDEO_BIG","STICKER_VIDEO_NODOC":"STICKER_VIDEO_NODOC","STICKER_VIDEO_NOWEBM":"STICKER_VIDEO_NOWEBM","STICKERS_EMPTY":"STICKERS_EMPTY","USER_ID_INVALID":"USER_ID_INVALID"},"phone.joinGroupCallPresentation":{"PARTICIPANT_JOIN_MISSING":"PARTICIPANT_JOIN_MISSING"},"account.resetPassword":{"PASSWORD_EMPTY":"PASSWORD_EMPTY"},"auth.requestPasswordRecovery":{"PASSWORD_EMPTY":"PASSWORD_EMPTY","PASSWORD_RECOVERY_NA":"PASSWORD_RECOVERY_NA"},"account.getPasswordSettings":{"PASSWORD_HASH_INVALID":"PASSWORD_HASH_INVALID"},"account.getTmpPassword":{"PASSWORD_HASH_INVALID":"PASSWORD_HASH_INVALID","TMP_PASSWORD_DISABLED":"TMP_PASSWORD_DISABLED"},"auth.checkPassword":{"PASSWORD_HASH_INVALID":"PASSWORD_HASH_INVALID","SRP_ID_INVALID":"SRP_ID_INVALID","SRP_PASSWORD_CHANGED":"SRP_PASSWORD_CHANGED"},"auth.checkRecoveryPassword":{"PASSWORD_RECOVERY_EXPIRED":"PASSWORD_RECOVERY_EXPIRED"},"account.saveSecureValue":{"PASSWORD_REQUIRED":"PASSWORD_REQUIRED"},"account.getNotifySettings":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"account.reportProfilePhoto":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"account.saveAutoSaveSettings":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"contacts.resetTopPeerRating":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.deleteSavedHistory":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.deleteScheduledMessages":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getSavedHistory":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getSearchCounters":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getStatsURL":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getUnreadReactions":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.hideReportSpam":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.markDialogUnread":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.readReactions":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.reorderPinnedDialogs":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.saveDefaultSendAs":{"PEER_ID_INVALID":"PEER_ID_INVALID","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID"},"messages.setChatWallPaper":{"PEER_ID_INVALID":"PEER_ID_INVALID","WALLPAPER_INVALID":"WALLPAPER_INVALID","WALLPAPER_NOT_FOUND":"WALLPAPER_NOT_FOUND"},"messages.toggleSavedDialogPin":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.transcribeAudio":{"PEER_ID_INVALID":"PEER_ID_INVALID","TRANSCRIPTION_FAILED":"TRANSCRIPTION_FAILED"},"payments.getGiveawayInfo":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"payments.launchPrepaidGiveaway":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"phone.getGroupCallJoinAs":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"premium.getBoostsStatus":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"premium.getUserBoosts":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stats.getStoryPublicForwards":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stats.getStoryStats":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.deleteStories":{"PEER_ID_INVALID":"PEER_ID_INVALID","STORY_ID_EMPTY":"STORY_ID_EMPTY"},"stories.editStory":{"PEER_ID_INVALID":"PEER_ID_INVALID","STORY_NOT_MODIFIED":"STORY_NOT_MODIFIED"},"stories.exportStoryLink":{"PEER_ID_INVALID":"PEER_ID_INVALID","STORY_ID_EMPTY":"STORY_ID_EMPTY","USER_PUBLIC_MISSING":"USER_PUBLIC_MISSING"},"stories.getBoostsStatus":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getPinnedStories":{"PEER_ID_INVALID":"PEER_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"stories.getStoryReactionsList":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getStoryViewsList":{"PEER_ID_INVALID":"PEER_ID_INVALID","STORY_ID_INVALID":"STORY_ID_INVALID"},"stories.incrementStoryViews":{"PEER_ID_INVALID":"PEER_ID_INVALID","STORY_ID_EMPTY":"STORY_ID_EMPTY"},"stories.report":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.sendReaction":{"PEER_ID_INVALID":"PEER_ID_INVALID","REACTION_INVALID":"REACTION_INVALID","STORY_ID_EMPTY":"STORY_ID_EMPTY","STORY_ID_INVALID":"STORY_ID_INVALID"},"stories.togglePeerStoriesHidden":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.togglePinned":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"account.changePhone":{"PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_NUMBER_OCCUPIED":"PHONE_NUMBER_OCCUPIED"},"account.verifyPhone":{"PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.requestFirebaseSms":{"PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.resendCode":{"PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_CODE_HASH_EMPTY":"PHONE_CODE_HASH_EMPTY","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.signIn":{"PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_CODE_INVALID":"PHONE_CODE_INVALID","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_NUMBER_UNOCCUPIED":"PHONE_NUMBER_UNOCCUPIED"},"auth.cancelCode":{"PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"contacts.resolvePhone":{"PHONE_NOT_OCCUPIED":"PHONE_NOT_OCCUPIED"},"account.sendChangePhoneCode":{"PHONE_NUMBER_BANNED":"PHONE_NUMBER_BANNED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_NUMBER_OCCUPIED":"PHONE_NUMBER_OCCUPIED"},"auth.checkPhone":{"PHONE_NUMBER_BANNED":"PHONE_NUMBER_BANNED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"account.sendVerifyPhoneCode":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.resetLoginEmail":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","TASK_ALREADY_EXISTS":"TASK_ALREADY_EXISTS"},"account.getPrivacy":{"PRIVACY_KEY_INVALID":"PRIVACY_KEY_INVALID"},"account.setPrivacy":{"PRIVACY_KEY_INVALID":"PRIVACY_KEY_INVALID","PRIVACY_TOO_LONG":"PRIVACY_TOO_LONG","PRIVACY_VALUE_INVALID":"PRIVACY_VALUE_INVALID"},"account.acceptAuthorization":{"PUBLIC_KEY_REQUIRED":"PUBLIC_KEY_REQUIRED"},"account.getAuthorizationForm":{"PUBLIC_KEY_REQUIRED":"PUBLIC_KEY_REQUIRED"},"messages.sendWebViewResultMessage":{"QUERY_ID_INVALID":"QUERY_ID_INVALID"},"messages.setBotShippingResults":{"QUERY_ID_INVALID":"QUERY_ID_INVALID"},"contacts.search":{"QUERY_TOO_SHORT":"QUERY_TOO_SHORT","SEARCH_QUERY_EMPTY":"SEARCH_QUERY_EMPTY"},"messages.getDhConfig":{"RANDOM_LENGTH_INVALID":"RANDOM_LENGTH_INVALID"},"messages.setDefaultReaction":{"REACTION_INVALID":"REACTION_INVALID"},"messages.updateSavedReactionTag":{"REACTION_INVALID":"REACTION_INVALID"},"account.declinePasswordReset":{"RESET_REQUEST_MISSING":"RESET_REQUEST_MISSING"},"bots.setBotBroadcastDefaultAdminRights":{"RIGHTS_NOT_MODIFIED":"RIGHTS_NOT_MODIFIED"},"bots.setBotGroupDefaultAdminRights":{"RIGHTS_NOT_MODIFIED":"RIGHTS_NOT_MODIFIED","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"messages.getDocumentByHash":{"SHA256_HASH_INVALID":"SHA256_HASH_INVALID"},"stickers.checkShortName":{"SHORT_NAME_INVALID":"SHORT_NAME_INVALID","SHORT_NAME_OCCUPIED":"SHORT_NAME_OCCUPIED"},"messages.deleteQuickReplyMessages":{"SHORTCUT_INVALID":"SHORTCUT_INVALID"},"messages.deleteQuickReplyShortcut":{"SHORTCUT_INVALID":"SHORTCUT_INVALID"},"messages.editQuickReplyShortcut":{"SHORTCUT_INVALID":"SHORTCUT_INVALID"},"messages.getQuickReplyMessages":{"SHORTCUT_INVALID":"SHORTCUT_INVALID"},"smsjobs.finishJob":{"SMSJOB_ID_INVALID":"SMSJOB_ID_INVALID"},"smsjobs.getSmsJob":{"SMSJOB_ID_INVALID":"SMSJOB_ID_INVALID"},"messages.faveSticker":{"STICKER_ID_INVALID":"STICKER_ID_INVALID"},"messages.saveRecentSticker":{"STICKER_ID_INVALID":"STICKER_ID_INVALID"},"stickers.changeStickerPosition":{"STICKER_INVALID":"STICKER_INVALID"},"stickers.setStickerSetThumb":{"STICKER_THUMB_PNG_NOPNG":"STICKER_THUMB_PNG_NOPNG","STICKER_THUMB_TGS_NOTGS":"STICKER_THUMB_TGS_NOTGS","STICKERSET_INVALID":"STICKERSET_INVALID"},"messages.installStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"messages.uninstallStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"stickers.renameStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"contacts.getSaved":{"TAKEOUT_INVALID":"TAKEOUT_INVALID","TAKEOUT_REQUIRED":"TAKEOUT_REQUIRED"},"account.uploadTheme":{"THEME_FILE_INVALID":"THEME_FILE_INVALID"},"account.getTheme":{"THEME_FORMAT_INVALID":"THEME_FORMAT_INVALID","THEME_INVALID":"THEME_INVALID"},"account.updateTheme":{"THEME_INVALID":"THEME_INVALID"},"account.createTheme":{"THEME_MIME_INVALID":"THEME_MIME_INVALID","THEME_TITLE_INVALID":"THEME_TITLE_INVALID"},"stickers.suggestShortName":{"TITLE_INVALID":"TITLE_INVALID"},"account.registerDevice":{"TOKEN_EMPTY":"TOKEN_EMPTY","TOKEN_INVALID":"TOKEN_INVALID","TOKEN_TYPE_INVALID":"TOKEN_TYPE_INVALID","WEBPUSH_AUTH_INVALID":"WEBPUSH_AUTH_INVALID","WEBPUSH_KEY_INVALID":"WEBPUSH_KEY_INVALID","WEBPUSH_TOKEN_INVALID":"WEBPUSH_TOKEN_INVALID"},"account.unregisterDevice":{"TOKEN_INVALID":"TOKEN_INVALID"},"channels.updatePinnedForumTopic":{"TOPIC_ID_INVALID":"TOPIC_ID_INVALID"},"account.setAccountTTL":{"TTL_DAYS_INVALID":"TTL_DAYS_INVALID"},"account.setAuthorizationTTL":{"TTL_DAYS_INVALID":"TTL_DAYS_INVALID"},"messages.setDefaultHistoryTTL":{"TTL_PERIOD_INVALID":"TTL_PERIOD_INVALID"},"contacts.getTopPeers":{"TYPES_EMPTY":"TYPES_EMPTY"},"bots.getBotCommands":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"bots.setBotInfo":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"bots.getBotMenuButton":{"USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"users.setSecureValueErrors":{"USER_BOT_REQUIRED":"USER_BOT_REQUIRED","USER_ID_INVALID":"USER_ID_INVALID"},"stories.getUserStories":{"USER_ID_INVALID":"USER_ID_INVALID"},"help.getSupportName":{"USER_INVALID":"USER_INVALID"},"help.getUserInfo":{"USER_INVALID":"USER_INVALID"},"account.checkUsername":{"USERNAME_INVALID":"USERNAME_INVALID","USERNAME_OCCUPIED":"USERNAME_OCCUPIED","USERNAME_PURCHASE_AVAILABLE":"USERNAME_PURCHASE_AVAILABLE"},"account.toggleUsername":{"USERNAME_INVALID":"USERNAME_INVALID","USERNAMES_ACTIVE_TOO_MUCH":"USERNAMES_ACTIVE_TOO_MUCH"},"account.updateUsername":{"USERNAME_INVALID":"USERNAME_INVALID","USERNAME_NOT_MODIFIED":"USERNAME_NOT_MODIFIED","USERNAME_OCCUPIED":"USERNAME_OCCUPIED","USERNAME_PURCHASE_AVAILABLE":"USERNAME_PURCHASE_AVAILABLE"},"account.uploadWallPaper":{"WALLPAPER_FILE_INVALID":"WALLPAPER_FILE_INVALID","WALLPAPER_MIME_INVALID":"WALLPAPER_MIME_INVALID"},"account.getMultiWallPapers":{"WALLPAPER_INVALID":"WALLPAPER_INVALID"},"account.getWallPaper":{"WALLPAPER_INVALID":"WALLPAPER_INVALID"},"account.installWallPaper":{"WALLPAPER_INVALID":"WALLPAPER_INVALID"},"account.saveWallPaper":{"WALLPAPER_INVALID":"WALLPAPER_INVALID"},"messages.getWebPage":{"WC_CONVERT_URL_INVALID":"WC_CONVERT_URL_INVALID"}},"403":{"messages.sendReaction":{"ANONYMOUS_REACTIONS_DISABLED":"ANONYMOUS_REACTIONS_DISABLED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED"},"messages.getMessageReactionsList":{"BROADCAST_FORBIDDEN":"BROADCAST_FORBIDDEN"},"messages.getPollVotes":{"BROADCAST_FORBIDDEN":"BROADCAST_FORBIDDEN","POLL_VOTE_REQUIRED":"POLL_VOTE_REQUIRED"},"channels.getFullChannel":{"CHANNEL_PUBLIC_GROUP_NA":"CHANNEL_PUBLIC_GROUP_NA"},"channels.leaveChannel":{"CHANNEL_PUBLIC_GROUP_NA":"CHANNEL_PUBLIC_GROUP_NA"},"updates.getChannelDifference":{"CHANNEL_PUBLIC_GROUP_NA":"CHANNEL_PUBLIC_GROUP_NA","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.editAdmin":{"CHAT_ADMIN_INVITE_REQUIRED":"CHAT_ADMIN_INVITE_REQUIRED","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","RIGHT_FORBIDDEN":"RIGHT_FORBIDDEN","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USER_PRIVACY_RESTRICTED":"USER_PRIVACY_RESTRICTED","USER_RESTRICTED":"USER_RESTRICTED"},"channels.deleteUserHistory":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.editBanned":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.editForumTopic":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"channels.editPhoto":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.editTitle":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.getAdminLog":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.getParticipant":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"channels.getParticipants":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"channels.inviteToChannel":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USER_PRIVACY_RESTRICTED":"USER_PRIVACY_RESTRICTED"},"channels.updateUsername":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.addChatUser":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USER_PRIVACY_RESTRICTED":"USER_PRIVACY_RESTRICTED"},"messages.editMessage":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_SEND_GIFS_FORBIDDEN":"CHAT_SEND_GIFS_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","INLINE_BOT_REQUIRED":"INLINE_BOT_REQUIRED","MESSAGE_AUTHOR_REQUIRED":"MESSAGE_AUTHOR_REQUIRED"},"messages.forwardMessages":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_GUEST_SEND_FORBIDDEN":"CHAT_GUEST_SEND_FORBIDDEN","CHAT_SEND_AUDIOS_FORBIDDEN":"CHAT_SEND_AUDIOS_FORBIDDEN","CHAT_SEND_DOCS_FORBIDDEN":"CHAT_SEND_DOCS_FORBIDDEN","CHAT_SEND_GAME_FORBIDDEN":"CHAT_SEND_GAME_FORBIDDEN","CHAT_SEND_GIFS_FORBIDDEN":"CHAT_SEND_GIFS_FORBIDDEN","CHAT_SEND_MEDIA_FORBIDDEN":"CHAT_SEND_MEDIA_FORBIDDEN","CHAT_SEND_PHOTOS_FORBIDDEN":"CHAT_SEND_PHOTOS_FORBIDDEN","CHAT_SEND_PLAIN_FORBIDDEN":"CHAT_SEND_PLAIN_FORBIDDEN","CHAT_SEND_POLL_FORBIDDEN":"CHAT_SEND_POLL_FORBIDDEN","CHAT_SEND_STICKERS_FORBIDDEN":"CHAT_SEND_STICKERS_FORBIDDEN","CHAT_SEND_VIDEOS_FORBIDDEN":"CHAT_SEND_VIDEOS_FORBIDDEN","CHAT_SEND_VOICES_FORBIDDEN":"CHAT_SEND_VOICES_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED","USER_IS_BLOCKED":"USER_IS_BLOCKED","VOICE_MESSAGES_FORBIDDEN":"VOICE_MESSAGES_FORBIDDEN"},"messages.migrateChat":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"messages.search":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"messages.sendMedia":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_GUEST_SEND_FORBIDDEN":"CHAT_GUEST_SEND_FORBIDDEN","CHAT_SEND_AUDIOS_FORBIDDEN":"CHAT_SEND_AUDIOS_FORBIDDEN","CHAT_SEND_DOCS_FORBIDDEN":"CHAT_SEND_DOCS_FORBIDDEN","CHAT_SEND_GIFS_FORBIDDEN":"CHAT_SEND_GIFS_FORBIDDEN","CHAT_SEND_MEDIA_FORBIDDEN":"CHAT_SEND_MEDIA_FORBIDDEN","CHAT_SEND_PHOTOS_FORBIDDEN":"CHAT_SEND_PHOTOS_FORBIDDEN","CHAT_SEND_PLAIN_FORBIDDEN":"CHAT_SEND_PLAIN_FORBIDDEN","CHAT_SEND_POLL_FORBIDDEN":"CHAT_SEND_POLL_FORBIDDEN","CHAT_SEND_ROUNDVIDEOS_FORBIDDEN":"CHAT_SEND_ROUNDVIDEOS_FORBIDDEN","CHAT_SEND_STICKERS_FORBIDDEN":"CHAT_SEND_STICKERS_FORBIDDEN","CHAT_SEND_VIDEOS_FORBIDDEN":"CHAT_SEND_VIDEOS_FORBIDDEN","CHAT_SEND_VOICES_FORBIDDEN":"CHAT_SEND_VOICES_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED","PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"messages.sendMessage":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_GUEST_SEND_FORBIDDEN":"CHAT_GUEST_SEND_FORBIDDEN","CHAT_SEND_PLAIN_FORBIDDEN":"CHAT_SEND_PLAIN_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"stats.getBroadcastStats":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"stats.getMegagroupStats":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"messages.sendInlineBotResult":{"CHAT_GUEST_SEND_FORBIDDEN":"CHAT_GUEST_SEND_FORBIDDEN","CHAT_SEND_AUDIOS_FORBIDDEN":"CHAT_SEND_AUDIOS_FORBIDDEN","CHAT_SEND_GAME_FORBIDDEN":"CHAT_SEND_GAME_FORBIDDEN","CHAT_SEND_GIFS_FORBIDDEN":"CHAT_SEND_GIFS_FORBIDDEN","CHAT_SEND_INLINE_FORBIDDEN":"CHAT_SEND_INLINE_FORBIDDEN","CHAT_SEND_MEDIA_FORBIDDEN":"CHAT_SEND_MEDIA_FORBIDDEN","CHAT_SEND_PHOTOS_FORBIDDEN":"CHAT_SEND_PHOTOS_FORBIDDEN","CHAT_SEND_PLAIN_FORBIDDEN":"CHAT_SEND_PLAIN_FORBIDDEN","CHAT_SEND_STICKERS_FORBIDDEN":"CHAT_SEND_STICKERS_FORBIDDEN","CHAT_SEND_VOICES_FORBIDDEN":"CHAT_SEND_VOICES_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.sendMultiMedia":{"CHAT_SEND_MEDIA_FORBIDDEN":"CHAT_SEND_MEDIA_FORBIDDEN","CHAT_SEND_PHOTOS_FORBIDDEN":"CHAT_SEND_PHOTOS_FORBIDDEN","CHAT_SEND_VIDEOS_FORBIDDEN":"CHAT_SEND_VIDEOS_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.convertToGigagroup":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.createForumTopic":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED"},"channels.deleteChannel":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.deleteParticipantHistory":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.editCreator":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.setDiscussionGroup":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"invokeWithLayer":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.editChatAbout":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.editChatDefaultBannedRights":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.editExportedChatInvite":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","EDIT_BOT_INVITE_FORBIDDEN":"EDIT_BOT_INVITE_FORBIDDEN"},"messages.exportChatInvite":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getAdminsWithInvites":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getChatInviteImporters":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getDialogs":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getExportedChatInvite":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getExportedChatInvites":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getMessageEditData":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","MESSAGE_AUTHOR_REQUIRED":"MESSAGE_AUTHOR_REQUIRED"},"messages.hideAllChatJoinRequests":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.hideChatJoinRequest":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH"},"messages.setTyping":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"messages.startBot":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.updatePinnedMessage":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.uploadMedia":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"updates.getDifference":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"phone.toggleGroupCallStartSubscription":{"GROUPCALL_ALREADY_STARTED":"GROUPCALL_ALREADY_STARTED"},"phone.discardGroupCall":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.editGroupCallParticipant":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.editGroupCallTitle":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.getGroupCall":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.inviteToGroupCall":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.joinGroupCall":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.toggleGroupCallRecord":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"channels.deleteMessages":{"MESSAGE_DELETE_FORBIDDEN":"MESSAGE_DELETE_FORBIDDEN"},"messages.deleteMessages":{"MESSAGE_DELETE_FORBIDDEN":"MESSAGE_DELETE_FORBIDDEN"},"messages.deleteScheduledMessages":{"MESSAGE_DELETE_FORBIDDEN":"MESSAGE_DELETE_FORBIDDEN"},"smsjobs.isEligibleToJoin":{"NOT_ELIGIBLE":"NOT_ELIGIBLE"},"phone.joinGroupCallPresentation":{"PARTICIPANT_JOIN_MISSING":"PARTICIPANT_JOIN_MISSING"},"messages.transcribeAudio":{"PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED"},"messages.requestWebView":{"PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED"},"phone.exportGroupCallInvite":{"PUBLIC_CHANNEL_MISSING":"PUBLIC_CHANNEL_MISSING"},"account.setContentSettings":{"SENSITIVE_CHANGE_FORBIDDEN":"SENSITIVE_CHANGE_FORBIDDEN"},"account.finishTakeoutSession":{"TAKEOUT_REQUIRED":"TAKEOUT_REQUIRED"},"channels.getLeftChannels":{"TAKEOUT_REQUIRED":"TAKEOUT_REQUIRED"},"contacts.getSaved":{"TAKEOUT_REQUIRED":"TAKEOUT_REQUIRED"},"bots.answerWebhookJSONQuery":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"bots.sendCustomRequest":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"messages.setInlineBotResults":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"users.setSecureValueErrors":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"messages.sendEncryptedService":{"USER_DELETED":"USER_DELETED","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"help.editUserInfo":{"USER_INVALID":"USER_INVALID"},"help.getSupportName":{"USER_INVALID":"USER_INVALID"},"help.getUserInfo":{"USER_INVALID":"USER_INVALID"},"messages.sendEncrypted":{"USER_IS_BLOCKED":"USER_IS_BLOCKED"},"phone.requestCall":{"USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_PRIVACY_RESTRICTED":"USER_PRIVACY_RESTRICTED"},"help.getConfig":{"USER_PRIVACY_RESTRICTED":"USER_PRIVACY_RESTRICTED"},"messages.getOutboxReadDate":{"USER_PRIVACY_RESTRICTED":"USER_PRIVACY_RESTRICTED","YOUR_PRIVACY_RESTRICTED":"YOUR_PRIVACY_RESTRICTED"},"channels.createChannel":{"USER_RESTRICTED":"USER_RESTRICTED"},"messages.createChat":{"USER_RESTRICTED":"USER_RESTRICTED"}},"500":{"auth.sendCode":{"AUTH_RESTART":"AUTH_RESTART"},"auth.signIn":{"AUTH_RESTART":"AUTH_RESTART","SIGN_IN_FAILED":"SIGN_IN_FAILED"},"phone.acceptCall":{"CALL_OCCUPY_FAILED":"CALL_OCCUPY_FAILED"},"phone.discardCall":{"CALL_OCCUPY_FAILED":"CALL_OCCUPY_FAILED"},"upload.getCdnFileHashes":{"CDN_SALTS_EMPTY":"CDN_SALTS_EMPTY"},"upload.reuploadCdnFile":{"CDN_UPLOAD_TIMEOUT":"CDN_UPLOAD_TIMEOUT"},"messages.createChat":{"CHAT_ID_GENERATE_FAILED":"CHAT_ID_GENERATE_FAILED"},"channels.createChannel":{"CHAT_INVALID":"CHAT_INVALID"},"messages.migrateChat":{"CHAT_INVALID":"CHAT_INVALID"},"messages.editMessage":{"MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.receivedQueue":{"MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.sendEncrypted":{"MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.sendEncryptedService":{"MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.sendMessage":{"MSG_WAIT_FAILED":"MSG_WAIT_FAILED","RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"updates.getChannelDifference":{"PERSISTENT_TIMESTAMP_OUTDATED":"PERSISTENT_TIMESTAMP_OUTDATED"},"messages.forwardMessages":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"messages.sendInlineBotResult":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE","SEND_MEDIA_INVALID":"SEND_MEDIA_INVALID"},"messages.sendMedia":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"messages.sendMultiMedia":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"messages.sendScheduledMessages":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"messages.startBot":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"updates.getDifference":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"}},"406":{"channels.editBanned":{"BANNED_RIGHTS_INVALID":"BANNED_RIGHTS_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"phone.acceptCall":{"CALL_PROTOCOL_COMPAT_LAYER_INVALID":"CALL_PROTOCOL_COMPAT_LAYER_INVALID"},"channels.deleteChannel":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNEL_TOO_LARGE":"CHANNEL_TOO_LARGE"},"channels.deleteMessages":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getAdminLog":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getChannels":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getFullChannel":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getMessages":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getParticipant":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getParticipants":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.inviteToChannel":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.joinChannel":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"channels.leaveChannel":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.readHistory":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.readMessageContents":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.checkChatInvite":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"messages.editMessage":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.forwardMessages":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_FORWARDS_RESTRICTED":"CHAT_FORWARDS_RESTRICTED","PAYMENT_UNSUPPORTED":"PAYMENT_UNSUPPORTED","PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED"},"messages.getHistory":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.getInlineBotResults":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.getMessagesViews":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.getPeerDialogs":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.sendMedia":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED"},"messages.sendMessage":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PAYMENT_UNSUPPORTED":"PAYMENT_UNSUPPORTED","PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED"},"messages.setTyping":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"updates.getChannelDifference":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"upload.getFile":{"FILEREF_UPGRADE_NEEDED":"FILEREF_UPGRADE_NEEDED"},"channels.editAdmin":{"FRESH_CHANGE_ADMINS_FORBIDDEN":"FRESH_CHANGE_ADMINS_FORBIDDEN"},"account.sendChangePhoneCode":{"FRESH_CHANGE_PHONE_FORBIDDEN":"FRESH_CHANGE_PHONE_FORBIDDEN","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"account.resetAuthorization":{"FRESH_RESET_AUTHORISATION_FORBIDDEN":"FRESH_RESET_AUTHORISATION_FORBIDDEN"},"account.setAuthorizationTTL":{"FRESH_RESET_AUTHORISATION_FORBIDDEN":"FRESH_RESET_AUTHORISATION_FORBIDDEN"},"auth.resetAuthorizations":{"FRESH_RESET_AUTHORISATION_FORBIDDEN":"FRESH_RESET_AUTHORISATION_FORBIDDEN"},"invokeWithLayer":{"INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"messages.importChatInvite":{"INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"account.changePhone":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.cancelCode":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.checkPhone":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.resendCode":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","SEND_CODE_UNAVAILABLE":"SEND_CODE_UNAVAILABLE"},"auth.sendCode":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_PASSWORD_FLOOD":"PHONE_PASSWORD_FLOOD","UPDATE_APP_TO_LOGIN":"UPDATE_APP_TO_LOGIN"},"auth.signIn":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","UPDATE_APP_TO_LOGIN":"UPDATE_APP_TO_LOGIN"},"auth.signUp":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"messages.initHistoryImport":{"PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_%dMIN":"PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_%dMIN"},"messages.getStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"messages.installStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"messages.uninstallStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"stickers.addStickerToSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"channels.setStickers":{"STICKERSET_OWNER_ANONYMOUS":"STICKERSET_OWNER_ANONYMOUS"},"channels.createChannel":{"USER_RESTRICTED":"USER_RESTRICTED"},"messages.createChat":{"USER_RESTRICTED":"USER_RESTRICTED"},"contacts.getLocated":{"USERPIC_PRIVACY_REQUIRED":"USERPIC_PRIVACY_REQUIRED","USERPIC_UPLOAD_REQUIRED":"USERPIC_UPLOAD_REQUIRED"}},"-503":{"messages.getBotCallbackAnswer":{"Timeout":"Timeout"},"messages.getInlineBotResults":{"Timeout":"Timeout"}}},"human_result":{"2FA_CONFIRM_WAIT_%d":"Since this account is active and protected by a 2FA password, we will delete it in 1 week for security purposes. You can cancel this process at any time, you'll be able to reset your account in %d seconds.","ABOUT_TOO_LONG":"About string too long","ACCESS_TOKEN_EXPIRED":"Access token expired","ACCESS_TOKEN_INVALID":"Access token invalid","ACTIVE_USER_REQUIRED":"","ADDRESS_INVALID":"The specified geopoint address is invalid","ADMIN_ID_INVALID":"The specified admin ID is invalid","ADMIN_RANK_EMOJI_NOT_ALLOWED":"An admin rank cannot contain emojis","ADMIN_RANK_INVALID":"The specified admin rank is invalid.","ADMIN_RIGHTS_EMPTY":"The chatAdminRights constructor passed in keyboardButtonRequestPeer.peer_type.user_admin_rights has no rights set (i.e. flags is 0).","ADMINS_TOO_MUCH":"There are too many admins","ALBUM_PHOTOS_TOO_MANY":"You have uploaded too many profile photos, delete some before retrying.","ANONYMOUS_REACTIONS_DISABLED":"Sorry, anonymous administrators cannot leave reactions or participate in polls.","API_ID_INVALID":"API ID invalid","API_ID_PUBLISHED_FLOOD":"This API id was published somewhere, you can't use it now","ARTICLE_TITLE_EMPTY":"The title of the article is empty","AUDIO_CONTENT_URL_EMPTY":"The remote URL specified in the content field is empty","AUDIO_TITLE_EMPTY":"An empty audio title was provided.","AUTH_BYTES_INVALID":"The provided authorization is invalid","AUTH_KEY_DUPLICATED":"Concurrent usage of the current session from multiple connections was detected, the current session was invalidated by the server for security reasons!","AUTH_KEY_INVALID":"The specified auth key is invalid","AUTH_KEY_PERM_EMPTY":"The method is unavailable for temporary authorization keys, not bound to a permanent authorization key","AUTH_KEY_UNREGISTERED":"The specified authorization key is not registered in the system (for example, a PFS temporary key has expired)","AUTH_RESTART":"Restart the authorization process","AUTH_TOKEN_ALREADY_ACCEPTED":"The specified auth token was already accepted","AUTH_TOKEN_EXCEPTION":"An error occurred while importing the auth token","AUTH_TOKEN_EXPIRED":"The authorization token has expired","AUTH_TOKEN_INVALID":"The specified auth token is invalid","AUTH_TOKEN_INVALIDX":"The specified auth token is invalid","AUTOARCHIVE_NOT_AVAILABLE":"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.","BANK_CARD_NUMBER_INVALID":"The specified card number is invalid","BANNED_RIGHTS_INVALID":"You provided some invalid flags in the banned rights","BOOST_NOT_MODIFIED":"You're already [boosting](https:\/\/core.telegram.org\/api\/boost) the specified channel.","BOOST_PEER_INVALID":"The specified `boost_peer` is invalid","BOOSTS_EMPTY":"No boost slots were specified","BOOSTS_REQUIRED":"The specified channel must first be [boosted by its users](https:\/\/core.telegram.org\/api\/boost) in order to perform this action.","BOT_APP_BOT_INVALID":"The bot_id passed in the inputBotAppShortName constructor is invalid.","BOT_APP_INVALID":"The specified bot app is invalid","BOT_APP_SHORTNAME_INVALID":"The specified bot app short name is invalid","BOT_CHANNELS_NA":"Bots can't edit admin privileges","BOT_COMMAND_DESCRIPTION_INVALID":"The specified command description is invalid","BOT_COMMAND_INVALID":"The specified command is invalid","BOT_DOMAIN_INVALID":"Bot domain invalid","BOT_GAMES_DISABLED":"","BOT_GROUPS_BLOCKED":"This bot can't be added to groups","BOT_INLINE_DISABLED":"This bot can't be used in inline mode","BOT_INVALID":"This is not a valid bot","BOT_METHOD_INVALID":"The specified method cannot be used by bots.","BOT_MISSING":"Only bots can call this method, please use [@stickers](https:\/\/t.me\/stickers) if you're a user","BOT_ONESIDE_NOT_AVAIL":"Bots can't pin messages in PM just for themselves","BOT_PAYMENTS_DISABLED":"Please enable bot payments in botfather before calling this method.","BOT_POLLS_DISABLED":"","BOT_RESPONSE_TIMEOUT":"A timeout occurred while fetching data from the bot","BOT_SCORE_NOT_MODIFIED":"The score wasn't modified","BOT_WEBVIEW_DISABLED":"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.","BOTS_TOO_MUCH":"There are too many bots in this chat\/channel","BROADCAST_FORBIDDEN":"Channel poll voters and reactions cannot be fetched to prevent deanonymization.","BROADCAST_ID_INVALID":"Broadcast ID invalid","BROADCAST_PUBLIC_VOTERS_FORBIDDEN":"You can't forward polls with public voters","BROADCAST_REQUIRED":"This method can only be called on a channel, please use stats.getMegagroupStats for supergroups","BUTTON_DATA_INVALID":"The data of one or more of the buttons you provided is invalid","BUTTON_TEXT_INVALID":"The specified button text is invalid","BUTTON_TYPE_INVALID":"The type of one or more of the buttons you provided is invalid","BUTTON_URL_INVALID":"Button URL invalid","BUTTON_USER_INVALID":"The `user_id` passed to inputKeyboardButtonUserProfile is invalid!","BUTTON_USER_PRIVACY_RESTRICTED":"The privacy setting of the user specified in a [inputKeyboardButtonUserProfile](\/constructor\/inputKeyboardButtonUserProfile) button do not allow creating such a button","CALL_ALREADY_ACCEPTED":"The call was already accepted","CALL_ALREADY_DECLINED":"The call was already declined","CALL_OCCUPY_FAILED":"The call failed because the user is already making another call","CALL_PEER_INVALID":"The provided call peer object is invalid","CALL_PROTOCOL_COMPAT_LAYER_INVALID":"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.","CALL_PROTOCOL_FLAGS_INVALID":"Call protocol flags invalid","CDN_METHOD_INVALID":"You can't call this method in a CDN DC","CDN_SALTS_EMPTY":"","CDN_UPLOAD_TIMEOUT":"A server-side timeout occurred while reuploading the file to the CDN DC","CHANNEL_FORUM_MISSING":"This supergroup is not a forum","CHANNEL_ID_INVALID":"The specified supergroup ID is invalid","CHANNEL_INVALID":"The provided channel is invalid","CHANNEL_PARICIPANT_MISSING":"The current user is not in the channel","CHANNEL_PRIVATE":"You haven't joined this channel\/supergroup","CHANNEL_PUBLIC_GROUP_NA":"channel\/supergroup not available","CHANNEL_TOO_BIG":"This channel has too many participants (>1000) to be deleted.","CHANNEL_TOO_LARGE":"Channel is too large to be deleted; this error is issued when trying to delete channels with more than 1000 members (subject to change)","CHANNELS_ADMIN_LOCATED_TOO_MUCH":"The user has reached the limit of public geogroups","CHANNELS_ADMIN_PUBLIC_TOO_MUCH":"You're admin of too many public channels, make some channels private to change the username of this channel","CHANNELS_TOO_MUCH":"You have joined too many channels\/supergroups","CHAT_ABOUT_NOT_MODIFIED":"About text has not changed","CHAT_ABOUT_TOO_LONG":"Chat about too long","CHAT_ADMIN_INVITE_REQUIRED":"You do not have the rights to do this","CHAT_ADMIN_REQUIRED":"You must be an admin in this chat to do this","CHAT_DISCUSSION_UNALLOWED":"You can't enable forum topics in a discussion group linked to a channel","CHAT_FORBIDDEN":"This chat is not available to the current user","CHAT_FORWARDS_RESTRICTED":"You can't forward messages from a protected chat","CHAT_GUEST_SEND_FORBIDDEN":"You join the discussion group before commenting, see [here »](\/api\/discussion#requiring-users-to-join-the-group) for more info.","CHAT_ID_EMPTY":"The provided chat ID is empty","CHAT_ID_GENERATE_FAILED":"Failure while generating the chat ID","CHAT_ID_INVALID":"The provided chat id is invalid","CHAT_INVALID":"Invalid chat","CHAT_INVITE_PERMANENT":"You can't set an expiration date on permanent invite links","CHAT_LINK_EXISTS":"The chat is public, you can't hide the history to new users","CHAT_NOT_MODIFIED":"No changes were made to chat information because the new information you passed is identical to the current information.","CHAT_PUBLIC_REQUIRED":"You can only enable join requests in public groups","CHAT_RESTRICTED":"You can't send messages in this chat, you were restricted","CHAT_REVOKE_DATE_UNSUPPORTED":"`min_date` and `max_date` are not available for using with non-user peers.","CHAT_SEND_AUDIOS_FORBIDDEN":"You can't send audio messages in this chat","CHAT_SEND_DOCS_FORBIDDEN":"You can't send documents in this chat","CHAT_SEND_GAME_FORBIDDEN":"You can't send a game to this chat.","CHAT_SEND_GIFS_FORBIDDEN":"You can't send gifs in this chat","CHAT_SEND_INLINE_FORBIDDEN":"You can't send inline messages in this group","CHAT_SEND_MEDIA_FORBIDDEN":"You can't send media in this chat","CHAT_SEND_PHOTOS_FORBIDDEN":"You can't send photos in this chat","CHAT_SEND_PLAIN_FORBIDDEN":"You can't send non-media (text) messages in this chat","CHAT_SEND_POLL_FORBIDDEN":"You can't send polls in this chat","CHAT_SEND_ROUNDVIDEOS_FORBIDDEN":"You can't send round videos to this chat","CHAT_SEND_STICKERS_FORBIDDEN":"You can't send stickers in this chat.","CHAT_SEND_VIDEOS_FORBIDDEN":"You can't send videos in this chat","CHAT_SEND_VOICES_FORBIDDEN":"You can't send voice recordings in this chat","CHAT_TITLE_EMPTY":"No chat title provided","CHAT_TOO_BIG":"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).","CHAT_WRITE_FORBIDDEN":"You can't write in this chat","CHATLINK_SLUG_EMPTY":"The specified slug is empty","CHATLIST_EXCLUDE_INVALID":"The specified `exclude_peers` are invalid","CODE_EMPTY":"The provided code is empty","CODE_HASH_INVALID":"Code hash invalid","CODE_INVALID":"Code invalid","COLLECTIBLE_INVALID":"The specified collectible is invalid","COLLECTIBLE_NOT_FOUND":"The specified collectible could not be found","COLOR_INVALID":"The specified color palette ID was invalid.","CONNECTION_API_ID_INVALID":"The provided API id is invalid","CONNECTION_APP_VERSION_EMPTY":"App version is empty","CONNECTION_DEVICE_MODEL_EMPTY":"The specified device model is empty","CONNECTION_ID_INVALID":"The specified connection ID is invalid","CONNECTION_LANG_PACK_INVALID":"The specified language pack is empty","CONNECTION_LAYER_INVALID":"Layer invalid","CONNECTION_NOT_INITED":"Please initialize the connection using initConnection before making queries.","CONNECTION_SYSTEM_EMPTY":"The specified system version is empty","CONNECTION_SYSTEM_LANG_CODE_EMPTY":"The specified system language code is empty","CONTACT_ADD_MISSING":"Contact to add is missing","CONTACT_ID_INVALID":"The provided contact ID is invalid","CONTACT_MISSING":"The specified user is not a contact","CONTACT_NAME_EMPTY":"Contact name empty","CONTACT_REQ_MISSING":"Missing contact request","CREATE_CALL_FAILED":"An error occurred while creating the call.","CURRENCY_TOTAL_AMOUNT_INVALID":"The total amount of all prices is invalid","CUSTOM_REACTIONS_TOO_MANY":"Too many custom reactions were specified.","DATA_INVALID":"Encrypted data invalid","DATA_JSON_INVALID":"The provided JSON data is invalid","DATA_TOO_LONG":"Data too long","DATE_EMPTY":"Date empty","DC_ID_INVALID":"The provided DC ID is invalid","DH_G_A_INVALID":"g_a invalid","DOCUMENT_INVALID":"The specified document is invalid","EDIT_BOT_INVITE_FORBIDDEN":"Normal users can't edit invites that were created by bots","EMAIL_HASH_EXPIRED":"Email hash expired","EMAIL_INVALID":"The specified email is invalid","EMAIL_NOT_SETUP":"In order to change the login email with emailVerifyPurposeLoginChange, an existing login email must already be set using emailVerifyPurposeLoginSetup","EMAIL_UNCONFIRMED":"Email unconfirmed","EMAIL_UNCONFIRMED_%d":"The provided email isn't confirmed, %d is the length of the verification code that was just sent to the email: use [account.verifyEmail](https:\/\/core.telegram.org\/method\/account.verifyEmail) to enter the received verification code and enable the recovery email.","EMAIL_VERIFY_EXPIRED":"The verification email has expired","EMOJI_INVALID":"The specified theme emoji is valid","EMOJI_MARKUP_INVALID":"The specified `video_emoji_markup` was invalid","EMOJI_NOT_MODIFIED":"The theme wasn't changed","EMOTICON_EMPTY":"The emoji is empty","EMOTICON_INVALID":"The specified emoji is invalid","EMOTICON_STICKERPACK_MISSING":"inputStickerSetDice.emoji cannot be empty","ENCRYPTED_MESSAGE_INVALID":"Encrypted message invalid","ENCRYPTION_ALREADY_ACCEPTED":"Secret chat already accepted","ENCRYPTION_ALREADY_DECLINED":"The secret chat was already declined","ENCRYPTION_DECLINED":"The secret chat was declined","ENCRYPTION_ID_INVALID":"The provided secret chat ID is invalid","ENTITIES_TOO_LONG":"You provided too many styled message entities","ENTITY_BOUNDS_INVALID":"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","ENTITY_MENTION_USER_INVALID":"You mentioned an invalid user","ERROR_TEXT_EMPTY":"The provided error message is empty","EXPIRE_DATE_INVALID":"The specified expiration date is invalid","EXPORT_CARD_INVALID":"Provided card is invalid","EXTERNAL_URL_INVALID":"External URL invalid","FILE_CONTENT_TYPE_INVALID":"File content-type is invalid","FILE_EMTPY":"An empty file was provided","FILE_ID_INVALID":"The provided file id is invalid","FILE_MIGRATE_%d":"The file currently being accessed is stored in DC %d, please re-send the query to that DC.","FILE_PART_%d_MISSING":"Part %d of the file is missing from storage. Try repeating the method call to resave the part.","FILE_PART_EMPTY":"The provided file part is empty","FILE_PART_INVALID":"The file part number is invalid","FILE_PART_LENGTH_INVALID":"The length of a file part is invalid","FILE_PART_SIZE_CHANGED":"Provided file part size has changed","FILE_PART_SIZE_INVALID":"The provided file part size is invalid","FILE_PART_TOO_BIG":"The uploaded file part is too big","FILE_PARTS_INVALID":"The number of file parts is invalid","FILE_REFERENCE_*":"The file reference expired, it [must be refreshed](https:\/\/core.telegram.org\/api\/file_reference).","FILE_REFERENCE_EMPTY":"An empty [file reference](https:\/\/core.telegram.org\/api\/file_reference) was specified","FILE_REFERENCE_EXPIRED":"File reference expired, it must be refetched as described in [the documentation](https:\/\/core.telegram.org\/api\/file_reference).","FILE_REFERENCE_INVALID":"The specified [file reference](https:\/\/core.telegram.org\/api\/file_reference) is invalid","FILE_TITLE_EMPTY":"An empty file title was specified","FILE_TOKEN_INVALID":"The master DC did not accept the `file_token` (e.g., the token has expired). Continue downloading the file from the master DC using upload.getFile.","FILEREF_UPGRADE_NEEDED":"The client has to be updated in order to support [file references](https:\/\/core.telegram.org\/api\/file_reference)","FILTER_ID_INVALID":"The specified filter ID is invalid","FILTER_INCLUDE_EMPTY":"The include_peers vector of the filter is empty","FILTER_NOT_SUPPORTED":"The specified filter cannot be used in this context","FILTER_TITLE_EMPTY":"The title field of the filter is empty","FIRSTNAME_INVALID":"The first name is invalid","FLOOD_PREMIUM_WAIT_%d":"Please wait %d seconds before repeating the action, or purchase a [Telegram Premium subscription](https:\/\/core.telegram.org\/api\/premium) to remove this rate limit.","FLOOD_TEST_PHONE_WAIT_%d":"","FLOOD_WAIT_%d":"Please wait %d seconds before repeating the action.","FOLDER_ID_EMPTY":"An empty folder ID was specified","FOLDER_ID_INVALID":"Invalid folder ID","FORUM_ENABLED":"You can't execute the specified action because the group is a [forum](https:\/\/core.telegram.org\/api\/forum), disable forum functionality to continue.","FRESH_CHANGE_ADMINS_FORBIDDEN":"You were just elected admin, you can't add or modify other admins yet","FRESH_CHANGE_PHONE_FORBIDDEN":"You can't change phone number right after logging in, please wait at least 24 hours.","FRESH_RESET_AUTHORISATION_FORBIDDEN":"You can't logout other sessions if less than 24 hours have passed since you logged on the current session","FROM_MESSAGE_BOT_DISABLED":"Bots can't use fromMessage min constructors","FROM_PEER_INVALID":"The specified from_id is invalid","GAME_BOT_INVALID":"Bots can't send another bot's game.","GENERAL_MODIFY_ICON_FORBIDDEN":"You can't modify the icon of the \"General\" topic","GEO_POINT_INVALID":"Invalid geoposition provided","GIF_CONTENT_TYPE_INVALID":"GIF content-type invalid","GIF_ID_INVALID":"The provided GIF ID is invalid","GIFT_SLUG_EXPIRED":"The specified gift slug has expired","GIFT_SLUG_INVALID":"The specified slug is invalid.","GRAPH_EXPIRED_RELOAD":"This graph has expired, please obtain a new graph token","GRAPH_INVALID_RELOAD":"Invalid graph token provided, please reload the stats and provide the updated token","GRAPH_OUTDATED_RELOAD":"The graph is outdated, please get a new async token using stats.getBroadcastStats","GROUP_CALL_INVALID":"","GROUPCALL_ALREADY_DISCARDED":"The group call was already discarded","GROUPCALL_ALREADY_STARTED":"The groupcall has already started, you can join directly using [phone.joinGroupCall](https:\/\/core.telegram.org\/method\/phone.joinGroupCall)","GROUPCALL_FORBIDDEN":"The group call has already ended","GROUPCALL_INVALID":"The specified group call is invalid","GROUPCALL_JOIN_MISSING":"You haven't joined this group call.","GROUPCALL_NOT_MODIFIED":"Group call settings weren't modified","GROUPCALL_SSRC_DUPLICATE_MUCH":"The app needs to retry joining the group call with a new SSRC value.","GROUPED_MEDIA_INVALID":"Invalid grouped media","HASH_INVALID":"The provided hash is invalid","HIDE_REQUESTER_MISSING":"The join request was missing or was already handled.","IMAGE_PROCESS_FAILED":"Failure while processing image","IMPORT_FILE_INVALID":"The specified chat export file is invalid","IMPORT_FORMAT_DATE_INVALID":"The date specified in the import file is invalid.","IMPORT_FORMAT_UNRECOGNIZED":"The specified chat export file was exported from an unsupported chat app","IMPORT_HISTORY_LOG_EMPTY":"","IMPORT_ID_INVALID":"The specified import ID is invalid","IMPORT_TOKEN_INVALID":"The specified token is invalid","INLINE_BOT_REQUIRED":"Only the inline bot can edit message","INLINE_RESULT_EXPIRED":"The inline query expired","INPUT_CHATLIST_INVALID":"The specified folder is invalid","INPUT_CONSTRUCTOR_INVALID":"The specified TL constructor is invalid","INPUT_FETCH_ERROR":"An error occurred while parsing the provided TL constructor","INPUT_FETCH_FAIL":"An error occurred while parsing the provided TL constructor","INPUT_FILTER_INVALID":"The specified filter is invalid","INPUT_LAYER_INVALID":"The specified layer is invalid","INPUT_METHOD_INVALID":"The specified method is invalid","INPUT_REQUEST_TOO_LONG":"The request payload is too long","INPUT_TEXT_EMPTY":"The specified text is empty","INPUT_TEXT_TOO_LONG":"The specified text is too long","INPUT_USER_DEACTIVATED":"The specified user was deleted","INVITE_FORBIDDEN_WITH_JOINAS":"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","INVITE_HASH_EMPTY":"The invite hash is empty","INVITE_HASH_EXPIRED":"The invite link has expired","INVITE_HASH_INVALID":"The invite hash is invalid","INVITE_REQUEST_SENT":"You have successfully requested to join this chat or channel","INVITE_REVOKED_MISSING":"The specified invite link was already revoked or is invalid","INVITE_SLUG_EMPTY":"The specified invite slug is empty","INVITE_SLUG_EXPIRED":"The specified chat folder link has expired.","INVITES_TOO_MUCH":"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.","INVOICE_PAYLOAD_INVALID":"The specified invoice payload is invalid.","JOIN_AS_PEER_INVALID":"The specified peer cannot be used to join a group call","LANG_CODE_INVALID":"The specified language code is invalid","LANG_CODE_NOT_SUPPORTED":"The specified language code is not supported","LANG_PACK_INVALID":"The provided language pack is invalid","LASTNAME_INVALID":"The last name is invalid.","LIMIT_INVALID":"The provided limit is invalid","LINK_NOT_MODIFIED":"Discussion link not modified","LOCATION_INVALID":"The provided location is invalid","MAX_DATE_INVALID":"The specified maximum date is invalid.","MAX_ID_INVALID":"The provided max ID is invalid","MAX_QTS_INVALID":"The specified max_qts is invalid","MD5_CHECKSUM_INVALID":"The MD5 checksums do not match","MEDIA_CAPTION_TOO_LONG":"The caption is too long","MEDIA_EMPTY":"The provided media object is invalid","MEDIA_FILE_INVALID":"The specified media file is invalid","MEDIA_GROUPED_INVALID":"You tried to send media of different types in an album.","MEDIA_INVALID":"Media invalid","MEDIA_NEW_INVALID":"The new media is invalid","MEDIA_PREV_INVALID":"Previous media invalid","MEDIA_TTL_INVALID":"The specified media TTL is invalid","MEDIA_TYPE_INVALID":"The specified media type cannot be used in stories","MEDIA_VIDEO_STORY_MISSING":"A non-story video cannot be repubblished as a story (emitted when trying to resend a non-story video as a story using inputDocument).","MEGAGROUP_GEO_REQUIRED":"This method can only be invoked on a geogroup.","MEGAGROUP_ID_INVALID":"Invalid supergroup ID","MEGAGROUP_PREHISTORY_HIDDEN":"Group with hidden history for new members can't be set as discussion groups","MEGAGROUP_REQUIRED":"You can only use this method on a supergroup","MESSAGE_AUTHOR_REQUIRED":"Message author required","MESSAGE_DELETE_FORBIDDEN":"You can't delete one of the messages you tried to delete, most likely because it is a service message.","MESSAGE_EDIT_TIME_EXPIRED":"You can't edit this message anymore, too much time has passed since its creation.","MESSAGE_EMPTY":"The provided message is empty","MESSAGE_ID_INVALID":"The provided message id is invalid","MESSAGE_IDS_EMPTY":"No message ids were provided","MESSAGE_NOT_MODIFIED":"The provided message data is identical to the previous message data, the message wasn't modified","MESSAGE_POLL_CLOSED":"Poll closed","MESSAGE_TOO_LONG":"The provided message is too long","MESSAGE_TOO_OLD":"The message is too old, the requested information is not available","METHOD_INVALID":"The specified method is invalid","MIN_DATE_INVALID":"The specified minimum date is invalid","MSG_ID_INVALID":"Invalid message ID provided","MSG_TOO_OLD":"[`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","MSG_WAIT_FAILED":"A waiting call returned an error","MSG_WAIT_TIMEOUT":"Spent too much time waiting for a previous query in the invokeAfterMsg request queue, aborting!","MULTI_MEDIA_TOO_LONG":"Too many media files for album","NETWORK_MIGRATE_%d":"Your IP address is associated to DC %d, please re-send the query to that DC.","NEW_SALT_INVALID":"The new salt is invalid","NEW_SETTINGS_EMPTY":"No password is set on the current account, and no new password was specified in `new_settings`.","NEW_SETTINGS_INVALID":"The new password settings are invalid.","NEXT_OFFSET_INVALID":"The specified offset is longer than 64 bytes.","NOT_ELIGIBLE":"The current user is not eligible to join the Peer-to-Peer Login Program","NOT_JOINED":"The current user hasn't joined the Peer-to-Peer Login Program","OFFSET_INVALID":"The provided offset is invalid","OFFSET_PEER_ID_INVALID":"The provided offset peer is invalid","OPTION_INVALID":"Invalid option selected","OPTIONS_TOO_MUCH":"Too many options provided","ORDER_INVALID":"The specified username order is invalid","PACK_SHORT_NAME_INVALID":"Short pack name invalid","PACK_SHORT_NAME_OCCUPIED":"A stickerpack with this name already exists","PACK_TITLE_INVALID":"The stickerpack title is invalid","PARTICIPANT_ID_INVALID":"The specified participant ID is invalid","PARTICIPANT_JOIN_MISSING":"Trying to enable a presentation, when the user hasn't joined the Video Chat with [phone.joinGroupCall](https:\/\/core.telegram.org\/method\/phone.joinGroupCall).","PARTICIPANT_VERSION_OUTDATED":"The other participant does not use an up to date telegram client with support for calls","PARTICIPANTS_TOO_FEW":"Not enough participants","PASSWORD_EMPTY":"The provided password is empty","PASSWORD_HASH_INVALID":"The provided password hash is invalid","PASSWORD_MISSING":"You must enable 2FA in order to transfer ownership of a channel","PASSWORD_RECOVERY_EXPIRED":"The recovery code has expired","PASSWORD_RECOVERY_NA":"No email was set, can't recover password via email.","PASSWORD_REQUIRED":"A [2FA password](https:\/\/core.telegram.org\/api\/srp) must be configured to use Telegram Passport","PASSWORD_TOO_FRESH_%d":"The password was modified less than 24 hours ago, try again in %d seconds","PAYMENT_PROVIDER_INVALID":"The specified payment provider is invalid","PAYMENT_UNSUPPORTED":"A detailed description of the error will be received separately as described [here »](https:\/\/core.telegram.org\/api\/errors#406-not-acceptable)","PEER_FLOOD":"The current account is spamreported, you cannot execute this action, check @spambot for more info.","PEER_HISTORY_EMPTY":"You can't pin an empty chat with a user","PEER_ID_INVALID":"The provided peer id is invalid","PEER_ID_NOT_SUPPORTED":"The provided peer ID is not supported","PEERS_LIST_EMPTY":"The specified list of peers is empty","PERSISTENT_TIMESTAMP_EMPTY":"Persistent timestamp empty","PERSISTENT_TIMESTAMP_INVALID":"Persistent timestamp invalid","PERSISTENT_TIMESTAMP_OUTDATED":"Channel internal replication issues, try again later (treat this like an RPC_CALL_FAIL)","PHONE_CODE_EMPTY":"phone_code is missing","PHONE_CODE_EXPIRED":"The phone code you provided has expired","PHONE_CODE_HASH_EMPTY":"phone_code_hash is missing","PHONE_CODE_INVALID":"The provided phone code is invalid","PHONE_HASH_EXPIRED":"An invalid or expired `phone_code_hash` was provided.","PHONE_MIGRATE_%d":"Your phone number is associated to DC %d, please re-send the query to that DC.","PHONE_NOT_OCCUPIED":"No user is associated to the specified phone number","PHONE_NUMBER_APP_SIGNUP_FORBIDDEN":"You can't sign up using this app","PHONE_NUMBER_BANNED":"The provided phone number is banned from telegram","PHONE_NUMBER_FLOOD":"You asked for the code too many times.","PHONE_NUMBER_INVALID":"The phone number is invalid","PHONE_NUMBER_OCCUPIED":"The phone number is already in use","PHONE_NUMBER_UNOCCUPIED":"The phone number is not yet being used","PHONE_PASSWORD_FLOOD":"You have tried logging in too many times","PHONE_PASSWORD_PROTECTED":"This phone is password protected","PHOTO_CONTENT_TYPE_INVALID":"Photo mime-type invalid","PHOTO_CONTENT_URL_EMPTY":"Photo URL invalid","PHOTO_CROP_FILE_MISSING":"Photo crop file missing","PHOTO_CROP_SIZE_SMALL":"Photo is too small","PHOTO_EXT_INVALID":"The extension of the photo is invalid","PHOTO_FILE_MISSING":"Profile photo file missing","PHOTO_ID_INVALID":"Photo ID invalid","PHOTO_INVALID":"Photo invalid","PHOTO_INVALID_DIMENSIONS":"The photo dimensions are invalid","PHOTO_SAVE_FILE_INVALID":"Internal issues, try again later","PHOTO_THUMB_URL_EMPTY":"Photo thumbnail URL is empty","PHOTO_THUMB_URL_INVALID":"","PIN_RESTRICTED":"You can't pin messages","PINNED_DIALOGS_TOO_MUCH":"Too many pinned dialogs","POLL_ANSWER_INVALID":"One of the poll answers is not acceptable","POLL_ANSWERS_INVALID":"Invalid poll answers were provided","POLL_OPTION_DUPLICATE":"Duplicate poll options provided","POLL_OPTION_INVALID":"Invalid poll option provided","POLL_QUESTION_INVALID":"One of the poll questions is not acceptable","POLL_VOTE_REQUIRED":"Cast a vote in the poll before calling this method","PREMIUM_ACCOUNT_REQUIRED":"A premium account is required to execute this action.","PREMIUM_SUB_ACTIVE_UNTIL_%d":"You already have a premium subscription active until unixtime %d ","PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_%dMIN":"Import for this chat is already in progress, wait %d minutes before starting a new one.","PRIVACY_KEY_INVALID":"The privacy key is invalid","PRIVACY_PREMIUM_REQUIRED":"You need a [Telegram Premium subscription](https:\/\/core.telegram.org\/api\/premium) to send a message to this user.","PRIVACY_TOO_LONG":"Too many privacy rules were specified, the current limit is 1000","PRIVACY_VALUE_INVALID":"The specified privacy rule combination is invalid","PUBLIC_CHANNEL_MISSING":"You can only export group call invite links for public chats or channels","PUBLIC_KEY_REQUIRED":"A public key is required","QUERY_ID_EMPTY":"The query ID is empty","QUERY_ID_INVALID":"The query ID is invalid","QUERY_TOO_SHORT":"The query string is too short","QUIZ_ANSWER_MISSING":"You can forward a quiz while hiding the original author only after choosing an option in the quiz","QUIZ_CORRECT_ANSWER_INVALID":"An invalid value was provided to the correct_answers field","QUIZ_CORRECT_ANSWERS_EMPTY":"No correct quiz answer was specified","QUIZ_CORRECT_ANSWERS_TOO_MUCH":"You specified too many correct answers in a quiz, quizzes can only have one right answer!","QUIZ_MULTIPLE_INVALID":"Quizzes can't have the multiple_choice flag set!","QUOTE_TEXT_INVALID":"The specified `reply_to`.`quote_text` field is invalid.","RAISE_HAND_FORBIDDEN":"You cannot raise your hand","RANDOM_ID_DUPLICATE":"You provided a random ID that was already used","RANDOM_ID_EMPTY":"Random ID empty","RANDOM_ID_INVALID":"A provided random ID is invalid","RANDOM_LENGTH_INVALID":"Random length invalid","RANGES_INVALID":"Invalid range provided","REACTION_EMPTY":"Empty reaction provided","REACTION_INVALID":"The specified reaction is invalid","REACTIONS_TOO_MANY":"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)","REPLY_MARKUP_BUY_EMPTY":"Reply markup for buy button empty","REPLY_MARKUP_GAME_EMPTY":"","REPLY_MARKUP_INVALID":"The provided reply markup is invalid","REPLY_MARKUP_TOO_LONG":"The specified reply_markup is too long","REPLY_MESSAGE_ID_INVALID":"The specified reply-to message ID is invalid","REPLY_TO_INVALID":"The specified `reply_to` field is invalid","REPLY_TO_USER_INVALID":"The replied-to user is invalid","REQUEST_TOKEN_INVALID":"The master DC did not accept the `request_token` from the CDN DC. Continue downloading the file from the master DC using upload.getFile.","RESET_REQUEST_MISSING":"No password reset is in progress","RESULT_ID_DUPLICATE":"You provided a duplicate result ID","RESULT_ID_EMPTY":"Result ID empty","RESULT_ID_INVALID":"One of the specified result IDs is invalid","RESULT_TYPE_INVALID":"Result type invalid","RESULTS_TOO_MUCH":"Too many results were provided","REVOTE_NOT_ALLOWED":"You cannot change your vote","RIGHT_FORBIDDEN":"Your admin rights do not allow you to do this","RIGHTS_NOT_MODIFIED":"The new admin rights are equal to the old rights, no change was made","RSA_DECRYPT_FAILED":"Internal RSA decryption failed","SCHEDULE_BOT_NOT_ALLOWED":"Bots cannot schedule messages","SCHEDULE_DATE_INVALID":"Invalid schedule date provided","SCHEDULE_DATE_TOO_LATE":"You can't schedule a message this far in the future","SCHEDULE_STATUS_PRIVATE":"Can't schedule until user is online, if the user's last seen timestamp is hidden by their privacy settings.","SCHEDULE_TOO_MUCH":"There are too many scheduled messages","SCORE_INVALID":"The specified game score is invalid","SEARCH_QUERY_EMPTY":"The search query is empty","SEARCH_WITH_LINK_NOT_SUPPORTED":"You cannot provide a search query and an invite link at the same time.","SECONDS_INVALID":"Invalid duration provided","SEND_AS_PEER_INVALID":"You can't send messages as the specified peer","SEND_CODE_UNAVAILABLE":"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)","SEND_MEDIA_INVALID":"The specified media is invalid","SEND_MESSAGE_MEDIA_INVALID":"Invalid media provided","SEND_MESSAGE_TYPE_INVALID":"The message type is invalid","SENSITIVE_CHANGE_FORBIDDEN":"You can't change your sensitive content settings.","SESSION_EXPIRED":"The session has expired","SESSION_PASSWORD_NEEDED":"2FA is enabled, use a password to login","SESSION_REVOKED":"The session was revoked by the user","SESSION_TOO_FRESH_%d":"This session was created less than 24 hours ago, try again in %d seconds","SETTINGS_INVALID":"Invalid settings were provided","SHA256_HASH_INVALID":"The provided SHA256 hash is invalid","SHORT_NAME_INVALID":"The specified short name is invalid","SHORT_NAME_OCCUPIED":"The specified short name is already in use","SHORTCUT_INVALID":"The specified shortcut is invalid","SIGN_IN_FAILED":"Failure while signing in","SLOTS_EMPTY":"The specified slot list is empty","SLOWMODE_MULTI_MSGS_DISABLED":"Slowmode is enabled, you cannot forward multiple messages to this group.","SLOWMODE_WAIT_%d":"Slowmode is enabled in this chat: wait %d seconds before sending another message to this chat.","SLUG_INVALID":"The specified invoice slug is invalid","SMS_CODE_CREATE_FAILED":"An error occurred while creating the SMS code","SMSJOB_ID_INVALID":"The specified job ID is invalid","SRP_ID_INVALID":"Invalid SRP ID provided","SRP_PASSWORD_CHANGED":"Password has changed","START_PARAM_EMPTY":"The start parameter is empty","START_PARAM_INVALID":"Start parameter invalid","START_PARAM_TOO_LONG":"Start parameter is too long","STATS_MIGRATE_%d":"Channel statistics for the specified channel are stored on DC %d, please re-send the query to that DC.","STICKER_DOCUMENT_INVALID":"The specified sticker document is invalid","STICKER_EMOJI_INVALID":"Sticker emoji invalid","STICKER_FILE_INVALID":"Sticker file invalid","STICKER_GIF_DIMENSIONS":"The specified video sticker has invalid dimensions","STICKER_ID_INVALID":"The provided sticker ID is invalid","STICKER_INVALID":"The provided sticker is invalid","STICKER_MIME_INVALID":"The specified sticker MIME type is invalid","STICKER_PNG_DIMENSIONS":"Sticker png dimensions invalid","STICKER_PNG_NOPNG":"One of the specified stickers is not a valid PNG file","STICKER_TGS_NODOC":"You must send the animated sticker as a document.","STICKER_TGS_NOTGS":"Invalid TGS sticker provided.","STICKER_THUMB_PNG_NOPNG":"Incorrect stickerset thumb file provided, PNG \/ WEBP expected.","STICKER_THUMB_TGS_NOTGS":"Incorrect stickerset TGS thumb file provided.","STICKER_VIDEO_BIG":"The specified video sticker is too big","STICKER_VIDEO_NODOC":"You must send the video sticker as a document.","STICKER_VIDEO_NOWEBM":"The specified video sticker is not in webm format","STICKERPACK_STICKERS_TOO_MUCH":"There are too many stickers in this stickerpack, you can't add any more","STICKERS_EMPTY":"No sticker provided","STICKERS_TOO_MUCH":"There are too many stickers in this stickerpack, you can't add any more","STICKERSET_INVALID":"The provided sticker set is invalid","STICKERSET_NOT_MODIFIED":"","STICKERSET_OWNER_ANONYMOUS":"Provided stickerset can't be installed as group stickerset to prevent admin deanonymization.","STORIES_NEVER_CREATED":"This peer hasn't ever posted any stories.","STORIES_TOO_MUCH":"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.","STORY_ID_EMPTY":"You specified no story IDs.","STORY_ID_INVALID":"The specified story ID is invalid","STORY_NOT_MODIFIED":"The new story information you passed is equal to the previous story information, thus it wasn't modified.","STORY_PERIOD_INVALID":"The specified story period is invalid for this account.","STORY_SEND_FLOOD_MONTHLY_%d":"You've hit the monthly story limit as specified by the [`stories_sent_monthly_limit_*` client configuration parameters](https:\/\/core.telegram.org\/api\/config#stories-sent-monthly-limit-default): wait for the specified number of seconds before posting a new story.","STORY_SEND_FLOOD_WEEKLY_%d":"You've hit the weekly story limit as specified by the [`stories_sent_weekly_limit_*` client configuration parameters](https:\/\/core.telegram.org\/api\/config#stories-sent-weekly-limit-default): wait for the specified number of seconds before posting a new story.","SWITCH_PM_TEXT_EMPTY":"The switch_pm.text field was empty","SWITCH_WEBVIEW_URL_INVALID":"The URL specified in switch_webview.url is invalid!","TAKEOUT_INIT_DELAY_%d":"Sorry, for security reasons, you will be able to begin downloading your data in %d seconds. We have notified all your devices about the export request to make sure it's authorized and to give you time to react if it's not.","TAKEOUT_INVALID":"The specified takeout ID is invalid","TAKEOUT_REQUIRED":"A [takeout](https:\/\/core.telegram.org\/api\/takeout) session needs to be initialized first, [see here » for more info](\/api\/takeout).","TASK_ALREADY_EXISTS":"An email reset was already requested.","TEMP_AUTH_KEY_ALREADY_BOUND":"The passed temporary key is already bound to another **perm_auth_key_id**.","TEMP_AUTH_KEY_EMPTY":"No temporary auth key provided","THEME_FILE_INVALID":"Invalid theme file provided","THEME_FORMAT_INVALID":"Invalid theme format provided","THEME_INVALID":"Invalid theme provided","THEME_MIME_INVALID":"The theme's MIME type is invalid","THEME_TITLE_INVALID":"The specified theme title is invalid","Timeout":"Timeout while fetching data","TITLE_INVALID":"The specified stickerpack title is invalid","TMP_PASSWORD_DISABLED":"The temporary password is disabled","TMP_PASSWORD_INVALID":"The passed tmp_password is invalid","TO_LANG_INVALID":"The specified destination language is invalid","TOKEN_EMPTY":"The specified token is empty","TOKEN_INVALID":"The provided token is invalid","TOKEN_TYPE_INVALID":"The specified token type is invalid","TOPIC_CLOSE_SEPARATELY":"The `close` flag cannot be provided together with any of the other flags","TOPIC_CLOSED":"This topic was closed, you can't send messages to it anymore","TOPIC_DELETED":"The specified topic was deleted","TOPIC_HIDE_SEPARATELY":"The `hide` flag cannot be provided together with any of the other flags","TOPIC_ID_INVALID":"The specified topic ID is invalid","TOPIC_NOT_MODIFIED":"The updated topic info is equal to the current topic info, nothing was changed","TOPIC_TITLE_EMPTY":"The specified topic title is empty.","TOPICS_EMPTY":"You specified no topic IDs.","TRANSCRIPTION_FAILED":"Audio transcription failed","TRANSLATE_REQ_QUOTA_EXCEEDED":"","TTL_DAYS_INVALID":"The provided TTL is invalid","TTL_MEDIA_INVALID":"Invalid media Time To Live was provided","TTL_PERIOD_INVALID":"The specified TTL period is invalid","TYPES_EMPTY":"No top peer type was provided","UNTIL_DATE_INVALID":"Invalid until date provided","UPDATE_APP_TO_LOGIN":"Please update to the latest version of MadelineProto to login.","URL_INVALID":"Invalid URL provided","USAGE_LIMIT_INVALID":"The specified usage limit is invalid","USER_ADMIN_INVALID":"You're not an admin","USER_ALREADY_INVITED":"You have already invited this user","USER_ALREADY_PARTICIPANT":"The user is already in the group","USER_BANNED_IN_CHANNEL":"You're banned from sending messages in supergroups\/channels","USER_BLOCKED":"User blocked","USER_BOT":"Bots can only be admins in channels.","USER_BOT_INVALID":"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.","USER_BOT_REQUIRED":"This method can only be called by a bot","USER_CHANNELS_TOO_MUCH":"One of the users you tried to add is already in too many channels\/supergroups","USER_CREATOR":"You can't leave this channel, because you're its creator","USER_DEACTIVATED":"The current account was deleted by the user","USER_DEACTIVATED_BAN":"The current account was deleted and banned by Telegram's antispam system","USER_DELETED":"You can't send this secret message because the other participant deleted their account.","USER_ID_INVALID":"The provided user ID is invalid","USER_INVALID":"Invalid user provided","USER_IS_BLOCKED":"You were blocked by this user","USER_IS_BOT":"Bots can't send messages to other bots","USER_KICKED":"This user was kicked from this supergroup\/channel","USER_MIGRATE_%d":"Your account is associated to DC %d, please re-send the query to that DC.","USER_NOT_MUTUAL_CONTACT":"The provided user is not a mutual contact","USER_NOT_PARTICIPANT":"You're not a member of this supergroup\/channel","USER_PRIVACY_RESTRICTED":"The user's privacy settings do not allow you to do this","USER_PUBLIC_MISSING":"Cannot generate a link to stories posted by a peer without a username.","USER_RESTRICTED":"You're spamreported, you can't create channels or chats.","USER_VOLUME_INVALID":"The specified user volume is invalid","USERNAME_INVALID":"The provided username is not valid","USERNAME_NOT_MODIFIED":"The username was not modified","USERNAME_NOT_OCCUPIED":"The provided username is not occupied","USERNAME_OCCUPIED":"The provided username is already occupied","USERNAME_PURCHASE_AVAILABLE":"The specified username can be purchased on https:\/\/fragment.com","USERNAMES_ACTIVE_TOO_MUCH":"The maximum number of active usernames was reached","USERPIC_PRIVACY_REQUIRED":"You need to disable privacy settings for your profile picture in order to make your geolocation public.","USERPIC_UPLOAD_REQUIRED":"You must have a profile picture to publish your geolocation","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)","VENUE_ID_INVALID":"The specified venue ID is invalid","VIDEO_CONTENT_TYPE_INVALID":"The video's content type is invalid","VIDEO_FILE_INVALID":"The specified video file is invalid","VIDEO_PAUSE_FORBIDDEN":"You cannot pause the video stream","VIDEO_STOP_FORBIDDEN":"You cannot stop the video stream","VIDEO_TITLE_EMPTY":"The specified video title is empty","VOICE_MESSAGES_FORBIDDEN":"This user's privacy settings forbid you from sending voice messages","WALLPAPER_FILE_INVALID":"The specified wallpaper file is invalid","WALLPAPER_INVALID":"The specified wallpaper is invalid","WALLPAPER_MIME_INVALID":"The specified wallpaper MIME type is invalid","WALLPAPER_NOT_FOUND":"The specified wallpaper could not be found","WC_CONVERT_URL_INVALID":"WC convert URL invalid","WEBDOCUMENT_INVALID":"Invalid webdocument URL provided","WEBDOCUMENT_MIME_INVALID":"Invalid webdocument mime type provided","WEBDOCUMENT_SIZE_TOO_BIG":"Webdocument is too big!","WEBDOCUMENT_URL_EMPTY":"The passed web document URL is empty","WEBDOCUMENT_URL_INVALID":"The specified webdocument URL is invalid","WEBPAGE_CURL_FAILED":"Failure while fetching the webpage with cURL","WEBPAGE_MEDIA_EMPTY":"Webpage media empty","WEBPAGE_NOT_FOUND":"A preview for the specified webpage `url` could not be generated","WEBPAGE_URL_INVALID":"The specified webpage `url` is invalid","WEBPUSH_AUTH_INVALID":"The specified web push authentication secret is invalid.","WEBPUSH_KEY_INVALID":"The specified web push elliptic curve Diffie-Hellman public key is invalid.","WEBPUSH_TOKEN_INVALID":"The specified web push token is invalid.","YOU_BLOCKED_USER":"You blocked this user","YOUR_PRIVACY_RESTRICTED":"You cannot fetch the read date of this message because you have disallowed other users to do so for *your* messages; to fix, allow other users to see *your* exact last online date OR purchase a [Telegram Premium](https:\/\/core.telegram.org\/api\/premium) subscription."}} \ No newline at end of file diff --git a/tools/build_docs.php b/tools/build_docs.php index c06c387c0..38fcde24f 100755 --- a/tools/build_docs.php +++ b/tools/build_docs.php @@ -59,6 +59,7 @@ copy('https://rpc.madelineproto.xyz/v3.json', 'src/v3.json'); `rm -r src/RPCError/*`; `git checkout src/RPCError/FloodWaitError.php`; +`git checkout src/RPCError/TimeoutError.php`; `git checkout src/RPCError/FloodPremiumWaitError.php`; `git checkout src/RPCError/RateLimitError.php`; @@ -81,7 +82,7 @@ $whitelist = [ FileTokenInvalidError::class => true, \danog\MadelineProto\RPCError\RequestTokenInvalidError::class => true, \danog\MadelineProto\RPCError\SessionPasswordNeededError::class => true, - \danog\MadelineProto\RPCError\ChannelPrivateError::class => true, + \danog\MadelineProto\RPCError\ChannelInvalidError::class => true, \danog\MadelineProto\RPCError\ChatForbiddenError::class => true, ]; @@ -98,6 +99,7 @@ foreach ($errors['result'] as $code => $sub) { } $code = var_export($code, true); foreach ($sub as $err => $methods) { + $err = (string) $err; $camel = ucfirst(StrTools::toCamelCase(strtolower($err))).'Error'; if (!preg_match('/^\w+$/', $camel)) { continue; From bb763a0667a2d44bbe952aab9b6a27b3c2c75331 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 26 Jun 2024 17:59:16 +0200 Subject: [PATCH 05/15] Add a few more RPC error exceptions --- src/Loop/Update/UpdateLoop.php | 16 ++++------- src/MTProtoTools/PeerDatabase.php | 10 ++----- src/RPCError/TimeoutError.php | 6 +--- src/RPCError/UsernameInvalidError.php | 35 +++++++++++++++++++++++ src/RPCError/UsernameNotOccupiedError.php | 35 +++++++++++++++++++++++ src/RPCErrorException.php | 4 +-- tools/build_docs.php | 2 ++ 7 files changed, 83 insertions(+), 25 deletions(-) create mode 100644 src/RPCError/UsernameInvalidError.php create mode 100644 src/RPCError/UsernameNotOccupiedError.php diff --git a/src/Loop/Update/UpdateLoop.php b/src/Loop/Update/UpdateLoop.php index a98b6a5b6..105f29969 100644 --- a/src/Loop/Update/UpdateLoop.php +++ b/src/Loop/Update/UpdateLoop.php @@ -31,8 +31,8 @@ use danog\MadelineProto\PTSException; use danog\MadelineProto\RPCError\ChannelInvalidError; use danog\MadelineProto\RPCError\ChannelPrivateError; use danog\MadelineProto\RPCError\ChatForbiddenError; +use danog\MadelineProto\RPCError\TimeoutError; use danog\MadelineProto\RPCError\UserBannedInChannelError; -use danog\MadelineProto\RPCErrorException; use Revolt\EventLoop; use function Amp\delay; @@ -105,12 +105,9 @@ final class UpdateLoop extends Loop $this->API->getChannelStates()->remove($this->channelId); $this->API->logger("Channel private, exiting {$this}"); return self::STOP; - } catch (RPCErrorException $e) { - if ($e->rpc === '-503') { - delay(1.0); - continue; - } - throw $e; + } catch (TimeoutError $e) { + delay(1.0); + continue; } catch (PeerNotInDbException) { $this->feeder->stop(); $this->API->getChannelStates()->remove($this->channelId); @@ -175,10 +172,7 @@ final class UpdateLoop extends Loop try { $difference = $this->API->methodCallAsyncRead('updates.getDifference', ['pts' => $state->pts(), 'date' => $state->date(), 'qts' => $state->qts()], $this->API->authorized_dc); break; - } catch (RPCErrorException $e) { - if ($e->rpc !== '-503') { - throw $e; - } + } catch (TimeoutError) { } catch (TimeoutException) { EventLoop::queue($this->API->report(...), "Network issues detected, please check logs!"); continue; diff --git a/src/MTProtoTools/PeerDatabase.php b/src/MTProtoTools/PeerDatabase.php index aff16b0fd..edbd04f6c 100644 --- a/src/MTProtoTools/PeerDatabase.php +++ b/src/MTProtoTools/PeerDatabase.php @@ -35,6 +35,8 @@ use danog\MadelineProto\Logger; use danog\MadelineProto\MTProto; use danog\MadelineProto\PeerNotInDbException; use danog\MadelineProto\RPCError\FloodWaitError; +use danog\MadelineProto\RPCError\UsernameInvalidError; +use danog\MadelineProto\RPCError\UsernameNotOccupiedError; use danog\MadelineProto\RPCErrorException; use danog\MadelineProto\TL\TLCallback; use danog\MadelineProto\Tools; @@ -336,13 +338,7 @@ final class PeerDatabase implements TLCallback $result = $this->API->getIdInternal( ($this->API->methodCallAsyncRead('contacts.resolveUsername', ['username' => $username]))['peer'], ); - } catch (FloodWaitError $e) { - throw $e; - } catch (RPCErrorException $e) { - $this->API->logger('Username resolution failed with error '.$e->getMessage(), Logger::ERROR); - if ($e->rpc === 'AUTH_KEY_UNREGISTERED' || $e->rpc === 'USERNAME_INVALID') { - throw $e; - } + } catch (UsernameNotOccupiedError) { } finally { unset($this->caching_simple_username[$username]); } diff --git a/src/RPCError/TimeoutError.php b/src/RPCError/TimeoutError.php index ccc78e199..dbcc41750 100644 --- a/src/RPCError/TimeoutError.php +++ b/src/RPCError/TimeoutError.php @@ -18,14 +18,10 @@ namespace danog\MadelineProto\RPCError; -use Amp\Cancellation; use danog\MadelineProto\RPCErrorException; -use Exception; - -use function Amp\delay; /** - * Represents a request timeout RPC error returned by telegram. + * Represents a request timeout RPC error returned by telegram (as opposed to one returned by MadelineProto, which will be an \Amp\TimeoutException). */ final class TimeoutError extends RPCErrorException { diff --git a/src/RPCError/UsernameInvalidError.php b/src/RPCError/UsernameInvalidError.php new file mode 100644 index 000000000..1624791b7 --- /dev/null +++ b/src/RPCError/UsernameInvalidError.php @@ -0,0 +1,35 @@ +. + * + * @author Daniil Gentili + * @copyright 2016-2024 Daniil Gentili + * @license https://opensource.org/licenses/AGPL-3.0 AGPLv3 + * @link https://docs.madelineproto.xyz MadelineProto documentation + */ + +namespace danog\MadelineProto\RPCError; + +use danog\MadelineProto\RPCErrorException; + +/** + * The provided username is not valid. + * + * Note: this exception is part of the raw API, and thus is not covered by the backwards-compatibility promise. + * + * Always check the changelog when upgrading, and use tools like Psalm to easily upgrade your code. + */ +final class UsernameInvalidError extends RPCErrorException +{ + protected function __construct(int $code, string $caller, ?\Exception $previous = null) + { + parent::__construct('USERNAME_INVALID', 'The provided username is not valid.', $code, $caller, $previous); + } +} diff --git a/src/RPCError/UsernameNotOccupiedError.php b/src/RPCError/UsernameNotOccupiedError.php new file mode 100644 index 000000000..1b839ed65 --- /dev/null +++ b/src/RPCError/UsernameNotOccupiedError.php @@ -0,0 +1,35 @@ +. + * + * @author Daniil Gentili + * @copyright 2016-2024 Daniil Gentili + * @license https://opensource.org/licenses/AGPL-3.0 AGPLv3 + * @link https://docs.madelineproto.xyz MadelineProto documentation + */ + +namespace danog\MadelineProto\RPCError; + +use danog\MadelineProto\RPCErrorException; + +/** + * The provided username is not occupied. + * + * Note: this exception is part of the raw API, and thus is not covered by the backwards-compatibility promise. + * + * Always check the changelog when upgrading, and use tools like Psalm to easily upgrade your code. + */ +final class UsernameNotOccupiedError extends RPCErrorException +{ + protected function __construct(int $code, string $caller, ?\Exception $previous = null) + { + parent::__construct('USERNAME_NOT_OCCUPIED', 'The provided username is not occupied.', $code, $caller, $previous); + } +} diff --git a/src/RPCErrorException.php b/src/RPCErrorException.php index 7f7f94859..48af9a842 100644 --- a/src/RPCErrorException.php +++ b/src/RPCErrorException.php @@ -676,9 +676,9 @@ class RPCErrorException extends \Exception 'USER_NOT_PARTICIPANT' => new self($rpc, 'You\'re not a member of this supergroup/channel.', $code, $caller, $previous), 'USER_PUBLIC_MISSING' => new self($rpc, 'Cannot generate a link to stories posted by a peer without a username.', $code, $caller, $previous), 'USER_VOLUME_INVALID' => new self($rpc, 'The specified user volume is invalid.', $code, $caller, $previous), - 'USERNAME_INVALID' => new self($rpc, 'The provided username is not valid.', $code, $caller, $previous), + 'USERNAME_INVALID' => new \danog\MadelineProto\RPCError\UsernameInvalidError($code, $caller, $previous), 'USERNAME_NOT_MODIFIED' => new self($rpc, 'The username was not modified.', $code, $caller, $previous), - 'USERNAME_NOT_OCCUPIED' => new self($rpc, 'The provided username is not occupied.', $code, $caller, $previous), + 'USERNAME_NOT_OCCUPIED' => new \danog\MadelineProto\RPCError\UsernameNotOccupiedError($code, $caller, $previous), 'USERNAME_OCCUPIED' => new self($rpc, 'The provided username is already occupied.', $code, $caller, $previous), 'USERNAME_PURCHASE_AVAILABLE' => new self($rpc, 'The specified username can be purchased on https://fragment.com.', $code, $caller, $previous), 'USERNAMES_ACTIVE_TOO_MUCH' => new self($rpc, 'The maximum number of active usernames was reached.', $code, $caller, $previous), diff --git a/tools/build_docs.php b/tools/build_docs.php index 38fcde24f..b8a6b1925 100755 --- a/tools/build_docs.php +++ b/tools/build_docs.php @@ -84,6 +84,8 @@ $whitelist = [ \danog\MadelineProto\RPCError\SessionPasswordNeededError::class => true, \danog\MadelineProto\RPCError\ChannelInvalidError::class => true, \danog\MadelineProto\RPCError\ChatForbiddenError::class => true, + \danog\MadelineProto\RPCError\UsernameInvalidError::class => true, + \danog\MadelineProto\RPCError\UsernameNotOccupiedError::class => true, ]; $whitelistMethods = [ From aba85f8dd930d5d460395bb1018cb99046e3d976 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 26 Jun 2024 18:05:44 +0200 Subject: [PATCH 06/15] Bump --- docs | 2 +- langs/de.json | 1 + langs/zh_Hans.json | 162 ++++++++++++++++++++++++++++++ src/MTProtoTools/PeerDatabase.php | 2 - 4 files changed, 164 insertions(+), 3 deletions(-) create mode 100644 langs/de.json create mode 100644 langs/zh_Hans.json diff --git a/docs b/docs index 7346b4a4d..851eccfc2 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 7346b4a4d3e72c4a055cb5240ffd2621cb4c00db +Subproject commit 851eccfc27aaa54c068512f59a6c68e0dbbbe014 diff --git a/langs/de.json b/langs/de.json new file mode 100644 index 000000000..0967ef424 --- /dev/null +++ b/langs/de.json @@ -0,0 +1 @@ +{} diff --git a/langs/zh_Hans.json b/langs/zh_Hans.json new file mode 100644 index 000000000..1781bdb24 --- /dev/null +++ b/langs/zh_Hans.json @@ -0,0 +1,162 @@ +{ + "noReportPeers": "警告:未设置报告对等体,请将以下方法添加到您的事件处理程序中", + "mmapErrorPart1": "已达到内存映射(mmap)区域的最大数量(%s):请将 vm.max_map_count 内核配置增加到 262144 进行修复。", + "mmapErrorPart2": "要修复此问题,请以 root 身份运行以下命令:%s", + "mmapErrorPart3": "要在重启后保留更改:%s", + "botAlreadyRunning": "机器人已开始运行!", + "extensionRequiredInstallWithApt": "尝试运行 sudo apt-get install %s.", + "extensionRequired": "MadelineProto 需要 %s 扩展才能运行.%s", + "extensionRequiredInstallWithCustomInstructions": "按照 %s 中的说明进行安装。", + "apiManualPrompt0": "输入您的 API ID: ", + "apiAutoWeb": "输入已在电报上注册的电话号码以获取 API ID", + "apiAutoPrompt0": "输入已经在 Telegram 注册的电话号码: ", + "apiAppWeb": "输入 API 信息", + "apiAppInstructionsAuto0": "输入应用程序的名称,可以是任何内容: ", + "apiAppInstructionsAuto1": "输入应用程序的简称,字母数字,5-32个字符: ", + "apiAppInstructionsAuto3": "输入应用纲领: ", + "apiAppInstructionsAuto4": "描述你的应用: ", + "apiAppInstructionsAutoTypeOther": "其他(在描述中指定)", + "apiParamsError": "您没有提供所有必需的参数!", + "apiError": "错误:%s. 请重试。", + "loginChoosePromptWeb": "您想以用户身份还是机器人身份登录?", + "loginWebQr1": "在手机上打开 Telegram", + "loginWebQr2": "前往“设置”>“设备”>“链接桌面设备”", + "loginWebQr3": "将你的手机对准此屏幕以确认登录", + "loginOptionBot": "机器人", + "loginOptionUser": "用户", + "loginBot": "输入您的机器人令牌: ", + "loginUser": "输入你的电话号码: ", + "loginQrCodeSuccessful": "二维码登录成功!", + "loginQrCodeExpired": "QR 码已过期,正在生成新的 QR 码...", + "loginManual": "或者,您也可以输入机器人令牌或电话号码手动登录: ", + "loginUserCode": "输入验证码: ", + "loginUserPassWeb": "输入您的密码: ", + "loginUserPassHint": "提示:%s", + "signupFirstName": "输入您的名字: ", + "go": "去", + "apiChooseManualAutoTip": "请注意,您也可以使用以下设置直接在代码中提供 API ID/hash:%s", + "apiChooseManualAutoTipWeb": "请注意,您还可以使用设置直接在代码中提供 API ID/hash。", + "apiChoosePrompt": "您的选择 (m/a): ", + "apiManualInstructions0": "登录 https://my.telegram.org", + "apiManualInstructions1": "前往API 开发工具", + "apiManualInstructions2": "点击创建应用程序", + "apiAppInstructionsManual1": "您的应用的简称,字母数字,5-32 个字符", + "apiAppInstructionsManual2": "你的应用/网站的 URL,或者 t.me/yourusername", + "apiAppInstructionsManual3": "任何事", + "apiAppInstructionsManual4": "在此描述您的应用", + "signupLastNameWeb": "姓氏", + "loginNoPass": "您没有提供密码!", + "loginNoName": "您没有提供名字!", + "loginBotTokenWeb": "机器人令牌", + "loginUserPhoneWeb": "电话号码", + "loginUserPhoneCodeWeb": "验证码", + "done": "完成!", + "serialization_ofd": "序列化已过时,正在重建对象!", + "api_not_set": "您必须提供一个 api key 和一个 api id,请获取您自己的 @ my.telegram.org", + "session_corrupted": "会话已损坏!", + "value_smaller_than_2147483648": "提供的值 %s 小于 -2147483648", + "value_bigger_than_9223372036854775807": "提供的值 %s 大于 9223372036854775807", + "value_smaller_than_9223372036854775808": "提供的值 %s 小于 -9223372036854775808", + "value_bigger_than_4294967296": "提供的值 %s 大于 4294967296", + "value_smaller_than_0": "提供的值 %s 小于 0", + "file_not_exist": "文件不存在", + "deserialization_error": "反序列化时发生错误", + "rpc_tg_error": "Telegram 返回了 RPC 错误:%s(%s),由 %s:%s%sTL 跟踪导致:", + "madelineproto_ready": "MadelineProto 已准备好!", + "logout_ok": "退出成功!", + "login_ok": "登录成功!", + "login_user": "以普通用户身份登录...", + "peer_not_in_db": "内部对等数据库中不存在此对等点", + "call_error_1": "无法找到并接受呼叫 %s", + "accepting_call": "正在接听来自 %s 的电话...", + "call_already_accepted": "呼叫 %s 已被接受", + "login_bot": "以机器人身份登录...", + "login_code_sending": "正在发送代码...", + "login_code_sent": "代码发送成功!收到代码后,您应该使用 completePhoneLogin 函数。", + "login_2fa_enabled": "启用 2FA 后,您将必须调用 complete2falogin 函数...", + "login_need_signup": "尚未为此号码创建帐户,您必须调用 completeSignup 函数...", + "login_auth_key": "使用身份验证密钥登录...", + "not_loggedIn": "我还没有登录!", + "signing_up": "正在注册为普通用户...", + "signup_ok": "报名成功!", + "call_already_declined": "已拒绝来电 %s", + "call_error_2": "无法找到并确认呼叫 %s", + "call_error_3": "无法找到并完成呼叫 %s", + "fingerprint_invalid": "密钥指纹无效!", + "call_discarding": "正在丢弃呼叫 %s...", + "file_parsing": "正在解析 %s...", + "src_file_invalid": "提供的源文件无效: ", + "bool_error": "无法提取布尔值", + "not_numeric": "给定值不是数字", + "long_not_32": "给定值的长度不是 32 个字节", + "long_not_64": "给定值的长度不是 64 个字节", + "array_invalid": "您没有提供有效的数组", + "predicate_not_set": "谓词(_ 下的值)未设置!", + "type_extract_error": "无法提取类型“%s”,您应该更新 MadelineProto!", + "method_not_found": "找不到方法: ", + "params_missing": "缺少必需参数", + "sec_peer_not_in_db": "内部对等数据库中不存在此秘密对等体", + "stream_handle_invalid": "提供了无效的流句柄。", + "length_too_big": "长度太大", + "string_required": "期望的是字符串!", + "waveform_must_have_100_values": "波形数组必须有 100 个值!", + "waveform_value": "波形值必须介于0至31之间!", + "type_extract_error_id": "无法提取类型:%s,ID 为 %s,您应该更新 MadelineProto!", + "constructor_not_found": "未找到该类型的构造函数: ", + "botapi_conversion_error": "无法将 %s 转换为机器人 API 对象", + "file_type_invalid": "检测到无效的文件类型 (%s)", + "static_analysis_minor": "对 %s 进行静态分析时遇到一个小问题:%s", + "static_analysis_severe": "对 %s 进行静态分析时遇到严重问题:%s", + "must_have_declare_types": "出于性能原因,事件处理程序文件的第一个语句必须是“declare(strict_types=1);”", + "do_not_use_blocking_function": "出于性能原因,事件处理程序可能不会使用非异步阻塞函数 %s,请改用 %s", + "do_not_use_blocking_class": "出于性能原因,处理程序可能不会使用非异步阻塞类 %s,请改用 %s", + "do_not_use_deprecated_function": "%s 函数已弃用,请使用 %s 代替", + "do_not_use_non_root_require_in_event_handler": "出于性能原因,您不能在事件处理程序类中使用 require 或 include,只允许使用根级需要。", + "do_not_use_yield": "MadelineProto 8 不要求或支持在异步函数中使用 Yield,您必须删除以前用于异步函数调用的所有 Yield 关键字", + "baseDirLimitation": "配置了 basedir 限制:这可能会影响性能并导致一些问题,请尽可能禁用它!", + "manualAdminActionRequired": "!!!!!!!!! 需要系统管理员手动操作 !!!!!!!!!", + "mmapErrorPart4": "在 Windows 和 WSL 上,增加页面文件的大小可能会有所帮助;如果问题仍然存在,请切换到原生 Linux。", + "apiManualWeb": "输入您的 API ID 和 API hash", + "apiManualPrompt1": "输入您的 API hash: ", + "apiAutoPrompt1": "输入您在 Telegram 中收到的验证码: ", + "apiAppInstructionsAuto2": "输入应用程序/网站的 URL,或 t.me/yourusername: ", + "loginWebQr": "您也可以通过扫描以下二维码自动登录:", + "loginQr": "扫描以上二维码即可自动登录。", + "loginUserPass": "输入您的密码(提示 %s): ", + "signupLastName": "输入您的姓氏(可以为空): ", + "signupWeb": "请注册", + "signupFirstNameWeb": "名字", + "plugins_do_not_use_require": "出于性能原因,插件只能通过触发 PSR-4 自动加载器来自动包含或需要插件文件夹中的其他文件(而不是通过手动 require() 它们)。", + "cli_need_dl.php_link": "通过 CLI 使用 getDownloadLink 时,请指定下载脚本 URL!", + "invalid_dl.php_session": "%s 不是有效的下载脚本,因为其会话 ID 不同(预期为 %s,实际为 %s)", + "need_dl.php": "无法生成默认下载脚本(%s),请创建一个包含以下内容的 dl.php 文件:%s 并将其 URL 传递给 getDownloadLink 的第二个参数", + "dl.php_check_logs_make_sure_session_running": "相关的 MadelineProto EventHandler 机器人或 MadelineProto IPC 服务器处于离线状态,请检查日志并确保其中至少有一个正在运行!", + "plugin_path_does_not_exist": "插件路径 %s 不存在!", + "windows_warning": "对于 Windows 用户:如果失败,请切换到 Linux。您还可以尝试修改防火墙设置以允许所有 PHP 进程创建套接字(切换到 Linux 更容易,在 Linux 上 MadelineProto 开箱即用,无需进行任何更改)", + "translate_madelineproto_web": "MadelineProto 可以翻译成您的语言(当前翻译进度:%d%%),点击此处为翻译做出贡献!", + "translate_madelineproto_cli": "MadelineProto 可以翻译成您的语言(当前翻译进度:%d%%),请访问 https://weblate.madelineproto.xyz 为翻译做出贡献!", + "loginNoCode": "您没有提供电话代码!", + "2fa_uncalled": "我不等你输入密码!请先调用 phoneLogin 和 completePhoneLogin 方法!", + "account_banned": "!!!!!!! 警告 !!!!!!!\nTelegram 的防洪系统已暂停此帐户。\n要继续,需要手动验证。\n发送电子邮件至 recovery@telegram.org,要求解禁电话号码 %s,并简要描述您将如何处理此电话号码。\n然后重新登录。\n如果您有意删除此帐户,请忽略此消息。", + "could_not_connect_to_MadelineProto": "无法连接到 MadelineProto,请启用 proc_open 并删除 open_basedir 限制或禁用 webserver 路径重写以进行修复!如果您已经这样做了,请确保 PHP 的 CLI 版本与 web 版本完全相同(相同的版本、扩展等),并查看 MadelineProto.log 文件以获取有关阻止 IPC 服务器启动的错误的更多信息。", + "nearest_dc": "我们在 %s,最近的 DC 是 %d。", + "value_bigger_than_2147483647": "提供的值 %s 大于 2147483647", + "encode_double_error": "无法正确编码双重", + "already_loggedIn": "MadelineProto 的这个实例已经登录!", + "extensionRecommended": "警告:未安装 %s 扩展,请安装它以加快 MadelineProto 的速度!", + "apiAppInstructionsManual0": "你的应用名称,可以是任意名称", + "login_code_uncalled": "我不等代码了!请先调用 phoneLogin 方法", + "call_confirming": "确认来自 %s 的呼叫...", + "call_completing": "正在完成来自 %s 的呼叫...", + "long_not_16": "给定值的长度不是 16 个字节", + "could_not_convert_object": "无法转换 %s 类型的对象", + "non_text_conversion": "尚无法转换非文本信息!", + "secret_chat_skipping": "我的数据库中没有秘密聊天 %s,跳过消息...", + "do_not_delete_MadelineProto.log": "绝不能删除 MadelineProto.log 文件,请在设置中设置自定义最大大小!", + "do_not_remove_MadelineProto.log_phar": "请不要删除 madeline.phar 或 madeline.php,否则 MadelineProto 将崩溃。如果您对 MadelineProto 有任何问题,请报告给 https://github.com/danog/MadelineProto 或 https://t.me/pwrtelegramgroup", + "recommend_not_use_filesystem_function": "不建议使用 %s 函数,因为在更新处理期间访问文件系统会减慢您的机器人速度,请参阅 https://docs.madelineproto.xyz/docs/UPDATES.html#avoiding-the-use-of-filesystem-functions 以获取不会减慢您的机器人速度的替代数据存储方法列表!", + "signup_uncalled": "我不等着注册!请先调用 phoneLogin 和 completePhoneLogin 方法!", + "update_madelineproto": "您正在运行旧版本的 MadelineProto,需要更新:当前运行 %s,但最新版本具有多项错误修复和新功能是 %s!", + "plugins_must_have_exactly_one_class": "一个插件必须定义一个类!要定义多个类、接口或特征,请创建单独的文件,它们将由 MadelineProto 自动加载。", + "dl.php_powered_by_madelineproto": "Telegram 文件下载服务器(最高 4GB),由 MadelineProto 提供支持!
单击此处了解有关如何设置您自己的 Telegram 文件下载服务器的更多信息!" +} diff --git a/src/MTProtoTools/PeerDatabase.php b/src/MTProtoTools/PeerDatabase.php index edbd04f6c..faaa0fe0c 100644 --- a/src/MTProtoTools/PeerDatabase.php +++ b/src/MTProtoTools/PeerDatabase.php @@ -34,8 +34,6 @@ use danog\MadelineProto\LegacyMigrator; use danog\MadelineProto\Logger; use danog\MadelineProto\MTProto; use danog\MadelineProto\PeerNotInDbException; -use danog\MadelineProto\RPCError\FloodWaitError; -use danog\MadelineProto\RPCError\UsernameInvalidError; use danog\MadelineProto\RPCError\UsernameNotOccupiedError; use danog\MadelineProto\RPCErrorException; use danog\MadelineProto\TL\TLCallback; From 63e357696ba90abb24615e7baff013d956fe2cf0 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 26 Jun 2024 18:08:52 +0200 Subject: [PATCH 07/15] Cleanup timeout logic --- docs | 2 +- src/Loop/Update/UpdateLoop.php | 2 +- src/RPCError/TimeoutError.php | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docs b/docs index 851eccfc2..810ac91d8 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 851eccfc27aaa54c068512f59a6c68e0dbbbe014 +Subproject commit 810ac91d86265f114a736222b7bf0b7c5115f878 diff --git a/src/Loop/Update/UpdateLoop.php b/src/Loop/Update/UpdateLoop.php index 105f29969..6f7475b00 100644 --- a/src/Loop/Update/UpdateLoop.php +++ b/src/Loop/Update/UpdateLoop.php @@ -173,9 +173,9 @@ final class UpdateLoop extends Loop $difference = $this->API->methodCallAsyncRead('updates.getDifference', ['pts' => $state->pts(), 'date' => $state->date(), 'qts' => $state->qts()], $this->API->authorized_dc); break; } catch (TimeoutError) { + delay(1.0); } catch (TimeoutException) { EventLoop::queue($this->API->report(...), "Network issues detected, please check logs!"); - continue; } } while (true); $this->API->logger('Got '.$difference['_'], Logger::ULTRA_VERBOSE); diff --git a/src/RPCError/TimeoutError.php b/src/RPCError/TimeoutError.php index dbcc41750..30240c6b2 100644 --- a/src/RPCError/TimeoutError.php +++ b/src/RPCError/TimeoutError.php @@ -18,10 +18,13 @@ namespace danog\MadelineProto\RPCError; +use Amp\TimeoutException; use danog\MadelineProto\RPCErrorException; /** - * Represents a request timeout RPC error returned by telegram (as opposed to one returned by MadelineProto, which will be an \Amp\TimeoutException). + * Represents a request timeout RPC error returned by telegram (as opposed to one returned by MadelineProto, which will be a {@see TimeoutException}). + * + * @see TimeoutException */ final class TimeoutError extends RPCErrorException { From da277da0da33810eea925ef5005721e544895b4b Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 26 Jun 2024 18:25:54 +0200 Subject: [PATCH 08/15] Always pass default cancellation --- docs | 2 +- src/APIWrapper.php | 11 ++++++ src/InternalDoc.php | 60 ++++++++++++++--------------- src/MTProto.php | 4 +- src/MTProtoTools/AuthKeyHandler.php | 5 ++- src/VoIP/AuthKeyHandler.php | 5 ++- src/VoIPController.php | 8 ++-- tools/AnnotationsBuilder.php | 11 +++++- 8 files changed, 65 insertions(+), 41 deletions(-) diff --git a/docs b/docs index 810ac91d8..0385b677f 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 810ac91d86265f114a736222b7bf0b7c5115f878 +Subproject commit 0385b677fe87246a0ae35b362929b96dd3ffcccd diff --git a/src/APIWrapper.php b/src/APIWrapper.php index 2c05f0552..4b6f68ab2 100644 --- a/src/APIWrapper.php +++ b/src/APIWrapper.php @@ -20,6 +20,8 @@ declare(strict_types=1); namespace danog\MadelineProto; +use Amp\Cancellation; +use Amp\TimeoutCancellation; use danog\MadelineProto\Ipc\Client; final class APIWrapper @@ -74,6 +76,15 @@ final class APIWrapper return $this->API; } + private ?int $drop = null; + /** + * @internal + */ + public function getRpcDropCancellation(): Cancellation + { + return new TimeoutCancellation($this->drop ??= $this->getAPI()->getSettings()->getRpc()->getRpcDropTimeout()); + } + /** * Get IPC path. * diff --git a/src/InternalDoc.php b/src/InternalDoc.php index c10b773c1..a525bc8b8 100644 --- a/src/InternalDoc.php +++ b/src/InternalDoc.php @@ -178,9 +178,9 @@ abstract class InternalDoc /** * Accept call. */ - final public function acceptCall(int $id): void + final public function acceptCall(int $id, ?\Amp\Cancellation $cancellation = null): void { - $this->wrapper->getAPI()->acceptCall($id); + $this->wrapper->getAPI()->acceptCall($id, $cancellation ?? $this->wrapper->getRpcDropCancellation()); } /** * Accept secret chat. @@ -359,7 +359,7 @@ abstract class InternalDoc */ final public static function canUseFFmpeg(?\Amp\Cancellation $cancellation = null): bool { - return \danog\MadelineProto\Tools::canUseFFmpeg($cancellation); + return \danog\MadelineProto\Tools::canUseFFmpeg($cancellation ?? $this->wrapper->getRpcDropCancellation()); } /** * Cancel a running broadcast. @@ -448,7 +448,7 @@ abstract class InternalDoc */ final public function downloadToBrowser(\danog\MadelineProto\FileCallbackInterface|\danog\MadelineProto\EventHandler\Message|array|string $messageMedia, ?callable $cb = null, ?int $size = null, ?string $name = null, ?string $mime = null, ?\Amp\Cancellation $cancellation = null): void { - $this->wrapper->getAPI()->downloadToBrowser($messageMedia, $cb, $size, $name, $mime, $cancellation); + $this->wrapper->getAPI()->downloadToBrowser($messageMedia, $cb, $size, $name, $mime, $cancellation ?? $this->wrapper->getRpcDropCancellation()); } /** * Download file to callable. @@ -465,7 +465,7 @@ abstract class InternalDoc */ final public function downloadToCallable(mixed $messageMedia, callable $callable, ?callable $cb = null, bool $seekable = true, int $offset = 0, int $end = -1, ?int $part_size = null, ?\Amp\Cancellation $cancellation = null): void { - $this->wrapper->getAPI()->downloadToCallable($messageMedia, $callable, $cb, $seekable, $offset, $end, $part_size, $cancellation); + $this->wrapper->getAPI()->downloadToCallable($messageMedia, $callable, $cb, $seekable, $offset, $end, $part_size, $cancellation ?? $this->wrapper->getRpcDropCancellation()); } /** * Download file to directory. @@ -478,7 +478,7 @@ abstract class InternalDoc */ final public function downloadToDir(mixed $messageMedia, \danog\MadelineProto\FileCallbackInterface|string $dir, ?callable $cb = null, ?\Amp\Cancellation $cancellation = null): string { - return $this->wrapper->getAPI()->downloadToDir($messageMedia, $dir, $cb, $cancellation); + return $this->wrapper->getAPI()->downloadToDir($messageMedia, $dir, $cb, $cancellation ?? $this->wrapper->getRpcDropCancellation()); } /** * Download file. @@ -491,7 +491,7 @@ abstract class InternalDoc */ final public function downloadToFile(mixed $messageMedia, \danog\MadelineProto\FileCallbackInterface|string $file, ?callable $cb = null, ?\Amp\Cancellation $cancellation = null): string { - return $this->wrapper->getAPI()->downloadToFile($messageMedia, $file, $cb, $cancellation); + return $this->wrapper->getAPI()->downloadToFile($messageMedia, $file, $cb, $cancellation ?? $this->wrapper->getRpcDropCancellation()); } /** * Download file to amphp/http-server response. @@ -507,7 +507,7 @@ abstract class InternalDoc */ final public function downloadToResponse(\danog\MadelineProto\FileCallbackInterface|\danog\MadelineProto\EventHandler\Message|array|string $messageMedia, \Amp\Http\Server\Request $request, ?callable $cb = null, ?int $size = null, ?string $mime = null, ?string $name = null, ?\Amp\Cancellation $cancellation = null): \Amp\Http\Server\Response { - return $this->wrapper->getAPI()->downloadToResponse($messageMedia, $request, $cb, $size, $mime, $name, $cancellation); + return $this->wrapper->getAPI()->downloadToResponse($messageMedia, $request, $cb, $size, $mime, $name, $cancellation ?? $this->wrapper->getRpcDropCancellation()); } /** * Download file to an amphp stream, returning it. @@ -519,7 +519,7 @@ abstract class InternalDoc */ final public function downloadToReturnedStream(mixed $messageMedia, ?callable $cb = null, int $offset = 0, int $end = -1, ?\Amp\Cancellation $cancellation = null): \Amp\ByteStream\ReadableStream { - return $this->wrapper->getAPI()->downloadToReturnedStream($messageMedia, $cb, $offset, $end, $cancellation); + return $this->wrapper->getAPI()->downloadToReturnedStream($messageMedia, $cb, $offset, $end, $cancellation ?? $this->wrapper->getRpcDropCancellation()); } /** * Download file to stream. @@ -532,7 +532,7 @@ abstract class InternalDoc */ final public function downloadToStream(mixed $messageMedia, mixed $stream, ?callable $cb = null, int $offset = 0, int $end = -1, ?\Amp\Cancellation $cancellation = null): void { - $this->wrapper->getAPI()->downloadToStream($messageMedia, $stream, $cb, $offset, $end, $cancellation); + $this->wrapper->getAPI()->downloadToStream($messageMedia, $stream, $cb, $offset, $end, $cancellation ?? $this->wrapper->getRpcDropCancellation()); } /** * Asynchronously write to stdout/browser. @@ -763,9 +763,9 @@ abstract class InternalDoc /** * Get diffie-hellman configuration. */ - final public function getDhConfig(): array + final public function getDhConfig(?\Amp\Cancellation $cancellation = null): array { - return $this->wrapper->getAPI()->getDhConfig(); + return $this->wrapper->getAPI()->getDhConfig($cancellation ?? $this->wrapper->getRpcDropCancellation()); } /** * Get dialog IDs. @@ -1135,7 +1135,7 @@ abstract class InternalDoc */ final public function getStream(\danog\MadelineProto\EventHandler\Message|\danog\MadelineProto\EventHandler\Media|\danog\MadelineProto\LocalFile|\danog\MadelineProto\RemoteUrl|\danog\MadelineProto\BotApiFileId|\Amp\ByteStream\ReadableStream $stream, ?\Amp\Cancellation $cancellation = null, ?int &$size = null): \Amp\ByteStream\ReadableStream { - return $this->wrapper->getAPI()->getStream($stream, $cancellation, $size); + return $this->wrapper->getAPI()->getStream($stream, $cancellation ?? $this->wrapper->getRpcDropCancellation(), $size); } /** * Obtains a pipe that can be used to upload a file from a stream. @@ -1471,7 +1471,7 @@ abstract class InternalDoc */ final public static function openBuffered(\danog\MadelineProto\LocalFile|\danog\MadelineProto\RemoteUrl|\Amp\ByteStream\ReadableStream $stream, ?\Amp\Cancellation $cancellation = null): \Closure { - return \danog\MadelineProto\Tools::openBuffered($stream, $cancellation); + return \danog\MadelineProto\Tools::openBuffered($stream, $cancellation ?? $this->wrapper->getRpcDropCancellation()); } /** * Opens a file in append-only mode. @@ -1737,7 +1737,7 @@ abstract class InternalDoc */ final public function sendAudio(string|int $peer, \danog\MadelineProto\EventHandler\Message|\danog\MadelineProto\EventHandler\Media|\danog\MadelineProto\LocalFile|\danog\MadelineProto\RemoteUrl|\danog\MadelineProto\BotApiFileId|\Amp\ByteStream\ReadableStream $file, \danog\MadelineProto\EventHandler\Message|\danog\MadelineProto\EventHandler\Media|\danog\MadelineProto\LocalFile|\danog\MadelineProto\RemoteUrl|\danog\MadelineProto\BotApiFileId|\Amp\ByteStream\ReadableStream|null $thumb = null, string $caption = '', \danog\MadelineProto\ParseMode $parseMode = \danog\MadelineProto\ParseMode::TEXT, ?callable $callback = null, ?string $fileName = null, ?string $mimeType = null, ?int $duration = null, ?string $title = null, ?string $performer = null, ?int $ttl = null, ?int $replyToMsgId = null, ?int $topMsgId = null, ?array $replyMarkup = null, string|int|null $sendAs = null, ?int $scheduleDate = null, bool $silent = false, bool $noForwards = false, bool $background = false, bool $clearDraft = false, bool $forceResend = false, ?\Amp\Cancellation $cancellation = null): \danog\MadelineProto\EventHandler\Message { - return $this->wrapper->getAPI()->sendAudio($peer, $file, $thumb, $caption, $parseMode, $callback, $fileName, $mimeType, $duration, $title, $performer, $ttl, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $forceResend, $cancellation); + return $this->wrapper->getAPI()->sendAudio($peer, $file, $thumb, $caption, $parseMode, $callback, $fileName, $mimeType, $duration, $title, $performer, $ttl, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $forceResend, $cancellation ?? $this->wrapper->getRpcDropCancellation()); } /** * Sends an updateCustomEvent update to the event handler. @@ -1773,7 +1773,7 @@ abstract class InternalDoc */ final public function sendDocument(string|int $peer, \danog\MadelineProto\EventHandler\Message|\danog\MadelineProto\EventHandler\Media|\danog\MadelineProto\LocalFile|\danog\MadelineProto\RemoteUrl|\danog\MadelineProto\BotApiFileId|\Amp\ByteStream\ReadableStream $file, \danog\MadelineProto\EventHandler\Message|\danog\MadelineProto\EventHandler\Media|\danog\MadelineProto\LocalFile|\danog\MadelineProto\RemoteUrl|\danog\MadelineProto\BotApiFileId|\Amp\ByteStream\ReadableStream|null $thumb = null, string $caption = '', \danog\MadelineProto\ParseMode $parseMode = \danog\MadelineProto\ParseMode::TEXT, ?callable $callback = null, ?string $fileName = null, ?string $mimeType = null, ?int $ttl = null, bool $spoiler = false, ?int $replyToMsgId = null, ?int $topMsgId = null, ?array $replyMarkup = null, string|int|null $sendAs = null, ?int $scheduleDate = null, bool $silent = false, bool $noForwards = false, bool $background = false, bool $clearDraft = false, bool $updateStickersetsOrder = false, bool $forceResend = false, ?\Amp\Cancellation $cancellation = null): \danog\MadelineProto\EventHandler\Message { - return $this->wrapper->getAPI()->sendDocument($peer, $file, $thumb, $caption, $parseMode, $callback, $fileName, $mimeType, $ttl, $spoiler, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $updateStickersetsOrder, $forceResend, $cancellation); + return $this->wrapper->getAPI()->sendDocument($peer, $file, $thumb, $caption, $parseMode, $callback, $fileName, $mimeType, $ttl, $spoiler, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $updateStickersetsOrder, $forceResend, $cancellation ?? $this->wrapper->getRpcDropCancellation()); } /** * Sends a photo. @@ -1801,7 +1801,7 @@ abstract class InternalDoc */ final public function sendDocumentPhoto(string|int $peer, \danog\MadelineProto\EventHandler\Message|\danog\MadelineProto\EventHandler\Media|\danog\MadelineProto\LocalFile|\danog\MadelineProto\RemoteUrl|\danog\MadelineProto\BotApiFileId|\Amp\ByteStream\ReadableStream $file, string $caption = '', \danog\MadelineProto\ParseMode $parseMode = \danog\MadelineProto\ParseMode::TEXT, ?callable $callback = null, ?string $fileName = null, ?int $ttl = null, bool $spoiler = false, ?int $replyToMsgId = null, ?int $topMsgId = null, ?array $replyMarkup = null, string|int|null $sendAs = null, ?int $scheduleDate = null, bool $silent = false, bool $noForwards = false, bool $background = false, bool $clearDraft = false, bool $updateStickersetsOrder = false, bool $forceResend = false, ?\Amp\Cancellation $cancellation = null): \danog\MadelineProto\EventHandler\Message { - return $this->wrapper->getAPI()->sendDocumentPhoto($peer, $file, $caption, $parseMode, $callback, $fileName, $ttl, $spoiler, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $updateStickersetsOrder, $forceResend, $cancellation); + return $this->wrapper->getAPI()->sendDocumentPhoto($peer, $file, $caption, $parseMode, $callback, $fileName, $ttl, $spoiler, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $updateStickersetsOrder, $forceResend, $cancellation ?? $this->wrapper->getRpcDropCancellation()); } /** * Sends a gif. @@ -1832,7 +1832,7 @@ abstract class InternalDoc */ final public function sendGif(string|int $peer, \danog\MadelineProto\EventHandler\Message|\danog\MadelineProto\EventHandler\Media|\danog\MadelineProto\LocalFile|\danog\MadelineProto\RemoteUrl|\danog\MadelineProto\BotApiFileId|\Amp\ByteStream\ReadableStream $file, \danog\MadelineProto\EventHandler\Message|\danog\MadelineProto\EventHandler\Media|\danog\MadelineProto\LocalFile|\danog\MadelineProto\RemoteUrl|\danog\MadelineProto\BotApiFileId|\Amp\ByteStream\ReadableStream|null $thumb = null, string $caption = '', \danog\MadelineProto\ParseMode $parseMode = \danog\MadelineProto\ParseMode::TEXT, ?callable $callback = null, ?string $fileName = null, ?int $ttl = null, bool $spoiler = false, ?int $duration = null, ?int $width = null, ?int $height = null, string $thumbSeek = '00:00:01.000', ?int $replyToMsgId = null, ?int $topMsgId = null, ?array $replyMarkup = null, string|int|null $sendAs = null, ?int $scheduleDate = null, bool $silent = false, bool $noForwards = false, bool $background = false, bool $clearDraft = false, bool $forceResend = false, ?\Amp\Cancellation $cancellation = null): \danog\MadelineProto\EventHandler\Message { - return $this->wrapper->getAPI()->sendGif($peer, $file, $thumb, $caption, $parseMode, $callback, $fileName, $ttl, $spoiler, $duration, $width, $height, $thumbSeek, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $forceResend, $cancellation); + return $this->wrapper->getAPI()->sendGif($peer, $file, $thumb, $caption, $parseMode, $callback, $fileName, $ttl, $spoiler, $duration, $width, $height, $thumbSeek, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $forceResend, $cancellation ?? $this->wrapper->getRpcDropCancellation()); } /** * Sends a message. @@ -1854,7 +1854,7 @@ abstract class InternalDoc */ final public function sendMessage(string|int $peer, string $message, \danog\MadelineProto\ParseMode $parseMode = \danog\MadelineProto\ParseMode::TEXT, ?int $replyToMsgId = null, ?int $topMsgId = null, ?array $replyMarkup = null, string|int|null $sendAs = null, ?int $scheduleDate = null, bool $silent = false, bool $noForwards = false, bool $background = false, bool $clearDraft = false, bool $noWebpage = false, bool $updateStickersetsOrder = false, ?\Amp\Cancellation $cancellation = null): \danog\MadelineProto\EventHandler\Message { - return $this->wrapper->getAPI()->sendMessage($peer, $message, $parseMode, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $noWebpage, $updateStickersetsOrder, $cancellation); + return $this->wrapper->getAPI()->sendMessage($peer, $message, $parseMode, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $noWebpage, $updateStickersetsOrder, $cancellation ?? $this->wrapper->getRpcDropCancellation()); } /** * Sends a message to all report peers (admins of the bot). @@ -1872,7 +1872,7 @@ abstract class InternalDoc */ final public function sendMessageToAdmins(string $message, \danog\MadelineProto\ParseMode $parseMode = \danog\MadelineProto\ParseMode::TEXT, ?array $replyMarkup = null, ?int $scheduleDate = null, bool $silent = false, bool $noForwards = false, bool $background = false, bool $clearDraft = false, bool $noWebpage = false, ?\Amp\Cancellation $cancellation = null): array { - return $this->wrapper->getAPI()->sendMessageToAdmins($message, $parseMode, $replyMarkup, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $noWebpage, $cancellation); + return $this->wrapper->getAPI()->sendMessageToAdmins($message, $parseMode, $replyMarkup, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $noWebpage, $cancellation ?? $this->wrapper->getRpcDropCancellation()); } /** * Sends a photo. @@ -1900,7 +1900,7 @@ abstract class InternalDoc */ final public function sendPhoto(string|int $peer, \danog\MadelineProto\EventHandler\Message|\danog\MadelineProto\EventHandler\Media|\danog\MadelineProto\LocalFile|\danog\MadelineProto\RemoteUrl|\danog\MadelineProto\BotApiFileId|\Amp\ByteStream\ReadableStream $file, string $caption = '', \danog\MadelineProto\ParseMode $parseMode = \danog\MadelineProto\ParseMode::TEXT, ?callable $callback = null, ?string $fileName = null, ?int $ttl = null, bool $spoiler = false, ?int $replyToMsgId = null, ?int $topMsgId = null, ?array $replyMarkup = null, string|int|null $sendAs = null, ?int $scheduleDate = null, bool $silent = false, bool $noForwards = false, bool $background = false, bool $clearDraft = false, bool $updateStickersetsOrder = false, bool $forceResend = false, ?\Amp\Cancellation $cancellation = null): \danog\MadelineProto\EventHandler\Message { - return $this->wrapper->getAPI()->sendPhoto($peer, $file, $caption, $parseMode, $callback, $fileName, $ttl, $spoiler, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $updateStickersetsOrder, $forceResend, $cancellation); + return $this->wrapper->getAPI()->sendPhoto($peer, $file, $caption, $parseMode, $callback, $fileName, $ttl, $spoiler, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $updateStickersetsOrder, $forceResend, $cancellation ?? $this->wrapper->getRpcDropCancellation()); } /** * Sends a sticker. @@ -1929,7 +1929,7 @@ abstract class InternalDoc '_' => 'inputStickerSetEmpty', ], ?callable $callback = null, ?string $fileName = null, ?int $ttl = null, ?int $replyToMsgId = null, ?int $topMsgId = null, ?array $replyMarkup = null, string|int|null $sendAs = null, ?int $scheduleDate = null, bool $silent = false, bool $noForwards = false, bool $background = false, bool $clearDraft = false, bool $updateStickersetsOrder = false, bool $forceResend = false, ?\Amp\Cancellation $cancellation = null): \danog\MadelineProto\EventHandler\Message { - return $this->wrapper->getAPI()->sendSticker($peer, $file, $mimeType, $emoji, $stickerSet, $callback, $fileName, $ttl, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $updateStickersetsOrder, $forceResend, $cancellation); + return $this->wrapper->getAPI()->sendSticker($peer, $file, $mimeType, $emoji, $stickerSet, $callback, $fileName, $ttl, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $updateStickersetsOrder, $forceResend, $cancellation ?? $this->wrapper->getRpcDropCancellation()); } /** * Sends a video. @@ -1966,7 +1966,7 @@ abstract class InternalDoc */ final public function sendVideo(string|int $peer, \danog\MadelineProto\EventHandler\Message|\danog\MadelineProto\EventHandler\Media|\danog\MadelineProto\LocalFile|\danog\MadelineProto\RemoteUrl|\danog\MadelineProto\BotApiFileId|\Amp\ByteStream\ReadableStream $file, \danog\MadelineProto\EventHandler\Message|\danog\MadelineProto\EventHandler\Media|\danog\MadelineProto\LocalFile|\danog\MadelineProto\RemoteUrl|\danog\MadelineProto\BotApiFileId|\Amp\ByteStream\ReadableStream|null $thumb = null, string $caption = '', \danog\MadelineProto\ParseMode $parseMode = \danog\MadelineProto\ParseMode::TEXT, ?callable $callback = null, ?string $fileName = null, string $mimeType = 'video/mp4', ?int $ttl = null, bool $spoiler = false, bool $roundMessage = false, bool $supportsStreaming = true, bool $noSound = false, ?int $duration = null, ?int $width = null, ?int $height = null, string $thumbSeek = '00:00:01.000', ?int $replyToMsgId = null, ?int $topMsgId = null, ?array $replyMarkup = null, string|int|null $sendAs = null, ?int $scheduleDate = null, bool $silent = false, bool $noForwards = false, bool $background = false, bool $clearDraft = false, bool $forceResend = false, bool $updateStickersetsOrder = false, ?\Amp\Cancellation $cancellation = null): \danog\MadelineProto\EventHandler\Message { - return $this->wrapper->getAPI()->sendVideo($peer, $file, $thumb, $caption, $parseMode, $callback, $fileName, $mimeType, $ttl, $spoiler, $roundMessage, $supportsStreaming, $noSound, $duration, $width, $height, $thumbSeek, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $forceResend, $updateStickersetsOrder, $cancellation); + return $this->wrapper->getAPI()->sendVideo($peer, $file, $thumb, $caption, $parseMode, $callback, $fileName, $mimeType, $ttl, $spoiler, $roundMessage, $supportsStreaming, $noSound, $duration, $width, $height, $thumbSeek, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $forceResend, $updateStickersetsOrder, $cancellation ?? $this->wrapper->getRpcDropCancellation()); } /** * Sends a voice. @@ -1997,7 +1997,7 @@ abstract class InternalDoc */ final public function sendVoice(string|int $peer, \danog\MadelineProto\EventHandler\Message|\danog\MadelineProto\EventHandler\Media|\danog\MadelineProto\LocalFile|\danog\MadelineProto\RemoteUrl|\danog\MadelineProto\BotApiFileId|\Amp\ByteStream\ReadableStream $file, string $caption = '', \danog\MadelineProto\ParseMode $parseMode = \danog\MadelineProto\ParseMode::TEXT, ?callable $callback = null, ?string $fileName = null, ?int $ttl = null, ?int $duration = null, ?array $waveform = null, ?int $replyToMsgId = null, ?int $topMsgId = null, ?array $replyMarkup = null, string|int|null $sendAs = null, ?int $scheduleDate = null, bool $silent = false, bool $noForwards = false, bool $background = false, bool $clearDraft = false, bool $forceResend = false, ?\Amp\Cancellation $cancellation = null): \danog\MadelineProto\EventHandler\Message { - return $this->wrapper->getAPI()->sendVoice($peer, $file, $caption, $parseMode, $callback, $fileName, $ttl, $duration, $waveform, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $forceResend, $cancellation); + return $this->wrapper->getAPI()->sendVoice($peer, $file, $caption, $parseMode, $callback, $fileName, $ttl, $duration, $waveform, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $forceResend, $cancellation ?? $this->wrapper->getRpcDropCancellation()); } /** * Set NOOP update handler, ignoring all updates. @@ -2220,7 +2220,7 @@ abstract class InternalDoc */ final public function upload($file, string $fileName = '', ?callable $cb = null, bool $encrypted = false, ?\Amp\Cancellation $cancellation = null): array { - return $this->wrapper->getAPI()->upload($file, $fileName, $cb, $encrypted, $cancellation); + return $this->wrapper->getAPI()->upload($file, $fileName, $cb, $encrypted, $cancellation ?? $this->wrapper->getRpcDropCancellation()); } /** * Upload file to secret chat. @@ -2233,7 +2233,7 @@ abstract class InternalDoc */ final public function uploadEncrypted($file, string $fileName = '', ?callable $cb = null, ?\Amp\Cancellation $cancellation = null): array { - return $this->wrapper->getAPI()->uploadEncrypted($file, $fileName, $cb, $cancellation); + return $this->wrapper->getAPI()->uploadEncrypted($file, $fileName, $cb, $cancellation ?? $this->wrapper->getRpcDropCancellation()); } /** * Upload file from callable. @@ -2253,7 +2253,7 @@ abstract class InternalDoc */ final public function uploadFromCallable(callable $callable, int $size = 0, string $mime = 'application/octet-stream', string $fileName = '', ?callable $cb = null, bool $seekable = true, bool $encrypted = false, ?\Amp\Cancellation $cancellation = null): array { - return $this->wrapper->getAPI()->uploadFromCallable($callable, $size, $mime, $fileName, $cb, $seekable, $encrypted, $cancellation); + return $this->wrapper->getAPI()->uploadFromCallable($callable, $size, $mime, $fileName, $cb, $seekable, $encrypted, $cancellation ?? $this->wrapper->getRpcDropCancellation()); } /** * Upload file from stream. @@ -2269,7 +2269,7 @@ abstract class InternalDoc */ final public function uploadFromStream(mixed $stream, int $size = 0, string $mime = 'application/octet-stream', string $fileName = '', ?callable $cb = null, bool $encrypted = false, ?\Amp\Cancellation $cancellation = null): array { - return $this->wrapper->getAPI()->uploadFromStream($stream, $size, $mime, $fileName, $cb, $encrypted, $cancellation); + return $this->wrapper->getAPI()->uploadFromStream($stream, $size, $mime, $fileName, $cb, $encrypted, $cancellation ?? $this->wrapper->getRpcDropCancellation()); } /** * Reupload telegram file. @@ -2282,7 +2282,7 @@ abstract class InternalDoc */ final public function uploadFromTgfile(mixed $media, ?callable $cb = null, bool $encrypted = false, ?\Amp\Cancellation $cancellation = null): array { - return $this->wrapper->getAPI()->uploadFromTgfile($media, $cb, $encrypted, $cancellation); + return $this->wrapper->getAPI()->uploadFromTgfile($media, $cb, $encrypted, $cancellation ?? $this->wrapper->getRpcDropCancellation()); } /** * Upload file from URL. @@ -2296,7 +2296,7 @@ abstract class InternalDoc */ final public function uploadFromUrl(\danog\MadelineProto\FileCallbackInterface|string $url, int $size = 0, string $fileName = '', ?callable $cb = null, bool $encrypted = false, ?\Amp\Cancellation $cancellation = null): array { - return $this->wrapper->getAPI()->uploadFromUrl($url, $size, $fileName, $cb, $encrypted, $cancellation); + return $this->wrapper->getAPI()->uploadFromUrl($url, $size, $fileName, $cb, $encrypted, $cancellation ?? $this->wrapper->getRpcDropCancellation()); } /** * Perform static analysis on a certain event handler class, to make sure it satisfies some performance requirements. diff --git a/src/MTProto.php b/src/MTProto.php index c9aadd61f..d5ee6ecf7 100644 --- a/src/MTProto.php +++ b/src/MTProto.php @@ -859,9 +859,9 @@ final class MTProto implements TLCallback, LoggerGetter, SettingsGetter * * @param string $url URL */ - public function fileGetContents(string $url): string + public function fileGetContents(string $url, ?Cancellation $cancellation = null): string { - return $this->getHTTPClient()->request(new Request($url))->getBody()->buffer(); + return $this->getHTTPClient()->request(new Request($url), $cancellation)->getBody()->buffer($cancellation); } /** * Get main DC ID. diff --git a/src/MTProtoTools/AuthKeyHandler.php b/src/MTProtoTools/AuthKeyHandler.php index 391edd10f..6dcfefa47 100644 --- a/src/MTProtoTools/AuthKeyHandler.php +++ b/src/MTProtoTools/AuthKeyHandler.php @@ -16,6 +16,7 @@ namespace danog\MadelineProto\MTProtoTools; +use Amp\Cancellation; use danog\MadelineProto\DataCenter; use danog\MadelineProto\Logger; use phpseclib3\Math\BigInteger; @@ -30,9 +31,9 @@ trait AuthKeyHandler /** * Get diffie-hellman configuration. */ - public function getDhConfig(): array + public function getDhConfig(?Cancellation $cancellation = null): array { - $dh_config = $this->methodCallAsyncRead('messages.getDhConfig', ['version' => $this->dh_config['version'], 'random_length' => 0]); + $dh_config = $this->methodCallAsyncRead('messages.getDhConfig', ['version' => $this->dh_config['version'], 'random_length' => 0, 'cancellation' => $cancellation]); if ($dh_config['_'] === 'messages.dhConfigNotModified') { $this->logger->logger('DH configuration not modified', Logger::VERBOSE); return $this->dh_config; diff --git a/src/VoIP/AuthKeyHandler.php b/src/VoIP/AuthKeyHandler.php index 5f3ddb230..4330ba612 100644 --- a/src/VoIP/AuthKeyHandler.php +++ b/src/VoIP/AuthKeyHandler.php @@ -22,6 +22,7 @@ namespace danog\MadelineProto\VoIP; use Amp\ByteStream\ReadableStream; use Amp\ByteStream\WritableStream; +use Amp\Cancellation; use Amp\DeferredFuture; use AssertionError; use danog\MadelineProto\LocalFile; @@ -121,9 +122,9 @@ trait AuthKeyHandler /** * Accept call. */ - public function acceptCall(int $id): void + public function acceptCall(int $id, ?Cancellation $cancellation = null): void { - ($this->calls[$id] ?? null)?->accept(); + ($this->calls[$id] ?? null)?->accept($cancellation); } /** diff --git a/src/VoIPController.php b/src/VoIPController.php index 72af1a769..6ad16d7de 100644 --- a/src/VoIPController.php +++ b/src/VoIPController.php @@ -22,6 +22,7 @@ use Amp\ByteStream\BufferedReader; use Amp\ByteStream\ReadableBuffer; use Amp\ByteStream\ReadableStream; use Amp\ByteStream\WritableStream; +use Amp\Cancellation; use Amp\Sync\LocalMutex; use danog\Loop\Loop; use danog\MadelineProto\Loop\VoIP\DjLoop; @@ -276,7 +277,7 @@ final class VoIPController /** * Accept incoming call. */ - public function accept(): self + public function accept(?Cancellation $cancellation = null): self { $lock = $this->authMutex->acquire(); try { @@ -286,7 +287,7 @@ final class VoIPController Assert::eq($this->callState->name, CallState::INCOMING->name); $this->log(sprintf(Lang::$current_lang['accepting_call'], $this->public->otherID), Logger::VERBOSE); - $dh_config = $this->API->getDhConfig(); + $dh_config = $this->API->getDhConfig($cancellation); $this->log('Generating b...', Logger::VERBOSE); $b = BigInteger::randomRange(Magic::$two, $dh_config['p']->subtract(Magic::$two)); $g_b = $dh_config['g']->powMod($b, $dh_config['p']); @@ -302,13 +303,14 @@ final class VoIPController ], 'g_b' => $g_b->toBytes(), 'protocol' => self::CALL_PROTOCOL, + 'cancellation' => $cancellation, ]); } catch (CallAlreadyAcceptedError) { $this->log(sprintf(Lang::$current_lang['call_already_accepted'], $this->public->callID)); return $this; } catch (CallAlreadyDeclinedError) { $this->log(Lang::$current_lang['call_already_declined']); - $this->discard(DiscardReason::HANGUP); + $this->discard(DiscardReason::HANGUP, cancellation: $cancellation); return $this; } $this->call['b'] = $b; diff --git a/tools/AnnotationsBuilder.php b/tools/AnnotationsBuilder.php index 454aa0a48..04b1e1cd9 100644 --- a/tools/AnnotationsBuilder.php +++ b/tools/AnnotationsBuilder.php @@ -493,6 +493,7 @@ final class Blacklist { $doc .= $name; $doc .= '('; $paramList = ''; + $hasCancellation = false; foreach ($method->getParameters() as $param) { if ($type = $param->getType()) { $doc .= $this->typeToStr($type).' '; @@ -519,7 +520,15 @@ final class Blacklist { if ($param->isVariadic()) { $paramList .= '...'; } - $paramList .= '$'.$param->getName().', '; + $paramList .= '$'.$param->getName(); + if ($param->getName() === 'cancellation') { + $paramList .= ' ?? $this->wrapper->getRpcDropCancellation()'; + $hasCancellation = true; + } + $paramList .= ', '; + } + if (!$hasCancellation && !$static) { + Logger::log($name.'.'.$param->getName().' has no cancellation!', Logger::WARNING); } $type = $method->getReturnType(); $hasReturnValue = $type !== null; From bb782c2ab03cd38744a6a1a3379fd1886c9129fd Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 26 Jun 2024 18:28:15 +0200 Subject: [PATCH 09/15] One more cancellation --- docs | 2 +- src/InternalDoc.php | 4 ++-- src/VoIPController.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs b/docs index 0385b677f..2da03b4f6 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 0385b677fe87246a0ae35b362929b96dd3ffcccd +Subproject commit 2da03b4f6e1d3136996f066c536df72eda2e293c diff --git a/src/InternalDoc.php b/src/InternalDoc.php index a525bc8b8..1c921d509 100644 --- a/src/InternalDoc.php +++ b/src/InternalDoc.php @@ -617,9 +617,9 @@ abstract class InternalDoc * * @param string $url URL */ - final public function fileGetContents(string $url): string + final public function fileGetContents(string $url, ?\Amp\Cancellation $cancellation = null): string { - return $this->wrapper->getAPI()->fileGetContents($url); + return $this->wrapper->getAPI()->fileGetContents($url, $cancellation ?? $this->wrapper->getRpcDropCancellation()); } /** * Asynchronously lock a file diff --git a/src/VoIPController.php b/src/VoIPController.php index 6ad16d7de..8ddf23671 100644 --- a/src/VoIPController.php +++ b/src/VoIPController.php @@ -310,7 +310,7 @@ final class VoIPController return $this; } catch (CallAlreadyDeclinedError) { $this->log(Lang::$current_lang['call_already_declined']); - $this->discard(DiscardReason::HANGUP, cancellation: $cancellation); + $this->discard(DiscardReason::HANGUP); return $this; } $this->call['b'] = $b; From c8926ff1dc1531d590862973eb05d02d56fb196d Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 26 Jun 2024 20:52:52 +0200 Subject: [PATCH 10/15] Bump baseline --- docs | 2 +- psalm-baseline.xml | 39 +-------------------------------------- src/RPCErrorException.php | 1 + src/v3.json | 2 +- 4 files changed, 4 insertions(+), 40 deletions(-) diff --git a/docs b/docs index 2da03b4f6..2a6b4556a 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 2da03b4f6e1d3136996f066c536df72eda2e293c +Subproject commit 2a6b4556a2bbf2a37837c64143e7110aa7943e75 diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 74a0c4911..3dd51d5a1 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -63,6 +63,7 @@ serializeSession($this)]]> + @@ -3062,19 +3063,6 @@ - - - - - - - - - - - - - API->feeders[$channelId]?->resume()]]> @@ -3630,7 +3618,6 @@ - @@ -5386,35 +5373,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/RPCErrorException.php b/src/RPCErrorException.php index 48af9a842..1eefff587 100644 --- a/src/RPCErrorException.php +++ b/src/RPCErrorException.php @@ -634,6 +634,7 @@ class RPCErrorException extends \Exception 'THEME_INVALID' => new self($rpc, 'Invalid theme provided.', $code, $caller, $previous), 'THEME_MIME_INVALID' => new self($rpc, 'The theme\'s MIME type is invalid.', $code, $caller, $previous), 'THEME_TITLE_INVALID' => new self($rpc, 'The specified theme title is invalid.', $code, $caller, $previous), + 'TIMEZONE_INVALID' => new self($rpc, '', $code, $caller, $previous), 'TITLE_INVALID' => new self($rpc, 'The specified stickerpack title is invalid.', $code, $caller, $previous), 'TMP_PASSWORD_DISABLED' => new self($rpc, 'The temporary password is disabled.', $code, $caller, $previous), 'TO_LANG_INVALID' => new self($rpc, 'The specified destination language is invalid.', $code, $caller, $previous), diff --git a/src/v3.json b/src/v3.json index e0545f693..72c92b21a 100644 --- a/src/v3.json +++ b/src/v3.json @@ -1 +1 @@ -{"ok":true,"result":{"420":{"account.deleteAccount":{"2FA_CONFIRM_WAIT_%d":"2FA_CONFIRM_WAIT_%d"},"channels.createChannel":{"ADDRESS_INVALID":"ADDRESS_INVALID"},"upload.getFile":{"FLOOD_PREMIUM_WAIT_%d":"FLOOD_PREMIUM_WAIT_%d"},"payments.applyGiftCode":{"PREMIUM_SUB_ACTIVE_UNTIL_%d":"PREMIUM_SUB_ACTIVE_UNTIL_%d"},"messages.forwardMessages":{"SLOWMODE_WAIT_%d":"SLOWMODE_WAIT_%d"},"messages.sendInlineBotResult":{"SLOWMODE_WAIT_%d":"SLOWMODE_WAIT_%d"},"messages.sendMedia":{"SLOWMODE_WAIT_%d":"SLOWMODE_WAIT_%d"},"messages.sendMessage":{"SLOWMODE_WAIT_%d":"SLOWMODE_WAIT_%d"},"messages.sendMultiMedia":{"SLOWMODE_WAIT_%d":"SLOWMODE_WAIT_%d"},"account.initTakeoutSession":{"TAKEOUT_INIT_DELAY_%d":"TAKEOUT_INIT_DELAY_%d"}},"400":{"account.updateProfile":{"ABOUT_TOO_LONG":"ABOUT_TOO_LONG","FIRSTNAME_INVALID":"FIRSTNAME_INVALID"},"auth.importBotAuthorization":{"ACCESS_TOKEN_EXPIRED":"ACCESS_TOKEN_EXPIRED","ACCESS_TOKEN_INVALID":"ACCESS_TOKEN_INVALID","API_ID_INVALID":"API_ID_INVALID","API_ID_PUBLISHED_FLOOD":"API_ID_PUBLISHED_FLOOD"},"channels.createChannel":{"ADDRESS_INVALID":"ADDRESS_INVALID","CHANNELS_ADMIN_LOCATED_TOO_MUCH":"CHANNELS_ADMIN_LOCATED_TOO_MUCH","CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_ABOUT_TOO_LONG":"CHAT_ABOUT_TOO_LONG","CHAT_TITLE_EMPTY":"CHAT_TITLE_EMPTY","TTL_PERIOD_INVALID":"TTL_PERIOD_INVALID"},"messages.deleteRevokedExportedChatInvites":{"ADMIN_ID_INVALID":"ADMIN_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getExportedChatInvites":{"ADMIN_ID_INVALID":"ADMIN_ID_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"channels.editAdmin":{"ADMIN_RANK_EMOJI_NOT_ALLOWED":"ADMIN_RANK_EMOJI_NOT_ALLOWED","ADMIN_RANK_INVALID":"ADMIN_RANK_INVALID","ADMINS_TOO_MUCH":"ADMINS_TOO_MUCH","BOT_CHANNELS_NA":"BOT_CHANNELS_NA","BOT_GROUPS_BLOCKED":"BOT_GROUPS_BLOCKED","BOTS_TOO_MUCH":"BOTS_TOO_MUCH","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","FRESH_CHANGE_ADMINS_FORBIDDEN":"FRESH_CHANGE_ADMINS_FORBIDDEN","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","PEER_ID_INVALID":"PEER_ID_INVALID","USER_BLOCKED":"USER_BLOCKED","USER_CREATOR":"USER_CREATOR","USER_ID_INVALID":"USER_ID_INVALID","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USERS_TOO_MUCH":"USERS_TOO_MUCH"},"messages.sendMessage":{"ADMIN_RIGHTS_EMPTY":"ADMIN_RIGHTS_EMPTY","BOT_DOMAIN_INVALID":"BOT_DOMAIN_INVALID","BOT_INVALID":"BOT_INVALID","BUTTON_DATA_INVALID":"BUTTON_DATA_INVALID","BUTTON_TYPE_INVALID":"BUTTON_TYPE_INVALID","BUTTON_URL_INVALID":"BUTTON_URL_INVALID","BUTTON_USER_INVALID":"BUTTON_USER_INVALID","BUTTON_USER_PRIVACY_RESTRICTED":"BUTTON_USER_PRIVACY_RESTRICTED","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_RESTRICTED":"CHAT_RESTRICTED","DOCUMENT_INVALID":"DOCUMENT_INVALID","ENCRYPTION_DECLINED":"ENCRYPTION_DECLINED","ENTITIES_TOO_LONG":"ENTITIES_TOO_LONG","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","ENTITY_MENTION_USER_INVALID":"ENTITY_MENTION_USER_INVALID","FROM_MESSAGE_BOT_DISABLED":"FROM_MESSAGE_BOT_DISABLED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MESSAGE_EMPTY":"MESSAGE_EMPTY","MESSAGE_TOO_LONG":"MESSAGE_TOO_LONG","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","PINNED_DIALOGS_TOO_MUCH":"PINNED_DIALOGS_TOO_MUCH","POLL_OPTION_INVALID":"POLL_OPTION_INVALID","QUOTE_TEXT_INVALID":"QUOTE_TEXT_INVALID","REPLY_MARKUP_INVALID":"REPLY_MARKUP_INVALID","REPLY_MARKUP_TOO_LONG":"REPLY_MARKUP_TOO_LONG","REPLY_MESSAGE_ID_INVALID":"REPLY_MESSAGE_ID_INVALID","REPLY_TO_INVALID":"REPLY_TO_INVALID","REPLY_TO_USER_INVALID":"REPLY_TO_USER_INVALID","SCHEDULE_BOT_NOT_ALLOWED":"SCHEDULE_BOT_NOT_ALLOWED","SCHEDULE_DATE_TOO_LATE":"SCHEDULE_DATE_TOO_LATE","SCHEDULE_STATUS_PRIVATE":"SCHEDULE_STATUS_PRIVATE","SCHEDULE_TOO_MUCH":"SCHEDULE_TOO_MUCH","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID","STORY_ID_INVALID":"STORY_ID_INVALID","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_IS_BOT":"USER_IS_BOT","WC_CONVERT_URL_INVALID":"WC_CONVERT_URL_INVALID","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"photos.updateProfilePhoto":{"ALBUM_PHOTOS_TOO_MANY":"ALBUM_PHOTOS_TOO_MANY","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","LOCATION_INVALID":"LOCATION_INVALID","PHOTO_CROP_SIZE_SMALL":"PHOTO_CROP_SIZE_SMALL","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_ID_INVALID":"PHOTO_ID_INVALID"},"photos.uploadProfilePhoto":{"ALBUM_PHOTOS_TOO_MANY":"ALBUM_PHOTOS_TOO_MANY","BOT_INVALID":"BOT_INVALID","EMOJI_MARKUP_INVALID":"EMOJI_MARKUP_INVALID","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","PHOTO_CROP_FILE_MISSING":"PHOTO_CROP_FILE_MISSING","PHOTO_CROP_SIZE_SMALL":"PHOTO_CROP_SIZE_SMALL","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_FILE_MISSING":"PHOTO_FILE_MISSING","PHOTO_INVALID":"PHOTO_INVALID","STICKER_MIME_INVALID":"STICKER_MIME_INVALID","VIDEO_FILE_INVALID":"VIDEO_FILE_INVALID"},"auth.exportLoginToken":{"API_ID_INVALID":"API_ID_INVALID","API_ID_PUBLISHED_FLOOD":"API_ID_PUBLISHED_FLOOD"},"auth.importWebTokenAuthorization":{"API_ID_INVALID":"API_ID_INVALID"},"auth.sendCode":{"API_ID_INVALID":"API_ID_INVALID","API_ID_PUBLISHED_FLOOD":"API_ID_PUBLISHED_FLOOD","PHONE_NUMBER_APP_SIGNUP_FORBIDDEN":"PHONE_NUMBER_APP_SIGNUP_FORBIDDEN","PHONE_NUMBER_BANNED":"PHONE_NUMBER_BANNED","PHONE_NUMBER_FLOOD":"PHONE_NUMBER_FLOOD","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_PASSWORD_PROTECTED":"PHONE_PASSWORD_PROTECTED","SMS_CODE_CREATE_FAILED":"SMS_CODE_CREATE_FAILED"},"messages.setInlineBotResults":{"ARTICLE_TITLE_EMPTY":"ARTICLE_TITLE_EMPTY","AUDIO_CONTENT_URL_EMPTY":"AUDIO_CONTENT_URL_EMPTY","AUDIO_TITLE_EMPTY":"AUDIO_TITLE_EMPTY","BUTTON_DATA_INVALID":"BUTTON_DATA_INVALID","BUTTON_TYPE_INVALID":"BUTTON_TYPE_INVALID","BUTTON_URL_INVALID":"BUTTON_URL_INVALID","DOCUMENT_INVALID":"DOCUMENT_INVALID","FILE_CONTENT_TYPE_INVALID":"FILE_CONTENT_TYPE_INVALID","FILE_TITLE_EMPTY":"FILE_TITLE_EMPTY","GIF_CONTENT_TYPE_INVALID":"GIF_CONTENT_TYPE_INVALID","MESSAGE_EMPTY":"MESSAGE_EMPTY","MESSAGE_TOO_LONG":"MESSAGE_TOO_LONG","NEXT_OFFSET_INVALID":"NEXT_OFFSET_INVALID","PHOTO_CONTENT_TYPE_INVALID":"PHOTO_CONTENT_TYPE_INVALID","PHOTO_CONTENT_URL_EMPTY":"PHOTO_CONTENT_URL_EMPTY","PHOTO_INVALID":"PHOTO_INVALID","PHOTO_THUMB_URL_EMPTY":"PHOTO_THUMB_URL_EMPTY","QUERY_ID_INVALID":"QUERY_ID_INVALID","REPLY_MARKUP_INVALID":"REPLY_MARKUP_INVALID","RESULT_ID_DUPLICATE":"RESULT_ID_DUPLICATE","RESULT_ID_INVALID":"RESULT_ID_INVALID","RESULT_TYPE_INVALID":"RESULT_TYPE_INVALID","RESULTS_TOO_MUCH":"RESULTS_TOO_MUCH","SEND_MESSAGE_MEDIA_INVALID":"SEND_MESSAGE_MEDIA_INVALID","SEND_MESSAGE_TYPE_INVALID":"SEND_MESSAGE_TYPE_INVALID","START_PARAM_EMPTY":"START_PARAM_EMPTY","START_PARAM_INVALID":"START_PARAM_INVALID","STICKER_DOCUMENT_INVALID":"STICKER_DOCUMENT_INVALID","SWITCH_PM_TEXT_EMPTY":"SWITCH_PM_TEXT_EMPTY","SWITCH_WEBVIEW_URL_INVALID":"SWITCH_WEBVIEW_URL_INVALID","URL_INVALID":"URL_INVALID","USER_BOT_INVALID":"USER_BOT_INVALID","VIDEO_TITLE_EMPTY":"VIDEO_TITLE_EMPTY","WEBDOCUMENT_INVALID":"WEBDOCUMENT_INVALID","WEBDOCUMENT_MIME_INVALID":"WEBDOCUMENT_MIME_INVALID","WEBDOCUMENT_SIZE_TOO_BIG":"WEBDOCUMENT_SIZE_TOO_BIG","WEBDOCUMENT_URL_INVALID":"WEBDOCUMENT_URL_INVALID"},"auth.importAuthorization":{"AUTH_BYTES_INVALID":"AUTH_BYTES_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"invokeWithLayer":{"AUTH_BYTES_INVALID":"AUTH_BYTES_INVALID","CDN_METHOD_INVALID":"CDN_METHOD_INVALID","CONNECTION_API_ID_INVALID":"CONNECTION_API_ID_INVALID","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"auth.acceptLoginToken":{"AUTH_TOKEN_ALREADY_ACCEPTED":"AUTH_TOKEN_ALREADY_ACCEPTED","AUTH_TOKEN_EXCEPTION":"AUTH_TOKEN_EXCEPTION","AUTH_TOKEN_EXPIRED":"AUTH_TOKEN_EXPIRED","AUTH_TOKEN_INVALIDX":"AUTH_TOKEN_INVALIDX"},"auth.importLoginToken":{"AUTH_TOKEN_ALREADY_ACCEPTED":"AUTH_TOKEN_ALREADY_ACCEPTED","AUTH_TOKEN_EXPIRED":"AUTH_TOKEN_EXPIRED","AUTH_TOKEN_INVALID":"AUTH_TOKEN_INVALID","AUTH_TOKEN_INVALIDX":"AUTH_TOKEN_INVALIDX"},"account.setGlobalPrivacySettings":{"AUTOARCHIVE_NOT_AVAILABLE":"AUTOARCHIVE_NOT_AVAILABLE"},"payments.getBankCardData":{"BANK_CARD_NUMBER_INVALID":"BANK_CARD_NUMBER_INVALID"},"messages.editChatDefaultBannedRights":{"BANNED_RIGHTS_INVALID":"BANNED_RIGHTS_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID","UNTIL_DATE_INVALID":"UNTIL_DATE_INVALID"},"stories.applyBoost":{"BOOST_NOT_MODIFIED":"BOOST_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED"},"stories.canApplyBoost":{"BOOST_NOT_MODIFIED":"BOOST_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED"},"payments.getPaymentForm":{"BOOST_PEER_INVALID":"BOOST_PEER_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","SLUG_INVALID":"SLUG_INVALID","UNTIL_DATE_INVALID":"UNTIL_DATE_INVALID"},"premium.applyBoost":{"BOOSTS_EMPTY":"BOOSTS_EMPTY","PEER_ID_INVALID":"PEER_ID_INVALID","SLOTS_EMPTY":"SLOTS_EMPTY"},"channels.updateColor":{"BOOSTS_REQUIRED":"BOOSTS_REQUIRED","CHANNEL_INVALID":"CHANNEL_INVALID"},"stories.canSendStory":{"BOOSTS_REQUIRED":"BOOSTS_REQUIRED","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED","STORIES_TOO_MUCH":"STORIES_TOO_MUCH","STORY_SEND_FLOOD_MONTHLY_%d":"STORY_SEND_FLOOD_MONTHLY_%d","STORY_SEND_FLOOD_WEEKLY_%d":"STORY_SEND_FLOOD_WEEKLY_%d"},"stories.sendStory":{"BOOSTS_REQUIRED":"BOOSTS_REQUIRED","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","MEDIA_EMPTY":"MEDIA_EMPTY","MEDIA_FILE_INVALID":"MEDIA_FILE_INVALID","MEDIA_TYPE_INVALID":"MEDIA_TYPE_INVALID","MEDIA_VIDEO_STORY_MISSING":"MEDIA_VIDEO_STORY_MISSING","PEER_ID_INVALID":"PEER_ID_INVALID","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED","STORIES_TOO_MUCH":"STORIES_TOO_MUCH","STORY_PERIOD_INVALID":"STORY_PERIOD_INVALID","VENUE_ID_INVALID":"VENUE_ID_INVALID"},"messages.getBotApp":{"BOT_APP_BOT_INVALID":"BOT_APP_BOT_INVALID","BOT_APP_INVALID":"BOT_APP_INVALID","BOT_APP_SHORTNAME_INVALID":"BOT_APP_SHORTNAME_INVALID"},"messages.requestAppWebView":{"BOT_APP_INVALID":"BOT_APP_INVALID","BOT_APP_SHORTNAME_INVALID":"BOT_APP_SHORTNAME_INVALID"},"bots.setBotCommands":{"BOT_COMMAND_DESCRIPTION_INVALID":"BOT_COMMAND_DESCRIPTION_INVALID","BOT_COMMAND_INVALID":"BOT_COMMAND_INVALID","LANG_CODE_INVALID":"LANG_CODE_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED","USER_ID_INVALID":"USER_ID_INVALID"},"messages.editMessage":{"BOT_DOMAIN_INVALID":"BOT_DOMAIN_INVALID","BOT_INVALID":"BOT_INVALID","BUTTON_DATA_INVALID":"BUTTON_DATA_INVALID","BUTTON_TYPE_INVALID":"BUTTON_TYPE_INVALID","BUTTON_URL_INVALID":"BUTTON_URL_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_FORWARDS_RESTRICTED":"CHAT_FORWARDS_RESTRICTED","DOCUMENT_INVALID":"DOCUMENT_INVALID","ENTITIES_TOO_LONG":"ENTITIES_TOO_LONG","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MEDIA_CAPTION_TOO_LONG":"MEDIA_CAPTION_TOO_LONG","MEDIA_EMPTY":"MEDIA_EMPTY","MEDIA_GROUPED_INVALID":"MEDIA_GROUPED_INVALID","MEDIA_INVALID":"MEDIA_INVALID","MEDIA_NEW_INVALID":"MEDIA_NEW_INVALID","MEDIA_PREV_INVALID":"MEDIA_PREV_INVALID","MEDIA_TTL_INVALID":"MEDIA_TTL_INVALID","MESSAGE_EDIT_TIME_EXPIRED":"MESSAGE_EDIT_TIME_EXPIRED","MESSAGE_EMPTY":"MESSAGE_EMPTY","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MESSAGE_NOT_MODIFIED":"MESSAGE_NOT_MODIFIED","MESSAGE_TOO_LONG":"MESSAGE_TOO_LONG","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","REPLY_MARKUP_INVALID":"REPLY_MARKUP_INVALID","REPLY_MARKUP_TOO_LONG":"REPLY_MARKUP_TOO_LONG","SCHEDULE_DATE_INVALID":"SCHEDULE_DATE_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","WEBPAGE_NOT_FOUND":"WEBPAGE_NOT_FOUND"},"channels.inviteToChannel":{"BOT_GROUPS_BLOCKED":"BOT_GROUPS_BLOCKED","BOTS_TOO_MUCH":"BOTS_TOO_MUCH","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_INVALID":"CHAT_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_BLOCKED":"USER_BLOCKED","USER_BOT":"USER_BOT","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH","USER_ID_INVALID":"USER_ID_INVALID","USER_KICKED":"USER_KICKED","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USERS_TOO_MUCH":"USERS_TOO_MUCH"},"messages.addChatUser":{"BOT_GROUPS_BLOCKED":"BOT_GROUPS_BLOCKED","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ALREADY_PARTICIPANT":"USER_ALREADY_PARTICIPANT","USER_ID_INVALID":"USER_ID_INVALID","USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USERS_TOO_MUCH":"USERS_TOO_MUCH","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.getInlineBotResults":{"BOT_INLINE_DISABLED":"BOT_INLINE_DISABLED","BOT_INVALID":"BOT_INVALID","BOT_RESPONSE_TIMEOUT":"BOT_RESPONSE_TIMEOUT","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID"},"bots.allowSendMessage":{"BOT_INVALID":"BOT_INVALID"},"bots.canSendMessage":{"BOT_INVALID":"BOT_INVALID"},"bots.getBotInfo":{"BOT_INVALID":"BOT_INVALID","LANG_CODE_INVALID":"LANG_CODE_INVALID","USER_BOT_INVALID":"USER_BOT_INVALID"},"bots.invokeWebViewCustomMethod":{"BOT_INVALID":"BOT_INVALID"},"bots.reorderUsernames":{"BOT_INVALID":"BOT_INVALID"},"bots.toggleUsername":{"BOT_INVALID":"BOT_INVALID"},"messages.getAttachMenuBot":{"BOT_INVALID":"BOT_INVALID"},"messages.requestSimpleWebView":{"BOT_INVALID":"BOT_INVALID","URL_INVALID":"URL_INVALID"},"messages.requestWebView":{"BOT_INVALID":"BOT_INVALID","BOT_WEBVIEW_DISABLED":"BOT_WEBVIEW_DISABLED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.startBot":{"BOT_INVALID":"BOT_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","START_PARAM_EMPTY":"START_PARAM_EMPTY","START_PARAM_INVALID":"START_PARAM_INVALID","START_PARAM_TOO_LONG":"START_PARAM_TOO_LONG"},"messages.toggleBotInAttachMenu":{"BOT_INVALID":"BOT_INVALID"},"stickers.addStickerToSet":{"BOT_MISSING":"BOT_MISSING","STICKER_PNG_NOPNG":"STICKER_PNG_NOPNG","STICKER_TGS_NOTGS":"STICKER_TGS_NOTGS","STICKERPACK_STICKERS_TOO_MUCH":"STICKERPACK_STICKERS_TOO_MUCH","STICKERS_TOO_MUCH":"STICKERS_TOO_MUCH","STICKERSET_INVALID":"STICKERSET_INVALID"},"stickers.changeSticker":{"BOT_MISSING":"BOT_MISSING","STICKER_INVALID":"STICKER_INVALID"},"stickers.deleteStickerSet":{"BOT_MISSING":"BOT_MISSING","STICKERSET_INVALID":"STICKERSET_INVALID"},"stickers.removeStickerFromSet":{"BOT_MISSING":"BOT_MISSING","STICKER_INVALID":"STICKER_INVALID"},"messages.updatePinnedMessage":{"BOT_ONESIDE_NOT_AVAIL":"BOT_ONESIDE_NOT_AVAIL","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","PIN_RESTRICTED":"PIN_RESTRICTED","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"messages.sendMedia":{"BOT_PAYMENTS_DISABLED":"BOT_PAYMENTS_DISABLED","BROADCAST_PUBLIC_VOTERS_FORBIDDEN":"BROADCAST_PUBLIC_VOTERS_FORBIDDEN","BUTTON_DATA_INVALID":"BUTTON_DATA_INVALID","BUTTON_TYPE_INVALID":"BUTTON_TYPE_INVALID","BUTTON_URL_INVALID":"BUTTON_URL_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_FORWARDS_RESTRICTED":"CHAT_FORWARDS_RESTRICTED","CHAT_RESTRICTED":"CHAT_RESTRICTED","CURRENCY_TOTAL_AMOUNT_INVALID":"CURRENCY_TOTAL_AMOUNT_INVALID","DOCUMENT_INVALID":"DOCUMENT_INVALID","EMOTICON_INVALID":"EMOTICON_INVALID","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","EXTERNAL_URL_INVALID":"EXTERNAL_URL_INVALID","FILE_PART_LENGTH_INVALID":"FILE_PART_LENGTH_INVALID","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","FILE_REFERENCE_EMPTY":"FILE_REFERENCE_EMPTY","FILE_REFERENCE_EXPIRED":"FILE_REFERENCE_EXPIRED","GAME_BOT_INVALID":"GAME_BOT_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MD5_CHECKSUM_INVALID":"MD5_CHECKSUM_INVALID","MEDIA_CAPTION_TOO_LONG":"MEDIA_CAPTION_TOO_LONG","MEDIA_EMPTY":"MEDIA_EMPTY","MEDIA_INVALID":"MEDIA_INVALID","MESSAGE_EMPTY":"MESSAGE_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","PAYMENT_PROVIDER_INVALID":"PAYMENT_PROVIDER_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_INVALID_DIMENSIONS":"PHOTO_INVALID_DIMENSIONS","PHOTO_SAVE_FILE_INVALID":"PHOTO_SAVE_FILE_INVALID","POLL_ANSWER_INVALID":"POLL_ANSWER_INVALID","POLL_ANSWERS_INVALID":"POLL_ANSWERS_INVALID","POLL_OPTION_DUPLICATE":"POLL_OPTION_DUPLICATE","POLL_OPTION_INVALID":"POLL_OPTION_INVALID","POLL_QUESTION_INVALID":"POLL_QUESTION_INVALID","QUIZ_CORRECT_ANSWER_INVALID":"QUIZ_CORRECT_ANSWER_INVALID","QUIZ_CORRECT_ANSWERS_EMPTY":"QUIZ_CORRECT_ANSWERS_EMPTY","QUIZ_CORRECT_ANSWERS_TOO_MUCH":"QUIZ_CORRECT_ANSWERS_TOO_MUCH","QUIZ_MULTIPLE_INVALID":"QUIZ_MULTIPLE_INVALID","REPLY_MARKUP_BUY_EMPTY":"REPLY_MARKUP_BUY_EMPTY","REPLY_MARKUP_GAME_EMPTY":"REPLY_MARKUP_GAME_EMPTY","REPLY_MARKUP_INVALID":"REPLY_MARKUP_INVALID","REPLY_MARKUP_TOO_LONG":"REPLY_MARKUP_TOO_LONG","SCHEDULE_BOT_NOT_ALLOWED":"SCHEDULE_BOT_NOT_ALLOWED","SCHEDULE_DATE_TOO_LATE":"SCHEDULE_DATE_TOO_LATE","SCHEDULE_TOO_MUCH":"SCHEDULE_TOO_MUCH","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID","STORY_ID_INVALID":"STORY_ID_INVALID","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED","TTL_MEDIA_INVALID":"TTL_MEDIA_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_IS_BOT":"USER_IS_BOT","VIDEO_CONTENT_TYPE_INVALID":"VIDEO_CONTENT_TYPE_INVALID","VOICE_MESSAGES_FORBIDDEN":"VOICE_MESSAGES_FORBIDDEN","WEBDOCUMENT_MIME_INVALID":"WEBDOCUMENT_MIME_INVALID","WEBPAGE_CURL_FAILED":"WEBPAGE_CURL_FAILED","WEBPAGE_MEDIA_EMPTY":"WEBPAGE_MEDIA_EMPTY","WEBPAGE_NOT_FOUND":"WEBPAGE_NOT_FOUND","WEBPAGE_URL_INVALID":"WEBPAGE_URL_INVALID","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.getBotCallbackAnswer":{"BOT_RESPONSE_TIMEOUT":"BOT_RESPONSE_TIMEOUT","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","DATA_INVALID":"DATA_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.setGameScore":{"BOT_SCORE_NOT_MODIFIED":"BOT_SCORE_NOT_MODIFIED","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","SCORE_INVALID":"SCORE_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"channels.setDiscussionGroup":{"BROADCAST_ID_INVALID":"BROADCAST_ID_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","LINK_NOT_MODIFIED":"LINK_NOT_MODIFIED","MEGAGROUP_ID_INVALID":"MEGAGROUP_ID_INVALID","MEGAGROUP_PREHISTORY_HIDDEN":"MEGAGROUP_PREHISTORY_HIDDEN"},"messages.forwardMessages":{"BROADCAST_PUBLIC_VOTERS_FORBIDDEN":"BROADCAST_PUBLIC_VOTERS_FORBIDDEN","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_FORWARDS_RESTRICTED":"CHAT_FORWARDS_RESTRICTED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_RESTRICTED":"CHAT_RESTRICTED","GROUPED_MEDIA_INVALID":"GROUPED_MEDIA_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MEDIA_EMPTY":"MEDIA_EMPTY","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MESSAGE_IDS_EMPTY":"MESSAGE_IDS_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","QUIZ_ANSWER_MISSING":"QUIZ_ANSWER_MISSING","RANDOM_ID_INVALID":"RANDOM_ID_INVALID","SCHEDULE_BOT_NOT_ALLOWED":"SCHEDULE_BOT_NOT_ALLOWED","SCHEDULE_DATE_TOO_LATE":"SCHEDULE_DATE_TOO_LATE","SCHEDULE_TOO_MUCH":"SCHEDULE_TOO_MUCH","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID","SLOWMODE_MULTI_MSGS_DISABLED":"SLOWMODE_MULTI_MSGS_DISABLED","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_IS_BOT":"USER_IS_BOT","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"stats.getBroadcastStats":{"BROADCAST_REQUIRED":"BROADCAST_REQUIRED","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"messages.editInlineBotMessage":{"BUTTON_DATA_INVALID":"BUTTON_DATA_INVALID","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MESSAGE_NOT_MODIFIED":"MESSAGE_NOT_MODIFIED"},"bots.setBotMenuButton":{"BUTTON_TEXT_INVALID":"BUTTON_TEXT_INVALID","BUTTON_URL_INVALID":"BUTTON_URL_INVALID"},"test.test":{"BUTTON_URL_INVALID":"BUTTON_URL_INVALID"},"phone.acceptCall":{"CALL_ALREADY_ACCEPTED":"CALL_ALREADY_ACCEPTED","CALL_ALREADY_DECLINED":"CALL_ALREADY_DECLINED","CALL_PEER_INVALID":"CALL_PEER_INVALID","CALL_PROTOCOL_FLAGS_INVALID":"CALL_PROTOCOL_FLAGS_INVALID"},"phone.discardCall":{"CALL_ALREADY_ACCEPTED":"CALL_ALREADY_ACCEPTED","CALL_OCCUPY_FAILED":"CALL_OCCUPY_FAILED","CALL_PEER_INVALID":"CALL_PEER_INVALID"},"phone.confirmCall":{"CALL_ALREADY_DECLINED":"CALL_ALREADY_DECLINED","CALL_PEER_INVALID":"CALL_PEER_INVALID"},"phone.receivedCall":{"CALL_ALREADY_DECLINED":"CALL_ALREADY_DECLINED","CALL_PEER_INVALID":"CALL_PEER_INVALID"},"phone.saveCallDebug":{"CALL_PEER_INVALID":"CALL_PEER_INVALID","DATA_JSON_INVALID":"DATA_JSON_INVALID"},"phone.setCallRating":{"CALL_PEER_INVALID":"CALL_PEER_INVALID"},"phone.requestCall":{"CALL_PROTOCOL_FLAGS_INVALID":"CALL_PROTOCOL_FLAGS_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","PARTICIPANT_VERSION_OUTDATED":"PARTICIPANT_VERSION_OUTDATED","USER_ID_INVALID":"USER_ID_INVALID","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"updates.getDifference":{"CDN_METHOD_INVALID":"CDN_METHOD_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","DATE_EMPTY":"DATE_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","PERSISTENT_TIMESTAMP_EMPTY":"PERSISTENT_TIMESTAMP_EMPTY","PERSISTENT_TIMESTAMP_INVALID":"PERSISTENT_TIMESTAMP_INVALID","USER_NOT_PARTICIPANT":"USER_NOT_PARTICIPANT","USERNAME_INVALID":"USERNAME_INVALID"},"upload.getCdnFileHashes":{"CDN_METHOD_INVALID":"CDN_METHOD_INVALID","FILE_TOKEN_INVALID":"FILE_TOKEN_INVALID","RSA_DECRYPT_FAILED":"RSA_DECRYPT_FAILED"},"upload.getFile":{"CDN_METHOD_INVALID":"CDN_METHOD_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","FILE_ID_INVALID":"FILE_ID_INVALID","FILE_REFERENCE_*":"FILE_REFERENCE_*","FILE_REFERENCE_EXPIRED":"FILE_REFERENCE_EXPIRED","LIMIT_INVALID":"LIMIT_INVALID","LOCATION_INVALID":"LOCATION_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","OFFSET_INVALID":"OFFSET_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"upload.reuploadCdnFile":{"CDN_METHOD_INVALID":"CDN_METHOD_INVALID","FILE_TOKEN_INVALID":"FILE_TOKEN_INVALID","LOCATION_INVALID":"LOCATION_INVALID","REQUEST_TOKEN_INVALID":"REQUEST_TOKEN_INVALID","RSA_DECRYPT_FAILED":"RSA_DECRYPT_FAILED"},"channels.createForumTopic":{"CHANNEL_FORUM_MISSING":"CHANNEL_FORUM_MISSING","CHANNEL_INVALID":"CHANNEL_INVALID","TOPIC_TITLE_EMPTY":"TOPIC_TITLE_EMPTY"},"channels.editForumTopic":{"CHANNEL_FORUM_MISSING":"CHANNEL_FORUM_MISSING","CHANNEL_INVALID":"CHANNEL_INVALID","DOCUMENT_INVALID":"DOCUMENT_INVALID","GENERAL_MODIFY_ICON_FORBIDDEN":"GENERAL_MODIFY_ICON_FORBIDDEN","TOPIC_CLOSE_SEPARATELY":"TOPIC_CLOSE_SEPARATELY","TOPIC_HIDE_SEPARATELY":"TOPIC_HIDE_SEPARATELY","TOPIC_ID_INVALID":"TOPIC_ID_INVALID","TOPIC_NOT_MODIFIED":"TOPIC_NOT_MODIFIED"},"channels.getForumTopics":{"CHANNEL_FORUM_MISSING":"CHANNEL_FORUM_MISSING","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getForumTopicsByID":{"CHANNEL_FORUM_MISSING":"CHANNEL_FORUM_MISSING","CHANNEL_INVALID":"CHANNEL_INVALID","TOPICS_EMPTY":"TOPICS_EMPTY"},"channels.convertToGigagroup":{"CHANNEL_ID_INVALID":"CHANNEL_ID_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","FORUM_ENABLED":"FORUM_ENABLED","PARTICIPANTS_TOO_FEW":"PARTICIPANTS_TOO_FEW"},"account.updateNotifySettings":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","SETTINGS_INVALID":"SETTINGS_INVALID"},"channels.checkUsername":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_ADMIN_PUBLIC_TOO_MUCH":"CHANNELS_ADMIN_PUBLIC_TOO_MUCH","CHAT_ID_INVALID":"CHAT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USERNAME_INVALID":"USERNAME_INVALID","USERNAME_OCCUPIED":"USERNAME_OCCUPIED","USERNAME_PURCHASE_AVAILABLE":"USERNAME_PURCHASE_AVAILABLE"},"channels.clickSponsoredMessage":{"CHANNEL_INVALID":"CHANNEL_INVALID"},"channels.deleteChannel":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNEL_TOO_LARGE":"CHANNEL_TOO_LARGE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"channels.deleteHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PARICIPANT_MISSING":"CHANNEL_PARICIPANT_MISSING","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNEL_TOO_BIG":"CHANNEL_TOO_BIG","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"channels.deleteMessages":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.deleteParticipantHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MSG_ID_INVALID":"MSG_ID_INVALID","PARTICIPANT_ID_INVALID":"PARTICIPANT_ID_INVALID"},"channels.deleteTopicHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","TOPIC_ID_INVALID":"TOPIC_ID_INVALID"},"channels.deleteUserHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"channels.editAbout":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ABOUT_NOT_MODIFIED":"CHAT_ABOUT_NOT_MODIFIED","CHAT_ABOUT_TOO_LONG":"CHAT_ABOUT_TOO_LONG","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"channels.editBanned":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PARTICIPANT_ID_INVALID":"PARTICIPANT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ADMIN_INVALID":"USER_ADMIN_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"channels.editPhoto":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","FILE_REFERENCE_INVALID":"FILE_REFERENCE_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","PHOTO_CROP_SIZE_SMALL":"PHOTO_CROP_SIZE_SMALL","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_INVALID":"PHOTO_INVALID","STICKER_MIME_INVALID":"STICKER_MIME_INVALID"},"channels.editTitle":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","CHAT_TITLE_EMPTY":"CHAT_TITLE_EMPTY"},"channels.exportInvite":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"channels.exportMessageLink":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.getAdminLog":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.getChannelRecommendations":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getChannels":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"channels.getFullChannel":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.getMessages":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MESSAGE_IDS_EMPTY":"MESSAGE_IDS_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"channels.getParticipant":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MSG_ID_INVALID":"MSG_ID_INVALID","PARTICIPANT_ID_INVALID":"PARTICIPANT_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID","USER_NOT_PARTICIPANT":"USER_NOT_PARTICIPANT"},"channels.getParticipants":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.getSendAs":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"channels.getSponsoredMessages":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.joinChannel":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_INVALID":"CHAT_INVALID","INVITE_HASH_EMPTY":"INVITE_HASH_EMPTY","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","INVITE_HASH_INVALID":"INVITE_HASH_INVALID","INVITE_REQUEST_SENT":"INVITE_REQUEST_SENT","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ALREADY_PARTICIPANT":"USER_ALREADY_PARTICIPANT","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH","USERS_TOO_MUCH":"USERS_TOO_MUCH"},"channels.leaveChannel":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_INVALID":"CHAT_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_CREATOR":"USER_CREATOR","USER_NOT_PARTICIPANT":"USER_NOT_PARTICIPANT"},"channels.readHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.readMessageContents":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.reorderUsernames":{"CHANNEL_INVALID":"CHANNEL_INVALID"},"channels.reportSpam":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"channels.setStickers":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ID_INVALID":"CHAT_ID_INVALID","PARTICIPANTS_TOO_FEW":"PARTICIPANTS_TOO_FEW"},"channels.toggleInvites":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"channels.toggleJoinRequest":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","CHAT_PUBLIC_REQUIRED":"CHAT_PUBLIC_REQUIRED"},"channels.toggleJoinToSend":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"channels.togglePreHistoryHidden":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_LINK_EXISTS":"CHAT_LINK_EXISTS","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","FORUM_ENABLED":"FORUM_ENABLED"},"channels.toggleSignatures":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"channels.toggleSlowMode":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","SECONDS_INVALID":"SECONDS_INVALID"},"channels.toggleViewForumAsMessages":{"CHANNEL_INVALID":"CHANNEL_INVALID"},"channels.updateEmojiStatus":{"CHANNEL_INVALID":"CHANNEL_INVALID"},"channels.updatePinnedMessage":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"channels.updateUsername":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_ADMIN_PUBLIC_TOO_MUCH":"CHANNELS_ADMIN_PUBLIC_TOO_MUCH","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","USERNAME_INVALID":"USERNAME_INVALID","USERNAME_NOT_MODIFIED":"USERNAME_NOT_MODIFIED","USERNAME_OCCUPIED":"USERNAME_OCCUPIED","USERNAME_PURCHASE_AVAILABLE":"USERNAME_PURCHASE_AVAILABLE"},"channels.viewSponsoredMessage":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.editChatAbout":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ABOUT_NOT_MODIFIED":"CHAT_ABOUT_NOT_MODIFIED","CHAT_ABOUT_TOO_LONG":"CHAT_ABOUT_TOO_LONG","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.exportChatInvite":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","EXPIRE_DATE_INVALID":"EXPIRE_DATE_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USAGE_LIMIT_INVALID":"USAGE_LIMIT_INVALID"},"messages.getChatInviteImporters":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","PEER_ID_INVALID":"PEER_ID_INVALID","SEARCH_WITH_LINK_NOT_SUPPORTED":"SEARCH_WITH_LINK_NOT_SUPPORTED"},"messages.getDiscussionMessage":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","TOPIC_ID_INVALID":"TOPIC_ID_INVALID"},"messages.getHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","TAKEOUT_INVALID":"TAKEOUT_INVALID"},"messages.getMessagesReactions":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.getMessagesViews":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getPeerDialogs":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getPeerSettings":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getReplies":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","TOPIC_ID_INVALID":"TOPIC_ID_INVALID"},"messages.getUnreadMentions":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.hideAllChatJoinRequests":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","HIDE_REQUESTER_MISSING":"HIDE_REQUESTER_MISSING","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","PEER_ID_INVALID":"PEER_ID_INVALID","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH"},"messages.importChatInvite":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_INVALID":"CHAT_INVALID","INVITE_HASH_EMPTY":"INVITE_HASH_EMPTY","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","INVITE_HASH_INVALID":"INVITE_HASH_INVALID","INVITE_REQUEST_SENT":"INVITE_REQUEST_SENT","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ALREADY_PARTICIPANT":"USER_ALREADY_PARTICIPANT","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH","USERS_TOO_MUCH":"USERS_TOO_MUCH"},"messages.readMentions":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.report":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.search":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","FROM_PEER_INVALID":"FROM_PEER_INVALID","INPUT_FILTER_INVALID":"INPUT_FILTER_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","PEER_ID_NOT_SUPPORTED":"PEER_ID_NOT_SUPPORTED","SEARCH_QUERY_EMPTY":"SEARCH_QUERY_EMPTY","USER_ID_INVALID":"USER_ID_INVALID"},"messages.sendInlineBotResult":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_RESTRICTED":"CHAT_RESTRICTED","CHAT_SEND_INLINE_FORBIDDEN":"CHAT_SEND_INLINE_FORBIDDEN","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","INLINE_RESULT_EXPIRED":"INLINE_RESULT_EXPIRED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MEDIA_EMPTY":"MEDIA_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","QUERY_ID_EMPTY":"QUERY_ID_EMPTY","RESULT_ID_EMPTY":"RESULT_ID_EMPTY","RESULT_ID_INVALID":"RESULT_ID_INVALID","SCHEDULE_DATE_TOO_LATE":"SCHEDULE_DATE_TOO_LATE","SCHEDULE_TOO_MUCH":"SCHEDULE_TOO_MUCH","TOPIC_DELETED":"TOPIC_DELETED","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","VOICE_MESSAGES_FORBIDDEN":"VOICE_MESSAGES_FORBIDDEN","WEBPAGE_CURL_FAILED":"WEBPAGE_CURL_FAILED","WEBPAGE_MEDIA_EMPTY":"WEBPAGE_MEDIA_EMPTY","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.sendMultiMedia":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_FORWARDS_RESTRICTED":"CHAT_FORWARDS_RESTRICTED","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","MEDIA_CAPTION_TOO_LONG":"MEDIA_CAPTION_TOO_LONG","MEDIA_EMPTY":"MEDIA_EMPTY","MEDIA_INVALID":"MEDIA_INVALID","MULTI_MEDIA_TOO_LONG":"MULTI_MEDIA_TOO_LONG","PEER_ID_INVALID":"PEER_ID_INVALID","RANDOM_ID_EMPTY":"RANDOM_ID_EMPTY","SCHEDULE_DATE_TOO_LATE":"SCHEDULE_DATE_TOO_LATE","SCHEDULE_TOO_MUCH":"SCHEDULE_TOO_MUCH","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"messages.sendReaction":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CUSTOM_REACTIONS_TOO_MANY":"CUSTOM_REACTIONS_TOO_MANY","DOCUMENT_INVALID":"DOCUMENT_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MESSAGE_NOT_MODIFIED":"MESSAGE_NOT_MODIFIED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","REACTION_EMPTY":"REACTION_EMPTY","REACTION_INVALID":"REACTION_INVALID","REACTIONS_TOO_MANY":"REACTIONS_TOO_MANY","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"messages.sendVote":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MESSAGE_POLL_CLOSED":"MESSAGE_POLL_CLOSED","MSG_ID_INVALID":"MSG_ID_INVALID","OPTION_INVALID":"OPTION_INVALID","OPTIONS_TOO_MUCH":"OPTIONS_TOO_MUCH","PEER_ID_INVALID":"PEER_ID_INVALID","REVOTE_NOT_ALLOWED":"REVOTE_NOT_ALLOWED"},"messages.setTyping":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_IS_BOT":"USER_IS_BOT"},"messages.uploadMedia":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_RESTRICTED":"CHAT_RESTRICTED","FILE_PART_LENGTH_INVALID":"FILE_PART_LENGTH_INVALID","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MEDIA_INVALID":"MEDIA_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_INVALID_DIMENSIONS":"PHOTO_INVALID_DIMENSIONS","PHOTO_SAVE_FILE_INVALID":"PHOTO_SAVE_FILE_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","WEBPAGE_CURL_FAILED":"WEBPAGE_CURL_FAILED"},"stats.getMegagroupStats":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MEGAGROUP_REQUIRED":"MEGAGROUP_REQUIRED"},"stats.getMessagePublicForwards":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"stats.getMessageStats":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getBoostersList":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getPeerStories":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getStoriesByID":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PEER_ID_INVALID":"PEER_ID_INVALID","STORIES_NEVER_CREATED":"STORIES_NEVER_CREATED","STORY_ID_EMPTY":"STORY_ID_EMPTY"},"stories.getStoriesViews":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PEER_ID_INVALID":"PEER_ID_INVALID","STORY_ID_EMPTY":"STORY_ID_EMPTY"},"updates.getChannelDifference":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","FROM_MESSAGE_BOT_DISABLED":"FROM_MESSAGE_BOT_DISABLED","MSG_ID_INVALID":"MSG_ID_INVALID","PERSISTENT_TIMESTAMP_EMPTY":"PERSISTENT_TIMESTAMP_EMPTY","PERSISTENT_TIMESTAMP_INVALID":"PERSISTENT_TIMESTAMP_INVALID","PINNED_DIALOGS_TOO_MUCH":"PINNED_DIALOGS_TOO_MUCH","RANGES_INVALID":"RANGES_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"users.getFullUser":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID","USERNAME_OCCUPIED":"USERNAME_OCCUPIED"},"users.getUsers":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","FROM_MESSAGE_BOT_DISABLED":"FROM_MESSAGE_BOT_DISABLED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"account.reportPeer":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PEER_ID_INVALID":"PEER_ID_INVALID"},"channels.editCreator":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_ADMIN_PUBLIC_TOO_MUCH":"CHANNELS_ADMIN_PUBLIC_TOO_MUCH","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PASSWORD_HASH_INVALID":"PASSWORD_HASH_INVALID","PASSWORD_MISSING":"PASSWORD_MISSING","PASSWORD_TOO_FRESH_%d":"PASSWORD_TOO_FRESH_%d","SESSION_TOO_FRESH_%d":"SESSION_TOO_FRESH_%d","SRP_ID_INVALID":"SRP_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"channels.toggleUsername":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","USERNAME_INVALID":"USERNAME_INVALID","USERNAMES_ACTIVE_TOO_MUCH":"USERNAMES_ACTIVE_TOO_MUCH"},"contacts.addContact":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CONTACT_ID_INVALID":"CONTACT_ID_INVALID","CONTACT_NAME_EMPTY":"CONTACT_NAME_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID"},"contacts.block":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CONTACT_ID_INVALID":"CONTACT_ID_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"contacts.unblock":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CONTACT_ID_INVALID":"CONTACT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"folders.editPeerFolders":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","FOLDER_ID_INVALID":"FOLDER_ID_INVALID"},"messages.deleteHistory":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_REVOKE_DATE_UNSUPPORTED":"CHAT_REVOKE_DATE_UNSUPPORTED","MAX_DATE_INVALID":"MAX_DATE_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MIN_DATE_INVALID":"MIN_DATE_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.editExportedChatInvite":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_INVITE_PERMANENT":"CHAT_INVITE_PERMANENT","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","PEER_ID_INVALID":"PEER_ID_INVALID","USAGE_LIMIT_INVALID":"USAGE_LIMIT_INVALID"},"messages.getExportedChatInvite":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getOnlines":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.hideChatJoinRequest":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","HIDE_REQUESTER_MISSING":"HIDE_REQUESTER_MISSING","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ALREADY_PARTICIPANT":"USER_ALREADY_PARTICIPANT","USER_ID_INVALID":"USER_ID_INVALID"},"messages.readHistory":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.reportSpam":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.toggleDialogPin":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PEER_HISTORY_EMPTY":"PEER_HISTORY_EMPTY","PEER_ID_INVALID":"PEER_ID_INVALID","PINNED_DIALOGS_TOO_MUCH":"PINNED_DIALOGS_TOO_MUCH"},"phone.createGroupCall":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CREATE_CALL_FAILED":"CREATE_CALL_FAILED","PEER_ID_INVALID":"PEER_ID_INVALID","SCHEDULE_DATE_INVALID":"SCHEDULE_DATE_INVALID"},"channels.getAdminedPublicChannels":{"CHANNELS_ADMIN_LOCATED_TOO_MUCH":"CHANNELS_ADMIN_LOCATED_TOO_MUCH","CHANNELS_ADMIN_PUBLIC_TOO_MUCH":"CHANNELS_ADMIN_PUBLIC_TOO_MUCH"},"messages.migrateChat":{"CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"channels.editLocation":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","MEGAGROUP_GEO_REQUIRED":"MEGAGROUP_GEO_REQUIRED","MEGAGROUP_REQUIRED":"MEGAGROUP_REQUIRED"},"messages.checkHistoryImportPeer":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT"},"messages.deleteChat":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.deleteChatUser":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID","USER_NOT_PARTICIPANT":"USER_NOT_PARTICIPANT"},"messages.editChatTitle":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","CHAT_TITLE_EMPTY":"CHAT_TITLE_EMPTY","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getAdminsWithInvites":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getMessageEditData":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getScheduledHistory":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getScheduledMessages":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.initHistoryImport":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","IMPORT_FILE_INVALID":"IMPORT_FILE_INVALID","IMPORT_FORMAT_DATE_INVALID":"IMPORT_FORMAT_DATE_INVALID","IMPORT_FORMAT_UNRECOGNIZED":"IMPORT_FORMAT_UNRECOGNIZED","IMPORT_HISTORY_LOG_EMPTY":"IMPORT_HISTORY_LOG_EMPTY","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.setChatAvailableReactions":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.toggleNoForwards":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.unpinAllMessages":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.uploadImportedMedia":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"phone.getGroupCallStreamRtmpUrl":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"premium.getBoostsList":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getStoriesArchive":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"channels.toggleForum":{"CHAT_DISCUSSION_UNALLOWED":"CHAT_DISCUSSION_UNALLOWED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"messages.discardEncryption":{"CHAT_ID_EMPTY":"CHAT_ID_EMPTY","ENCRYPTION_ALREADY_ACCEPTED":"ENCRYPTION_ALREADY_ACCEPTED","ENCRYPTION_ALREADY_DECLINED":"ENCRYPTION_ALREADY_DECLINED","ENCRYPTION_ID_INVALID":"ENCRYPTION_ID_INVALID"},"channels.toggleParticipantsHidden":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PARTICIPANTS_TOO_FEW":"PARTICIPANTS_TOO_FEW"},"messages.acceptEncryption":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","ENCRYPTION_ALREADY_ACCEPTED":"ENCRYPTION_ALREADY_ACCEPTED","ENCRYPTION_ALREADY_DECLINED":"ENCRYPTION_ALREADY_DECLINED"},"messages.editChatAdmin":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID","USER_NOT_PARTICIPANT":"USER_NOT_PARTICIPANT"},"messages.editChatPhoto":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","PEER_ID_INVALID":"PEER_ID_INVALID","PHOTO_CROP_SIZE_SMALL":"PHOTO_CROP_SIZE_SMALL","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_INVALID":"PHOTO_INVALID"},"messages.forwardMessage":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.getChats":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getFullChat":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.readDiscussion":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.reportEncryptedSpam":{"CHAT_ID_INVALID":"CHAT_ID_INVALID"},"messages.sendEncrypted":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","DATA_INVALID":"DATA_INVALID","DATA_TOO_LONG":"DATA_TOO_LONG","ENCRYPTION_DECLINED":"ENCRYPTION_DECLINED","MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.sendEncryptedFile":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","DATA_TOO_LONG":"DATA_TOO_LONG","ENCRYPTION_DECLINED":"ENCRYPTION_DECLINED","FILE_EMTPY":"FILE_EMTPY","MD5_CHECKSUM_INVALID":"MD5_CHECKSUM_INVALID","MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.sendEncryptedService":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","DATA_INVALID":"DATA_INVALID","ENCRYPTION_DECLINED":"ENCRYPTION_DECLINED","ENCRYPTION_ID_INVALID":"ENCRYPTION_ID_INVALID","MSG_WAIT_FAILED":"MSG_WAIT_FAILED","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"messages.setEncryptedTyping":{"CHAT_ID_INVALID":"CHAT_ID_INVALID"},"messages.toggleChatAdmins":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"messages.updateDialogFilter":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","CHATLIST_EXCLUDE_INVALID":"CHATLIST_EXCLUDE_INVALID","FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_INCLUDE_EMPTY":"FILTER_INCLUDE_EMPTY","FILTER_TITLE_EMPTY":"FILTER_TITLE_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.createChat":{"CHAT_INVALID":"CHAT_INVALID","CHAT_TITLE_EMPTY":"CHAT_TITLE_EMPTY","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","TTL_PERIOD_INVALID":"TTL_PERIOD_INVALID","USERS_TOO_FEW":"USERS_TOO_FEW"},"channels.toggleAntiSpam":{"CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"messages.setHistoryTTL":{"CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","TTL_PERIOD_INVALID":"TTL_PERIOD_INVALID"},"messages.getMessageReadParticipants":{"CHAT_TOO_BIG":"CHAT_TOO_BIG","MSG_ID_INVALID":"MSG_ID_INVALID","MSG_TOO_OLD":"MSG_TOO_OLD","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getMessagesReadParticipants":{"CHAT_TOO_BIG":"CHAT_TOO_BIG","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID"},"account.deleteBusinessChatLink":{"CHATLINK_SLUG_EMPTY":"CHATLINK_SLUG_EMPTY"},"account.editBusinessChatLink":{"CHATLINK_SLUG_EMPTY":"CHATLINK_SLUG_EMPTY"},"account.resolveBusinessChatLink":{"CHATLINK_SLUG_EMPTY":"CHATLINK_SLUG_EMPTY"},"auth.recoverPassword":{"CODE_EMPTY":"CODE_EMPTY","NEW_SETTINGS_INVALID":"NEW_SETTINGS_INVALID"},"account.confirmPhone":{"CODE_HASH_INVALID":"CODE_HASH_INVALID","PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY"},"account.confirmPasswordEmail":{"CODE_INVALID":"CODE_INVALID","EMAIL_HASH_EXPIRED":"EMAIL_HASH_EXPIRED"},"fragment.getCollectibleInfo":{"COLLECTIBLE_INVALID":"COLLECTIBLE_INVALID","COLLECTIBLE_NOT_FOUND":"COLLECTIBLE_NOT_FOUND"},"account.updateColor":{"COLOR_INVALID":"COLOR_INVALID"},"help.getConfig":{"CONNECTION_API_ID_INVALID":"CONNECTION_API_ID_INVALID","CONNECTION_APP_VERSION_EMPTY":"CONNECTION_APP_VERSION_EMPTY","CONNECTION_LAYER_INVALID":"CONNECTION_LAYER_INVALID","DATA_INVALID":"DATA_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","USERNAME_INVALID":"USERNAME_INVALID"},"account.getBotBusinessConnection":{"CONNECTION_ID_INVALID":"CONNECTION_ID_INVALID"},"contacts.resolveUsername":{"CONNECTION_LAYER_INVALID":"CONNECTION_LAYER_INVALID","USERNAME_INVALID":"USERNAME_INVALID","USERNAME_NOT_OCCUPIED":"USERNAME_NOT_OCCUPIED"},"initConnection":{"CONNECTION_LAYER_INVALID":"CONNECTION_LAYER_INVALID"},"contacts.acceptContact":{"CONTACT_ADD_MISSING":"CONTACT_ADD_MISSING","CONTACT_ID_INVALID":"CONTACT_ID_INVALID","CONTACT_REQ_MISSING":"CONTACT_REQ_MISSING","MSG_ID_INVALID":"MSG_ID_INVALID"},"contacts.deleteContact":{"CONTACT_ID_INVALID":"CONTACT_ID_INVALID"},"photos.uploadContactProfilePhoto":{"CONTACT_MISSING":"CONTACT_MISSING","USER_ID_INVALID":"USER_ID_INVALID"},"payments.exportInvoice":{"CURRENCY_TOTAL_AMOUNT_INVALID":"CURRENCY_TOTAL_AMOUNT_INVALID","INVOICE_PAYLOAD_INVALID":"INVOICE_PAYLOAD_INVALID","MEDIA_INVALID":"MEDIA_INVALID","PAYMENT_PROVIDER_INVALID":"PAYMENT_PROVIDER_INVALID"},"bots.answerWebhookJSONQuery":{"DATA_JSON_INVALID":"DATA_JSON_INVALID","QUERY_ID_INVALID":"QUERY_ID_INVALID","USER_BOT_INVALID":"USER_BOT_INVALID"},"bots.sendCustomRequest":{"DATA_JSON_INVALID":"DATA_JSON_INVALID","METHOD_INVALID":"METHOD_INVALID","USER_BOT_INVALID":"USER_BOT_INVALID"},"help.acceptTermsOfService":{"DATA_JSON_INVALID":"DATA_JSON_INVALID"},"phone.joinGroupCall":{"DATA_JSON_INVALID":"DATA_JSON_INVALID","GROUPCALL_INVALID":"GROUPCALL_INVALID","GROUPCALL_SSRC_DUPLICATE_MUCH":"GROUPCALL_SSRC_DUPLICATE_MUCH","JOIN_AS_PEER_INVALID":"JOIN_AS_PEER_INVALID"},"auth.exportAuthorization":{"DC_ID_INVALID":"DC_ID_INVALID"},"messages.requestEncryption":{"DH_G_A_INVALID":"DH_G_A_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","USER_ID_INVALID":"USER_ID_INVALID"},"account.updateEmojiStatus":{"DOCUMENT_INVALID":"DOCUMENT_INVALID"},"upload.getWebFile":{"DOCUMENT_INVALID":"DOCUMENT_INVALID","LOCATION_INVALID":"LOCATION_INVALID"},"account.cancelPasswordEmail":{"EMAIL_HASH_EXPIRED":"EMAIL_HASH_EXPIRED"},"account.resendPasswordEmail":{"EMAIL_HASH_EXPIRED":"EMAIL_HASH_EXPIRED"},"account.sendVerifyEmailCode":{"EMAIL_INVALID":"EMAIL_INVALID","EMAIL_NOT_SETUP":"EMAIL_NOT_SETUP","PHONE_HASH_EXPIRED":"PHONE_HASH_EXPIRED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"account.updatePasswordSettings":{"EMAIL_INVALID":"EMAIL_INVALID","EMAIL_UNCONFIRMED":"EMAIL_UNCONFIRMED","EMAIL_UNCONFIRMED_%d":"EMAIL_UNCONFIRMED_%d","NEW_SALT_INVALID":"NEW_SALT_INVALID","NEW_SETTINGS_EMPTY":"NEW_SETTINGS_EMPTY","NEW_SETTINGS_INVALID":"NEW_SETTINGS_INVALID","PASSWORD_HASH_INVALID":"PASSWORD_HASH_INVALID","SRP_ID_INVALID":"SRP_ID_INVALID","SRP_PASSWORD_CHANGED":"SRP_PASSWORD_CHANGED"},"account.verifyEmail":{"EMAIL_INVALID":"EMAIL_INVALID","EMAIL_VERIFY_EXPIRED":"EMAIL_VERIFY_EXPIRED"},"messages.setChatTheme":{"EMOJI_INVALID":"EMOJI_INVALID","EMOJI_NOT_MODIFIED":"EMOJI_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getStickers":{"EMOTICON_EMPTY":"EMOTICON_EMPTY"},"messages.searchCustomEmoji":{"EMOTICON_EMPTY":"EMOTICON_EMPTY"},"messages.getStickerSet":{"EMOTICON_STICKERPACK_MISSING":"EMOTICON_STICKERPACK_MISSING","STICKERSET_INVALID":"STICKERSET_INVALID"},"auth.bindTempAuthKey":{"ENCRYPTED_MESSAGE_INVALID":"ENCRYPTED_MESSAGE_INVALID","TEMP_AUTH_KEY_ALREADY_BOUND":"TEMP_AUTH_KEY_ALREADY_BOUND","TEMP_AUTH_KEY_EMPTY":"TEMP_AUTH_KEY_EMPTY"},"help.editUserInfo":{"ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","USER_INVALID":"USER_INVALID"},"messages.getWebPagePreview":{"ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","MESSAGE_EMPTY":"MESSAGE_EMPTY"},"messages.saveDraft":{"ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.setBotPrecheckoutResults":{"ERROR_TEXT_EMPTY":"ERROR_TEXT_EMPTY"},"contacts.importCard":{"EXPORT_CARD_INVALID":"EXPORT_CARD_INVALID"},"upload.saveBigFilePart":{"FILE_PART_EMPTY":"FILE_PART_EMPTY","FILE_PART_INVALID":"FILE_PART_INVALID","FILE_PART_SIZE_CHANGED":"FILE_PART_SIZE_CHANGED","FILE_PART_SIZE_INVALID":"FILE_PART_SIZE_INVALID","FILE_PART_TOO_BIG":"FILE_PART_TOO_BIG","FILE_PARTS_INVALID":"FILE_PARTS_INVALID"},"upload.saveFilePart":{"FILE_PART_EMPTY":"FILE_PART_EMPTY","FILE_PART_INVALID":"FILE_PART_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID"},"upload.getCdnFile":{"FILE_TOKEN_INVALID":"FILE_TOKEN_INVALID"},"chatlists.deleteExportedInvite":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"chatlists.editExportedInvite":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"chatlists.exportChatlistInvite":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED","INVITES_TOO_MUCH":"INVITES_TOO_MUCH","PEERS_LIST_EMPTY":"PEERS_LIST_EMPTY"},"chatlists.getChatlistUpdates":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED","INPUT_CHATLIST_INVALID":"INPUT_CHATLIST_INVALID"},"chatlists.getLeaveChatlistSuggestions":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"chatlists.hideChatlistUpdates":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"chatlists.joinChatlistUpdates":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_INCLUDE_EMPTY":"FILTER_INCLUDE_EMPTY"},"chatlists.joinChatlistInvite":{"FILTER_INCLUDE_EMPTY":"FILTER_INCLUDE_EMPTY","INVITE_SLUG_EMPTY":"INVITE_SLUG_EMPTY","INVITE_SLUG_EXPIRED":"INVITE_SLUG_EXPIRED"},"messages.getSearchResultsCalendar":{"FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"messages.searchSentMedia":{"FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"auth.signUp":{"FIRSTNAME_INVALID":"FIRSTNAME_INVALID","LASTNAME_INVALID":"LASTNAME_INVALID","PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_CODE_INVALID":"PHONE_CODE_INVALID","PHONE_NUMBER_FLOOD":"PHONE_NUMBER_FLOOD","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_NUMBER_OCCUPIED":"PHONE_NUMBER_OCCUPIED"},"folders.deleteFolder":{"FOLDER_ID_EMPTY":"FOLDER_ID_EMPTY","FOLDER_ID_INVALID":"FOLDER_ID_INVALID"},"messages.getDialogs":{"FOLDER_ID_INVALID":"FOLDER_ID_INVALID","OFFSET_PEER_ID_INVALID":"OFFSET_PEER_ID_INVALID"},"messages.getPinnedDialogs":{"FOLDER_ID_INVALID":"FOLDER_ID_INVALID"},"messages.searchGlobal":{"FOLDER_ID_INVALID":"FOLDER_ID_INVALID","INPUT_FILTER_INVALID":"INPUT_FILTER_INVALID","SEARCH_QUERY_EMPTY":"SEARCH_QUERY_EMPTY"},"contacts.getLocated":{"GEO_POINT_INVALID":"GEO_POINT_INVALID","USERPIC_UPLOAD_REQUIRED":"USERPIC_UPLOAD_REQUIRED"},"messages.saveGif":{"GIF_ID_INVALID":"GIF_ID_INVALID"},"payments.applyGiftCode":{"GIFT_SLUG_EXPIRED":"GIFT_SLUG_EXPIRED","GIFT_SLUG_INVALID":"GIFT_SLUG_INVALID"},"payments.checkGiftCode":{"GIFT_SLUG_EXPIRED":"GIFT_SLUG_EXPIRED","GIFT_SLUG_INVALID":"GIFT_SLUG_INVALID"},"stats.loadAsyncGraph":{"GRAPH_EXPIRED_RELOAD":"GRAPH_EXPIRED_RELOAD","GRAPH_INVALID_RELOAD":"GRAPH_INVALID_RELOAD","GRAPH_OUTDATED_RELOAD":"GRAPH_OUTDATED_RELOAD"},"phone.discardGroupCall":{"GROUPCALL_ALREADY_DISCARDED":"GROUPCALL_ALREADY_DISCARDED","GROUPCALL_INVALID":"GROUPCALL_INVALID"},"phone.discardGroupCallRequest":{"GROUPCALL_ALREADY_DISCARDED":"GROUPCALL_ALREADY_DISCARDED"},"phone.editGroupCallParticipant":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN","PARTICIPANT_JOIN_MISSING":"PARTICIPANT_JOIN_MISSING","RAISE_HAND_FORBIDDEN":"RAISE_HAND_FORBIDDEN","USER_VOLUME_INVALID":"USER_VOLUME_INVALID","VIDEO_PAUSE_FORBIDDEN":"VIDEO_PAUSE_FORBIDDEN","VIDEO_STOP_FORBIDDEN":"VIDEO_STOP_FORBIDDEN"},"phone.editGroupCallTitle":{"GROUPCALL_INVALID":"GROUPCALL_INVALID"},"phone.getGroupCall":{"GROUPCALL_INVALID":"GROUPCALL_INVALID"},"phone.getGroupCallStreamChannels":{"GROUPCALL_INVALID":"GROUPCALL_INVALID","GROUPCALL_JOIN_MISSING":"GROUPCALL_JOIN_MISSING"},"phone.inviteToGroupCall":{"GROUPCALL_INVALID":"GROUPCALL_INVALID","INVITE_FORBIDDEN_WITH_JOINAS":"INVITE_FORBIDDEN_WITH_JOINAS","USER_ALREADY_INVITED":"USER_ALREADY_INVITED"},"phone.toggleGroupCallRecord":{"GROUPCALL_INVALID":"GROUPCALL_INVALID","GROUPCALL_NOT_MODIFIED":"GROUPCALL_NOT_MODIFIED"},"phone.checkGroupCall":{"GROUPCALL_JOIN_MISSING":"GROUPCALL_JOIN_MISSING"},"phone.toggleGroupCallSettings":{"GROUPCALL_NOT_MODIFIED":"GROUPCALL_NOT_MODIFIED"},"account.changeAuthorizationSettings":{"HASH_INVALID":"HASH_INVALID"},"account.resetAuthorization":{"HASH_INVALID":"HASH_INVALID"},"account.resetWebAuthorization":{"HASH_INVALID":"HASH_INVALID"},"account.sendConfirmPhoneCode":{"HASH_INVALID":"HASH_INVALID"},"messages.checkHistoryImport":{"IMPORT_FORMAT_UNRECOGNIZED":"IMPORT_FORMAT_UNRECOGNIZED"},"messages.startHistoryImport":{"IMPORT_ID_INVALID":"IMPORT_ID_INVALID"},"contacts.importContactToken":{"IMPORT_TOKEN_INVALID":"IMPORT_TOKEN_INVALID"},"messages.translateText":{"INPUT_TEXT_EMPTY":"INPUT_TEXT_EMPTY","INPUT_TEXT_TOO_LONG":"INPUT_TEXT_TOO_LONG","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","TO_LANG_INVALID":"TO_LANG_INVALID","TRANSLATE_REQ_QUOTA_EXCEEDED":"TRANSLATE_REQ_QUOTA_EXCEEDED"},"messages.sendScreenshotNotification":{"INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","PEER_ID_INVALID":"PEER_ID_INVALID","REPLY_MESSAGE_ID_INVALID":"REPLY_MESSAGE_ID_INVALID","STORY_ID_INVALID":"STORY_ID_INVALID","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.checkChatInvite":{"INVITE_HASH_EMPTY":"INVITE_HASH_EMPTY","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","INVITE_HASH_INVALID":"INVITE_HASH_INVALID"},"messages.deleteExportedChatInvite":{"INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","INVITE_REVOKED_MISSING":"INVITE_REVOKED_MISSING","PEER_ID_INVALID":"PEER_ID_INVALID"},"chatlists.checkChatlistInvite":{"INVITE_SLUG_EMPTY":"INVITE_SLUG_EMPTY","INVITE_SLUG_EXPIRED":"INVITE_SLUG_EXPIRED"},"phone.saveDefaultGroupCallJoinAs":{"JOIN_AS_PEER_INVALID":"JOIN_AS_PEER_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"bots.resetBotCommands":{"LANG_CODE_INVALID":"LANG_CODE_INVALID"},"langpack.getLangPack":{"LANG_CODE_NOT_SUPPORTED":"LANG_CODE_NOT_SUPPORTED","LANG_PACK_INVALID":"LANG_PACK_INVALID"},"langpack.getLanguage":{"LANG_CODE_NOT_SUPPORTED":"LANG_CODE_NOT_SUPPORTED","LANG_PACK_INVALID":"LANG_PACK_INVALID"},"langpack.getStrings":{"LANG_CODE_NOT_SUPPORTED":"LANG_CODE_NOT_SUPPORTED","LANG_PACK_INVALID":"LANG_PACK_INVALID"},"langpack.getDifference":{"LANG_PACK_INVALID":"LANG_PACK_INVALID"},"langpack.getLanguages":{"LANG_PACK_INVALID":"LANG_PACK_INVALID"},"upload.getFileHashes":{"LOCATION_INVALID":"LOCATION_INVALID"},"messages.readEncryptedHistory":{"MAX_DATE_INVALID":"MAX_DATE_INVALID","MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"photos.getUserPhotos":{"MAX_ID_INVALID":"MAX_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"stories.readStories":{"MAX_ID_INVALID":"MAX_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","STORIES_NEVER_CREATED":"STORIES_NEVER_CREATED"},"messages.receivedQueue":{"MAX_QTS_INVALID":"MAX_QTS_INVALID","MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"auth.sendInvites":{"MESSAGE_EMPTY":"MESSAGE_EMPTY"},"messages.deleteMessages":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID"},"messages.getGameHighScores":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"messages.getInlineGameHighScores":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"messages.getOutboxReadDate":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MESSAGE_TOO_OLD":"MESSAGE_TOO_OLD","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getPollResults":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.sendScheduledMessages":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.setInlineGameScore":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"payments.getPaymentReceipt":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID"},"payments.sendPaymentForm":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID"},"payments.validateRequestedInfo":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID"},"messages.setBotCallbackAnswer":{"MESSAGE_TOO_LONG":"MESSAGE_TOO_LONG","QUERY_ID_INVALID":"QUERY_ID_INVALID","URL_INVALID":"URL_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"messages.searchGifs":{"METHOD_INVALID":"METHOD_INVALID","SEARCH_QUERY_EMPTY":"SEARCH_QUERY_EMPTY"},"contacts.blockFromReplies":{"MSG_ID_INVALID":"MSG_ID_INVALID"},"messages.getCommonChats":{"MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"messages.getMessageReactionsList":{"MSG_ID_INVALID":"MSG_ID_INVALID"},"messages.getPollVotes":{"MSG_ID_INVALID":"MSG_ID_INVALID"},"messages.reportReaction":{"MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"smsjobs.join":{"NOT_ELIGIBLE":"NOT_ELIGIBLE"},"smsjobs.getStatus":{"NOT_JOINED":"NOT_JOINED"},"smsjobs.leave":{"NOT_JOINED":"NOT_JOINED"},"smsjobs.updateSettings":{"NOT_JOINED":"NOT_JOINED"},"account.reorderUsernames":{"ORDER_INVALID":"ORDER_INVALID"},"stickers.createStickerSet":{"PACK_SHORT_NAME_INVALID":"PACK_SHORT_NAME_INVALID","PACK_SHORT_NAME_OCCUPIED":"PACK_SHORT_NAME_OCCUPIED","PACK_TITLE_INVALID":"PACK_TITLE_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","STICKER_EMOJI_INVALID":"STICKER_EMOJI_INVALID","STICKER_FILE_INVALID":"STICKER_FILE_INVALID","STICKER_GIF_DIMENSIONS":"STICKER_GIF_DIMENSIONS","STICKER_PNG_DIMENSIONS":"STICKER_PNG_DIMENSIONS","STICKER_PNG_NOPNG":"STICKER_PNG_NOPNG","STICKER_TGS_NODOC":"STICKER_TGS_NODOC","STICKER_TGS_NOTGS":"STICKER_TGS_NOTGS","STICKER_THUMB_PNG_NOPNG":"STICKER_THUMB_PNG_NOPNG","STICKER_THUMB_TGS_NOTGS":"STICKER_THUMB_TGS_NOTGS","STICKER_VIDEO_BIG":"STICKER_VIDEO_BIG","STICKER_VIDEO_NODOC":"STICKER_VIDEO_NODOC","STICKER_VIDEO_NOWEBM":"STICKER_VIDEO_NOWEBM","STICKERS_EMPTY":"STICKERS_EMPTY","USER_ID_INVALID":"USER_ID_INVALID"},"phone.joinGroupCallPresentation":{"PARTICIPANT_JOIN_MISSING":"PARTICIPANT_JOIN_MISSING"},"account.resetPassword":{"PASSWORD_EMPTY":"PASSWORD_EMPTY"},"auth.requestPasswordRecovery":{"PASSWORD_EMPTY":"PASSWORD_EMPTY","PASSWORD_RECOVERY_NA":"PASSWORD_RECOVERY_NA"},"account.getPasswordSettings":{"PASSWORD_HASH_INVALID":"PASSWORD_HASH_INVALID"},"account.getTmpPassword":{"PASSWORD_HASH_INVALID":"PASSWORD_HASH_INVALID","TMP_PASSWORD_DISABLED":"TMP_PASSWORD_DISABLED"},"auth.checkPassword":{"PASSWORD_HASH_INVALID":"PASSWORD_HASH_INVALID","SRP_ID_INVALID":"SRP_ID_INVALID","SRP_PASSWORD_CHANGED":"SRP_PASSWORD_CHANGED"},"auth.checkRecoveryPassword":{"PASSWORD_RECOVERY_EXPIRED":"PASSWORD_RECOVERY_EXPIRED"},"account.saveSecureValue":{"PASSWORD_REQUIRED":"PASSWORD_REQUIRED"},"account.getNotifySettings":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"account.reportProfilePhoto":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"account.saveAutoSaveSettings":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"contacts.resetTopPeerRating":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.deleteSavedHistory":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.deleteScheduledMessages":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getSavedHistory":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getSearchCounters":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getStatsURL":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getUnreadReactions":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.hideReportSpam":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.markDialogUnread":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.readReactions":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.reorderPinnedDialogs":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.saveDefaultSendAs":{"PEER_ID_INVALID":"PEER_ID_INVALID","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID"},"messages.setChatWallPaper":{"PEER_ID_INVALID":"PEER_ID_INVALID","WALLPAPER_INVALID":"WALLPAPER_INVALID","WALLPAPER_NOT_FOUND":"WALLPAPER_NOT_FOUND"},"messages.toggleSavedDialogPin":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.transcribeAudio":{"PEER_ID_INVALID":"PEER_ID_INVALID","TRANSCRIPTION_FAILED":"TRANSCRIPTION_FAILED"},"payments.getGiveawayInfo":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"payments.launchPrepaidGiveaway":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"phone.getGroupCallJoinAs":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"premium.getBoostsStatus":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"premium.getUserBoosts":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stats.getStoryPublicForwards":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stats.getStoryStats":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.deleteStories":{"PEER_ID_INVALID":"PEER_ID_INVALID","STORY_ID_EMPTY":"STORY_ID_EMPTY"},"stories.editStory":{"PEER_ID_INVALID":"PEER_ID_INVALID","STORY_NOT_MODIFIED":"STORY_NOT_MODIFIED"},"stories.exportStoryLink":{"PEER_ID_INVALID":"PEER_ID_INVALID","STORY_ID_EMPTY":"STORY_ID_EMPTY","USER_PUBLIC_MISSING":"USER_PUBLIC_MISSING"},"stories.getBoostsStatus":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getPinnedStories":{"PEER_ID_INVALID":"PEER_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"stories.getStoryReactionsList":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getStoryViewsList":{"PEER_ID_INVALID":"PEER_ID_INVALID","STORY_ID_INVALID":"STORY_ID_INVALID"},"stories.incrementStoryViews":{"PEER_ID_INVALID":"PEER_ID_INVALID","STORY_ID_EMPTY":"STORY_ID_EMPTY"},"stories.report":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.sendReaction":{"PEER_ID_INVALID":"PEER_ID_INVALID","REACTION_INVALID":"REACTION_INVALID","STORY_ID_EMPTY":"STORY_ID_EMPTY","STORY_ID_INVALID":"STORY_ID_INVALID"},"stories.togglePeerStoriesHidden":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.togglePinned":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"account.changePhone":{"PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_NUMBER_OCCUPIED":"PHONE_NUMBER_OCCUPIED"},"account.verifyPhone":{"PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.requestFirebaseSms":{"PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.resendCode":{"PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_CODE_HASH_EMPTY":"PHONE_CODE_HASH_EMPTY","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.signIn":{"PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_CODE_INVALID":"PHONE_CODE_INVALID","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_NUMBER_UNOCCUPIED":"PHONE_NUMBER_UNOCCUPIED"},"auth.cancelCode":{"PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"contacts.resolvePhone":{"PHONE_NOT_OCCUPIED":"PHONE_NOT_OCCUPIED"},"account.sendChangePhoneCode":{"PHONE_NUMBER_BANNED":"PHONE_NUMBER_BANNED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_NUMBER_OCCUPIED":"PHONE_NUMBER_OCCUPIED"},"auth.checkPhone":{"PHONE_NUMBER_BANNED":"PHONE_NUMBER_BANNED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"account.sendVerifyPhoneCode":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.resetLoginEmail":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","TASK_ALREADY_EXISTS":"TASK_ALREADY_EXISTS"},"account.getPrivacy":{"PRIVACY_KEY_INVALID":"PRIVACY_KEY_INVALID"},"account.setPrivacy":{"PRIVACY_KEY_INVALID":"PRIVACY_KEY_INVALID","PRIVACY_TOO_LONG":"PRIVACY_TOO_LONG","PRIVACY_VALUE_INVALID":"PRIVACY_VALUE_INVALID"},"account.acceptAuthorization":{"PUBLIC_KEY_REQUIRED":"PUBLIC_KEY_REQUIRED"},"account.getAuthorizationForm":{"PUBLIC_KEY_REQUIRED":"PUBLIC_KEY_REQUIRED"},"messages.sendWebViewResultMessage":{"QUERY_ID_INVALID":"QUERY_ID_INVALID"},"messages.setBotShippingResults":{"QUERY_ID_INVALID":"QUERY_ID_INVALID"},"contacts.search":{"QUERY_TOO_SHORT":"QUERY_TOO_SHORT","SEARCH_QUERY_EMPTY":"SEARCH_QUERY_EMPTY"},"messages.getDhConfig":{"RANDOM_LENGTH_INVALID":"RANDOM_LENGTH_INVALID"},"messages.setDefaultReaction":{"REACTION_INVALID":"REACTION_INVALID"},"messages.updateSavedReactionTag":{"REACTION_INVALID":"REACTION_INVALID"},"account.declinePasswordReset":{"RESET_REQUEST_MISSING":"RESET_REQUEST_MISSING"},"bots.setBotBroadcastDefaultAdminRights":{"RIGHTS_NOT_MODIFIED":"RIGHTS_NOT_MODIFIED"},"bots.setBotGroupDefaultAdminRights":{"RIGHTS_NOT_MODIFIED":"RIGHTS_NOT_MODIFIED","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"messages.getDocumentByHash":{"SHA256_HASH_INVALID":"SHA256_HASH_INVALID"},"stickers.checkShortName":{"SHORT_NAME_INVALID":"SHORT_NAME_INVALID","SHORT_NAME_OCCUPIED":"SHORT_NAME_OCCUPIED"},"messages.deleteQuickReplyMessages":{"SHORTCUT_INVALID":"SHORTCUT_INVALID"},"messages.deleteQuickReplyShortcut":{"SHORTCUT_INVALID":"SHORTCUT_INVALID"},"messages.editQuickReplyShortcut":{"SHORTCUT_INVALID":"SHORTCUT_INVALID"},"messages.getQuickReplyMessages":{"SHORTCUT_INVALID":"SHORTCUT_INVALID"},"smsjobs.finishJob":{"SMSJOB_ID_INVALID":"SMSJOB_ID_INVALID"},"smsjobs.getSmsJob":{"SMSJOB_ID_INVALID":"SMSJOB_ID_INVALID"},"messages.faveSticker":{"STICKER_ID_INVALID":"STICKER_ID_INVALID"},"messages.saveRecentSticker":{"STICKER_ID_INVALID":"STICKER_ID_INVALID"},"stickers.changeStickerPosition":{"STICKER_INVALID":"STICKER_INVALID"},"stickers.setStickerSetThumb":{"STICKER_THUMB_PNG_NOPNG":"STICKER_THUMB_PNG_NOPNG","STICKER_THUMB_TGS_NOTGS":"STICKER_THUMB_TGS_NOTGS","STICKERSET_INVALID":"STICKERSET_INVALID"},"messages.installStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"messages.uninstallStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"stickers.renameStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"contacts.getSaved":{"TAKEOUT_INVALID":"TAKEOUT_INVALID","TAKEOUT_REQUIRED":"TAKEOUT_REQUIRED"},"account.uploadTheme":{"THEME_FILE_INVALID":"THEME_FILE_INVALID"},"account.getTheme":{"THEME_FORMAT_INVALID":"THEME_FORMAT_INVALID","THEME_INVALID":"THEME_INVALID"},"account.updateTheme":{"THEME_INVALID":"THEME_INVALID"},"account.createTheme":{"THEME_MIME_INVALID":"THEME_MIME_INVALID","THEME_TITLE_INVALID":"THEME_TITLE_INVALID"},"stickers.suggestShortName":{"TITLE_INVALID":"TITLE_INVALID"},"account.registerDevice":{"TOKEN_EMPTY":"TOKEN_EMPTY","TOKEN_INVALID":"TOKEN_INVALID","TOKEN_TYPE_INVALID":"TOKEN_TYPE_INVALID","WEBPUSH_AUTH_INVALID":"WEBPUSH_AUTH_INVALID","WEBPUSH_KEY_INVALID":"WEBPUSH_KEY_INVALID","WEBPUSH_TOKEN_INVALID":"WEBPUSH_TOKEN_INVALID"},"account.unregisterDevice":{"TOKEN_INVALID":"TOKEN_INVALID"},"channels.updatePinnedForumTopic":{"TOPIC_ID_INVALID":"TOPIC_ID_INVALID"},"account.setAccountTTL":{"TTL_DAYS_INVALID":"TTL_DAYS_INVALID"},"account.setAuthorizationTTL":{"TTL_DAYS_INVALID":"TTL_DAYS_INVALID"},"messages.setDefaultHistoryTTL":{"TTL_PERIOD_INVALID":"TTL_PERIOD_INVALID"},"contacts.getTopPeers":{"TYPES_EMPTY":"TYPES_EMPTY"},"bots.getBotCommands":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"bots.setBotInfo":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"bots.getBotMenuButton":{"USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"users.setSecureValueErrors":{"USER_BOT_REQUIRED":"USER_BOT_REQUIRED","USER_ID_INVALID":"USER_ID_INVALID"},"stories.getUserStories":{"USER_ID_INVALID":"USER_ID_INVALID"},"help.getSupportName":{"USER_INVALID":"USER_INVALID"},"help.getUserInfo":{"USER_INVALID":"USER_INVALID"},"account.checkUsername":{"USERNAME_INVALID":"USERNAME_INVALID","USERNAME_OCCUPIED":"USERNAME_OCCUPIED","USERNAME_PURCHASE_AVAILABLE":"USERNAME_PURCHASE_AVAILABLE"},"account.toggleUsername":{"USERNAME_INVALID":"USERNAME_INVALID","USERNAMES_ACTIVE_TOO_MUCH":"USERNAMES_ACTIVE_TOO_MUCH"},"account.updateUsername":{"USERNAME_INVALID":"USERNAME_INVALID","USERNAME_NOT_MODIFIED":"USERNAME_NOT_MODIFIED","USERNAME_OCCUPIED":"USERNAME_OCCUPIED","USERNAME_PURCHASE_AVAILABLE":"USERNAME_PURCHASE_AVAILABLE"},"account.uploadWallPaper":{"WALLPAPER_FILE_INVALID":"WALLPAPER_FILE_INVALID","WALLPAPER_MIME_INVALID":"WALLPAPER_MIME_INVALID"},"account.getMultiWallPapers":{"WALLPAPER_INVALID":"WALLPAPER_INVALID"},"account.getWallPaper":{"WALLPAPER_INVALID":"WALLPAPER_INVALID"},"account.installWallPaper":{"WALLPAPER_INVALID":"WALLPAPER_INVALID"},"account.saveWallPaper":{"WALLPAPER_INVALID":"WALLPAPER_INVALID"},"messages.getWebPage":{"WC_CONVERT_URL_INVALID":"WC_CONVERT_URL_INVALID"}},"403":{"messages.sendReaction":{"ANONYMOUS_REACTIONS_DISABLED":"ANONYMOUS_REACTIONS_DISABLED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED"},"messages.getMessageReactionsList":{"BROADCAST_FORBIDDEN":"BROADCAST_FORBIDDEN"},"messages.getPollVotes":{"BROADCAST_FORBIDDEN":"BROADCAST_FORBIDDEN","POLL_VOTE_REQUIRED":"POLL_VOTE_REQUIRED"},"channels.getFullChannel":{"CHANNEL_PUBLIC_GROUP_NA":"CHANNEL_PUBLIC_GROUP_NA"},"channels.leaveChannel":{"CHANNEL_PUBLIC_GROUP_NA":"CHANNEL_PUBLIC_GROUP_NA"},"updates.getChannelDifference":{"CHANNEL_PUBLIC_GROUP_NA":"CHANNEL_PUBLIC_GROUP_NA","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.editAdmin":{"CHAT_ADMIN_INVITE_REQUIRED":"CHAT_ADMIN_INVITE_REQUIRED","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","RIGHT_FORBIDDEN":"RIGHT_FORBIDDEN","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USER_PRIVACY_RESTRICTED":"USER_PRIVACY_RESTRICTED","USER_RESTRICTED":"USER_RESTRICTED"},"channels.deleteUserHistory":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.editBanned":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.editForumTopic":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"channels.editPhoto":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.editTitle":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.getAdminLog":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.getParticipant":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"channels.getParticipants":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"channels.inviteToChannel":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USER_PRIVACY_RESTRICTED":"USER_PRIVACY_RESTRICTED"},"channels.updateUsername":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.addChatUser":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USER_PRIVACY_RESTRICTED":"USER_PRIVACY_RESTRICTED"},"messages.editMessage":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_SEND_GIFS_FORBIDDEN":"CHAT_SEND_GIFS_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","INLINE_BOT_REQUIRED":"INLINE_BOT_REQUIRED","MESSAGE_AUTHOR_REQUIRED":"MESSAGE_AUTHOR_REQUIRED"},"messages.forwardMessages":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_GUEST_SEND_FORBIDDEN":"CHAT_GUEST_SEND_FORBIDDEN","CHAT_SEND_AUDIOS_FORBIDDEN":"CHAT_SEND_AUDIOS_FORBIDDEN","CHAT_SEND_DOCS_FORBIDDEN":"CHAT_SEND_DOCS_FORBIDDEN","CHAT_SEND_GAME_FORBIDDEN":"CHAT_SEND_GAME_FORBIDDEN","CHAT_SEND_GIFS_FORBIDDEN":"CHAT_SEND_GIFS_FORBIDDEN","CHAT_SEND_MEDIA_FORBIDDEN":"CHAT_SEND_MEDIA_FORBIDDEN","CHAT_SEND_PHOTOS_FORBIDDEN":"CHAT_SEND_PHOTOS_FORBIDDEN","CHAT_SEND_PLAIN_FORBIDDEN":"CHAT_SEND_PLAIN_FORBIDDEN","CHAT_SEND_POLL_FORBIDDEN":"CHAT_SEND_POLL_FORBIDDEN","CHAT_SEND_STICKERS_FORBIDDEN":"CHAT_SEND_STICKERS_FORBIDDEN","CHAT_SEND_VIDEOS_FORBIDDEN":"CHAT_SEND_VIDEOS_FORBIDDEN","CHAT_SEND_VOICES_FORBIDDEN":"CHAT_SEND_VOICES_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED","USER_IS_BLOCKED":"USER_IS_BLOCKED","VOICE_MESSAGES_FORBIDDEN":"VOICE_MESSAGES_FORBIDDEN"},"messages.migrateChat":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"messages.search":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"messages.sendMedia":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_GUEST_SEND_FORBIDDEN":"CHAT_GUEST_SEND_FORBIDDEN","CHAT_SEND_AUDIOS_FORBIDDEN":"CHAT_SEND_AUDIOS_FORBIDDEN","CHAT_SEND_DOCS_FORBIDDEN":"CHAT_SEND_DOCS_FORBIDDEN","CHAT_SEND_GIFS_FORBIDDEN":"CHAT_SEND_GIFS_FORBIDDEN","CHAT_SEND_MEDIA_FORBIDDEN":"CHAT_SEND_MEDIA_FORBIDDEN","CHAT_SEND_PHOTOS_FORBIDDEN":"CHAT_SEND_PHOTOS_FORBIDDEN","CHAT_SEND_PLAIN_FORBIDDEN":"CHAT_SEND_PLAIN_FORBIDDEN","CHAT_SEND_POLL_FORBIDDEN":"CHAT_SEND_POLL_FORBIDDEN","CHAT_SEND_ROUNDVIDEOS_FORBIDDEN":"CHAT_SEND_ROUNDVIDEOS_FORBIDDEN","CHAT_SEND_STICKERS_FORBIDDEN":"CHAT_SEND_STICKERS_FORBIDDEN","CHAT_SEND_VIDEOS_FORBIDDEN":"CHAT_SEND_VIDEOS_FORBIDDEN","CHAT_SEND_VOICES_FORBIDDEN":"CHAT_SEND_VOICES_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED","PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"messages.sendMessage":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_GUEST_SEND_FORBIDDEN":"CHAT_GUEST_SEND_FORBIDDEN","CHAT_SEND_PLAIN_FORBIDDEN":"CHAT_SEND_PLAIN_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"stats.getBroadcastStats":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"stats.getMegagroupStats":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"messages.sendInlineBotResult":{"CHAT_GUEST_SEND_FORBIDDEN":"CHAT_GUEST_SEND_FORBIDDEN","CHAT_SEND_AUDIOS_FORBIDDEN":"CHAT_SEND_AUDIOS_FORBIDDEN","CHAT_SEND_GAME_FORBIDDEN":"CHAT_SEND_GAME_FORBIDDEN","CHAT_SEND_GIFS_FORBIDDEN":"CHAT_SEND_GIFS_FORBIDDEN","CHAT_SEND_INLINE_FORBIDDEN":"CHAT_SEND_INLINE_FORBIDDEN","CHAT_SEND_MEDIA_FORBIDDEN":"CHAT_SEND_MEDIA_FORBIDDEN","CHAT_SEND_PHOTOS_FORBIDDEN":"CHAT_SEND_PHOTOS_FORBIDDEN","CHAT_SEND_PLAIN_FORBIDDEN":"CHAT_SEND_PLAIN_FORBIDDEN","CHAT_SEND_STICKERS_FORBIDDEN":"CHAT_SEND_STICKERS_FORBIDDEN","CHAT_SEND_VOICES_FORBIDDEN":"CHAT_SEND_VOICES_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.sendMultiMedia":{"CHAT_SEND_MEDIA_FORBIDDEN":"CHAT_SEND_MEDIA_FORBIDDEN","CHAT_SEND_PHOTOS_FORBIDDEN":"CHAT_SEND_PHOTOS_FORBIDDEN","CHAT_SEND_VIDEOS_FORBIDDEN":"CHAT_SEND_VIDEOS_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.convertToGigagroup":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.createForumTopic":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED"},"channels.deleteChannel":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.deleteParticipantHistory":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.editCreator":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.setDiscussionGroup":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"invokeWithLayer":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.editChatAbout":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.editChatDefaultBannedRights":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.editExportedChatInvite":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","EDIT_BOT_INVITE_FORBIDDEN":"EDIT_BOT_INVITE_FORBIDDEN"},"messages.exportChatInvite":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getAdminsWithInvites":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getChatInviteImporters":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getDialogs":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getExportedChatInvite":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getExportedChatInvites":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getMessageEditData":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","MESSAGE_AUTHOR_REQUIRED":"MESSAGE_AUTHOR_REQUIRED"},"messages.hideAllChatJoinRequests":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.hideChatJoinRequest":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH"},"messages.setTyping":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"messages.startBot":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.updatePinnedMessage":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.uploadMedia":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"updates.getDifference":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"phone.toggleGroupCallStartSubscription":{"GROUPCALL_ALREADY_STARTED":"GROUPCALL_ALREADY_STARTED"},"phone.discardGroupCall":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.editGroupCallParticipant":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.editGroupCallTitle":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.getGroupCall":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.inviteToGroupCall":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.joinGroupCall":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.toggleGroupCallRecord":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"channels.deleteMessages":{"MESSAGE_DELETE_FORBIDDEN":"MESSAGE_DELETE_FORBIDDEN"},"messages.deleteMessages":{"MESSAGE_DELETE_FORBIDDEN":"MESSAGE_DELETE_FORBIDDEN"},"messages.deleteScheduledMessages":{"MESSAGE_DELETE_FORBIDDEN":"MESSAGE_DELETE_FORBIDDEN"},"smsjobs.isEligibleToJoin":{"NOT_ELIGIBLE":"NOT_ELIGIBLE"},"phone.joinGroupCallPresentation":{"PARTICIPANT_JOIN_MISSING":"PARTICIPANT_JOIN_MISSING"},"messages.transcribeAudio":{"PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED"},"messages.requestWebView":{"PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED"},"phone.exportGroupCallInvite":{"PUBLIC_CHANNEL_MISSING":"PUBLIC_CHANNEL_MISSING"},"account.setContentSettings":{"SENSITIVE_CHANGE_FORBIDDEN":"SENSITIVE_CHANGE_FORBIDDEN"},"account.finishTakeoutSession":{"TAKEOUT_REQUIRED":"TAKEOUT_REQUIRED"},"channels.getLeftChannels":{"TAKEOUT_REQUIRED":"TAKEOUT_REQUIRED"},"contacts.getSaved":{"TAKEOUT_REQUIRED":"TAKEOUT_REQUIRED"},"bots.answerWebhookJSONQuery":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"bots.sendCustomRequest":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"messages.setInlineBotResults":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"users.setSecureValueErrors":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"messages.sendEncryptedService":{"USER_DELETED":"USER_DELETED","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"help.editUserInfo":{"USER_INVALID":"USER_INVALID"},"help.getSupportName":{"USER_INVALID":"USER_INVALID"},"help.getUserInfo":{"USER_INVALID":"USER_INVALID"},"messages.sendEncrypted":{"USER_IS_BLOCKED":"USER_IS_BLOCKED"},"phone.requestCall":{"USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_PRIVACY_RESTRICTED":"USER_PRIVACY_RESTRICTED"},"help.getConfig":{"USER_PRIVACY_RESTRICTED":"USER_PRIVACY_RESTRICTED"},"messages.getOutboxReadDate":{"USER_PRIVACY_RESTRICTED":"USER_PRIVACY_RESTRICTED","YOUR_PRIVACY_RESTRICTED":"YOUR_PRIVACY_RESTRICTED"},"channels.createChannel":{"USER_RESTRICTED":"USER_RESTRICTED"},"messages.createChat":{"USER_RESTRICTED":"USER_RESTRICTED"}},"500":{"auth.sendCode":{"AUTH_RESTART":"AUTH_RESTART"},"auth.signIn":{"AUTH_RESTART":"AUTH_RESTART","SIGN_IN_FAILED":"SIGN_IN_FAILED"},"phone.acceptCall":{"CALL_OCCUPY_FAILED":"CALL_OCCUPY_FAILED"},"phone.discardCall":{"CALL_OCCUPY_FAILED":"CALL_OCCUPY_FAILED"},"upload.getCdnFileHashes":{"CDN_SALTS_EMPTY":"CDN_SALTS_EMPTY"},"upload.reuploadCdnFile":{"CDN_UPLOAD_TIMEOUT":"CDN_UPLOAD_TIMEOUT"},"messages.createChat":{"CHAT_ID_GENERATE_FAILED":"CHAT_ID_GENERATE_FAILED"},"channels.createChannel":{"CHAT_INVALID":"CHAT_INVALID"},"messages.migrateChat":{"CHAT_INVALID":"CHAT_INVALID"},"messages.editMessage":{"MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.receivedQueue":{"MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.sendEncrypted":{"MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.sendEncryptedService":{"MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.sendMessage":{"MSG_WAIT_FAILED":"MSG_WAIT_FAILED","RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"updates.getChannelDifference":{"PERSISTENT_TIMESTAMP_OUTDATED":"PERSISTENT_TIMESTAMP_OUTDATED"},"messages.forwardMessages":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"messages.sendInlineBotResult":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE","SEND_MEDIA_INVALID":"SEND_MEDIA_INVALID"},"messages.sendMedia":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"messages.sendMultiMedia":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"messages.sendScheduledMessages":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"messages.startBot":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"updates.getDifference":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"}},"406":{"channels.editBanned":{"BANNED_RIGHTS_INVALID":"BANNED_RIGHTS_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"phone.acceptCall":{"CALL_PROTOCOL_COMPAT_LAYER_INVALID":"CALL_PROTOCOL_COMPAT_LAYER_INVALID"},"channels.deleteChannel":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNEL_TOO_LARGE":"CHANNEL_TOO_LARGE"},"channels.deleteMessages":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getAdminLog":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getChannels":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getFullChannel":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getMessages":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getParticipant":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getParticipants":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.inviteToChannel":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.joinChannel":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"channels.leaveChannel":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.readHistory":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.readMessageContents":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.checkChatInvite":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"messages.editMessage":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.forwardMessages":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_FORWARDS_RESTRICTED":"CHAT_FORWARDS_RESTRICTED","PAYMENT_UNSUPPORTED":"PAYMENT_UNSUPPORTED","PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED"},"messages.getHistory":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.getInlineBotResults":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.getMessagesViews":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.getPeerDialogs":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.sendMedia":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED"},"messages.sendMessage":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PAYMENT_UNSUPPORTED":"PAYMENT_UNSUPPORTED","PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED"},"messages.setTyping":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"updates.getChannelDifference":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"upload.getFile":{"FILEREF_UPGRADE_NEEDED":"FILEREF_UPGRADE_NEEDED"},"channels.editAdmin":{"FRESH_CHANGE_ADMINS_FORBIDDEN":"FRESH_CHANGE_ADMINS_FORBIDDEN"},"account.sendChangePhoneCode":{"FRESH_CHANGE_PHONE_FORBIDDEN":"FRESH_CHANGE_PHONE_FORBIDDEN","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"account.resetAuthorization":{"FRESH_RESET_AUTHORISATION_FORBIDDEN":"FRESH_RESET_AUTHORISATION_FORBIDDEN"},"account.setAuthorizationTTL":{"FRESH_RESET_AUTHORISATION_FORBIDDEN":"FRESH_RESET_AUTHORISATION_FORBIDDEN"},"auth.resetAuthorizations":{"FRESH_RESET_AUTHORISATION_FORBIDDEN":"FRESH_RESET_AUTHORISATION_FORBIDDEN"},"invokeWithLayer":{"INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"messages.importChatInvite":{"INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"account.changePhone":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.cancelCode":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.checkPhone":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.resendCode":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","SEND_CODE_UNAVAILABLE":"SEND_CODE_UNAVAILABLE"},"auth.sendCode":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_PASSWORD_FLOOD":"PHONE_PASSWORD_FLOOD","UPDATE_APP_TO_LOGIN":"UPDATE_APP_TO_LOGIN"},"auth.signIn":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","UPDATE_APP_TO_LOGIN":"UPDATE_APP_TO_LOGIN"},"auth.signUp":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"messages.initHistoryImport":{"PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_%dMIN":"PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_%dMIN"},"messages.getStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"messages.installStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"messages.uninstallStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"stickers.addStickerToSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"channels.setStickers":{"STICKERSET_OWNER_ANONYMOUS":"STICKERSET_OWNER_ANONYMOUS"},"channels.createChannel":{"USER_RESTRICTED":"USER_RESTRICTED"},"messages.createChat":{"USER_RESTRICTED":"USER_RESTRICTED"},"contacts.getLocated":{"USERPIC_PRIVACY_REQUIRED":"USERPIC_PRIVACY_REQUIRED","USERPIC_UPLOAD_REQUIRED":"USERPIC_UPLOAD_REQUIRED"}},"-503":{"messages.getBotCallbackAnswer":{"Timeout":"Timeout"},"messages.getInlineBotResults":{"Timeout":"Timeout"}}},"human_result":{"2FA_CONFIRM_WAIT_%d":"Since this account is active and protected by a 2FA password, we will delete it in 1 week for security purposes. You can cancel this process at any time, you'll be able to reset your account in %d seconds.","ABOUT_TOO_LONG":"About string too long","ACCESS_TOKEN_EXPIRED":"Access token expired","ACCESS_TOKEN_INVALID":"Access token invalid","ACTIVE_USER_REQUIRED":"","ADDRESS_INVALID":"The specified geopoint address is invalid","ADMIN_ID_INVALID":"The specified admin ID is invalid","ADMIN_RANK_EMOJI_NOT_ALLOWED":"An admin rank cannot contain emojis","ADMIN_RANK_INVALID":"The specified admin rank is invalid.","ADMIN_RIGHTS_EMPTY":"The chatAdminRights constructor passed in keyboardButtonRequestPeer.peer_type.user_admin_rights has no rights set (i.e. flags is 0).","ADMINS_TOO_MUCH":"There are too many admins","ALBUM_PHOTOS_TOO_MANY":"You have uploaded too many profile photos, delete some before retrying.","ANONYMOUS_REACTIONS_DISABLED":"Sorry, anonymous administrators cannot leave reactions or participate in polls.","API_ID_INVALID":"API ID invalid","API_ID_PUBLISHED_FLOOD":"This API id was published somewhere, you can't use it now","ARTICLE_TITLE_EMPTY":"The title of the article is empty","AUDIO_CONTENT_URL_EMPTY":"The remote URL specified in the content field is empty","AUDIO_TITLE_EMPTY":"An empty audio title was provided.","AUTH_BYTES_INVALID":"The provided authorization is invalid","AUTH_KEY_DUPLICATED":"Concurrent usage of the current session from multiple connections was detected, the current session was invalidated by the server for security reasons!","AUTH_KEY_INVALID":"The specified auth key is invalid","AUTH_KEY_PERM_EMPTY":"The method is unavailable for temporary authorization keys, not bound to a permanent authorization key","AUTH_KEY_UNREGISTERED":"The specified authorization key is not registered in the system (for example, a PFS temporary key has expired)","AUTH_RESTART":"Restart the authorization process","AUTH_TOKEN_ALREADY_ACCEPTED":"The specified auth token was already accepted","AUTH_TOKEN_EXCEPTION":"An error occurred while importing the auth token","AUTH_TOKEN_EXPIRED":"The authorization token has expired","AUTH_TOKEN_INVALID":"The specified auth token is invalid","AUTH_TOKEN_INVALIDX":"The specified auth token is invalid","AUTOARCHIVE_NOT_AVAILABLE":"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.","BANK_CARD_NUMBER_INVALID":"The specified card number is invalid","BANNED_RIGHTS_INVALID":"You provided some invalid flags in the banned rights","BOOST_NOT_MODIFIED":"You're already [boosting](https:\/\/core.telegram.org\/api\/boost) the specified channel.","BOOST_PEER_INVALID":"The specified `boost_peer` is invalid","BOOSTS_EMPTY":"No boost slots were specified","BOOSTS_REQUIRED":"The specified channel must first be [boosted by its users](https:\/\/core.telegram.org\/api\/boost) in order to perform this action.","BOT_APP_BOT_INVALID":"The bot_id passed in the inputBotAppShortName constructor is invalid.","BOT_APP_INVALID":"The specified bot app is invalid","BOT_APP_SHORTNAME_INVALID":"The specified bot app short name is invalid","BOT_CHANNELS_NA":"Bots can't edit admin privileges","BOT_COMMAND_DESCRIPTION_INVALID":"The specified command description is invalid","BOT_COMMAND_INVALID":"The specified command is invalid","BOT_DOMAIN_INVALID":"Bot domain invalid","BOT_GAMES_DISABLED":"","BOT_GROUPS_BLOCKED":"This bot can't be added to groups","BOT_INLINE_DISABLED":"This bot can't be used in inline mode","BOT_INVALID":"This is not a valid bot","BOT_METHOD_INVALID":"The specified method cannot be used by bots.","BOT_MISSING":"Only bots can call this method, please use [@stickers](https:\/\/t.me\/stickers) if you're a user","BOT_ONESIDE_NOT_AVAIL":"Bots can't pin messages in PM just for themselves","BOT_PAYMENTS_DISABLED":"Please enable bot payments in botfather before calling this method.","BOT_POLLS_DISABLED":"","BOT_RESPONSE_TIMEOUT":"A timeout occurred while fetching data from the bot","BOT_SCORE_NOT_MODIFIED":"The score wasn't modified","BOT_WEBVIEW_DISABLED":"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.","BOTS_TOO_MUCH":"There are too many bots in this chat\/channel","BROADCAST_FORBIDDEN":"Channel poll voters and reactions cannot be fetched to prevent deanonymization.","BROADCAST_ID_INVALID":"Broadcast ID invalid","BROADCAST_PUBLIC_VOTERS_FORBIDDEN":"You can't forward polls with public voters","BROADCAST_REQUIRED":"This method can only be called on a channel, please use stats.getMegagroupStats for supergroups","BUTTON_DATA_INVALID":"The data of one or more of the buttons you provided is invalid","BUTTON_TEXT_INVALID":"The specified button text is invalid","BUTTON_TYPE_INVALID":"The type of one or more of the buttons you provided is invalid","BUTTON_URL_INVALID":"Button URL invalid","BUTTON_USER_INVALID":"The `user_id` passed to inputKeyboardButtonUserProfile is invalid!","BUTTON_USER_PRIVACY_RESTRICTED":"The privacy setting of the user specified in a [inputKeyboardButtonUserProfile](\/constructor\/inputKeyboardButtonUserProfile) button do not allow creating such a button","CALL_ALREADY_ACCEPTED":"The call was already accepted","CALL_ALREADY_DECLINED":"The call was already declined","CALL_OCCUPY_FAILED":"The call failed because the user is already making another call","CALL_PEER_INVALID":"The provided call peer object is invalid","CALL_PROTOCOL_COMPAT_LAYER_INVALID":"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.","CALL_PROTOCOL_FLAGS_INVALID":"Call protocol flags invalid","CDN_METHOD_INVALID":"You can't call this method in a CDN DC","CDN_SALTS_EMPTY":"","CDN_UPLOAD_TIMEOUT":"A server-side timeout occurred while reuploading the file to the CDN DC","CHANNEL_FORUM_MISSING":"This supergroup is not a forum","CHANNEL_ID_INVALID":"The specified supergroup ID is invalid","CHANNEL_INVALID":"The provided channel is invalid","CHANNEL_PARICIPANT_MISSING":"The current user is not in the channel","CHANNEL_PRIVATE":"You haven't joined this channel\/supergroup","CHANNEL_PUBLIC_GROUP_NA":"channel\/supergroup not available","CHANNEL_TOO_BIG":"This channel has too many participants (>1000) to be deleted.","CHANNEL_TOO_LARGE":"Channel is too large to be deleted; this error is issued when trying to delete channels with more than 1000 members (subject to change)","CHANNELS_ADMIN_LOCATED_TOO_MUCH":"The user has reached the limit of public geogroups","CHANNELS_ADMIN_PUBLIC_TOO_MUCH":"You're admin of too many public channels, make some channels private to change the username of this channel","CHANNELS_TOO_MUCH":"You have joined too many channels\/supergroups","CHAT_ABOUT_NOT_MODIFIED":"About text has not changed","CHAT_ABOUT_TOO_LONG":"Chat about too long","CHAT_ADMIN_INVITE_REQUIRED":"You do not have the rights to do this","CHAT_ADMIN_REQUIRED":"You must be an admin in this chat to do this","CHAT_DISCUSSION_UNALLOWED":"You can't enable forum topics in a discussion group linked to a channel","CHAT_FORBIDDEN":"This chat is not available to the current user","CHAT_FORWARDS_RESTRICTED":"You can't forward messages from a protected chat","CHAT_GUEST_SEND_FORBIDDEN":"You join the discussion group before commenting, see [here »](\/api\/discussion#requiring-users-to-join-the-group) for more info.","CHAT_ID_EMPTY":"The provided chat ID is empty","CHAT_ID_GENERATE_FAILED":"Failure while generating the chat ID","CHAT_ID_INVALID":"The provided chat id is invalid","CHAT_INVALID":"Invalid chat","CHAT_INVITE_PERMANENT":"You can't set an expiration date on permanent invite links","CHAT_LINK_EXISTS":"The chat is public, you can't hide the history to new users","CHAT_NOT_MODIFIED":"No changes were made to chat information because the new information you passed is identical to the current information.","CHAT_PUBLIC_REQUIRED":"You can only enable join requests in public groups","CHAT_RESTRICTED":"You can't send messages in this chat, you were restricted","CHAT_REVOKE_DATE_UNSUPPORTED":"`min_date` and `max_date` are not available for using with non-user peers.","CHAT_SEND_AUDIOS_FORBIDDEN":"You can't send audio messages in this chat","CHAT_SEND_DOCS_FORBIDDEN":"You can't send documents in this chat","CHAT_SEND_GAME_FORBIDDEN":"You can't send a game to this chat.","CHAT_SEND_GIFS_FORBIDDEN":"You can't send gifs in this chat","CHAT_SEND_INLINE_FORBIDDEN":"You can't send inline messages in this group","CHAT_SEND_MEDIA_FORBIDDEN":"You can't send media in this chat","CHAT_SEND_PHOTOS_FORBIDDEN":"You can't send photos in this chat","CHAT_SEND_PLAIN_FORBIDDEN":"You can't send non-media (text) messages in this chat","CHAT_SEND_POLL_FORBIDDEN":"You can't send polls in this chat","CHAT_SEND_ROUNDVIDEOS_FORBIDDEN":"You can't send round videos to this chat","CHAT_SEND_STICKERS_FORBIDDEN":"You can't send stickers in this chat.","CHAT_SEND_VIDEOS_FORBIDDEN":"You can't send videos in this chat","CHAT_SEND_VOICES_FORBIDDEN":"You can't send voice recordings in this chat","CHAT_TITLE_EMPTY":"No chat title provided","CHAT_TOO_BIG":"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).","CHAT_WRITE_FORBIDDEN":"You can't write in this chat","CHATLINK_SLUG_EMPTY":"The specified slug is empty","CHATLIST_EXCLUDE_INVALID":"The specified `exclude_peers` are invalid","CODE_EMPTY":"The provided code is empty","CODE_HASH_INVALID":"Code hash invalid","CODE_INVALID":"Code invalid","COLLECTIBLE_INVALID":"The specified collectible is invalid","COLLECTIBLE_NOT_FOUND":"The specified collectible could not be found","COLOR_INVALID":"The specified color palette ID was invalid.","CONNECTION_API_ID_INVALID":"The provided API id is invalid","CONNECTION_APP_VERSION_EMPTY":"App version is empty","CONNECTION_DEVICE_MODEL_EMPTY":"The specified device model is empty","CONNECTION_ID_INVALID":"The specified connection ID is invalid","CONNECTION_LANG_PACK_INVALID":"The specified language pack is empty","CONNECTION_LAYER_INVALID":"Layer invalid","CONNECTION_NOT_INITED":"Please initialize the connection using initConnection before making queries.","CONNECTION_SYSTEM_EMPTY":"The specified system version is empty","CONNECTION_SYSTEM_LANG_CODE_EMPTY":"The specified system language code is empty","CONTACT_ADD_MISSING":"Contact to add is missing","CONTACT_ID_INVALID":"The provided contact ID is invalid","CONTACT_MISSING":"The specified user is not a contact","CONTACT_NAME_EMPTY":"Contact name empty","CONTACT_REQ_MISSING":"Missing contact request","CREATE_CALL_FAILED":"An error occurred while creating the call.","CURRENCY_TOTAL_AMOUNT_INVALID":"The total amount of all prices is invalid","CUSTOM_REACTIONS_TOO_MANY":"Too many custom reactions were specified.","DATA_INVALID":"Encrypted data invalid","DATA_JSON_INVALID":"The provided JSON data is invalid","DATA_TOO_LONG":"Data too long","DATE_EMPTY":"Date empty","DC_ID_INVALID":"The provided DC ID is invalid","DH_G_A_INVALID":"g_a invalid","DOCUMENT_INVALID":"The specified document is invalid","EDIT_BOT_INVITE_FORBIDDEN":"Normal users can't edit invites that were created by bots","EMAIL_HASH_EXPIRED":"Email hash expired","EMAIL_INVALID":"The specified email is invalid","EMAIL_NOT_SETUP":"In order to change the login email with emailVerifyPurposeLoginChange, an existing login email must already be set using emailVerifyPurposeLoginSetup","EMAIL_UNCONFIRMED":"Email unconfirmed","EMAIL_UNCONFIRMED_%d":"The provided email isn't confirmed, %d is the length of the verification code that was just sent to the email: use [account.verifyEmail](https:\/\/core.telegram.org\/method\/account.verifyEmail) to enter the received verification code and enable the recovery email.","EMAIL_VERIFY_EXPIRED":"The verification email has expired","EMOJI_INVALID":"The specified theme emoji is valid","EMOJI_MARKUP_INVALID":"The specified `video_emoji_markup` was invalid","EMOJI_NOT_MODIFIED":"The theme wasn't changed","EMOTICON_EMPTY":"The emoji is empty","EMOTICON_INVALID":"The specified emoji is invalid","EMOTICON_STICKERPACK_MISSING":"inputStickerSetDice.emoji cannot be empty","ENCRYPTED_MESSAGE_INVALID":"Encrypted message invalid","ENCRYPTION_ALREADY_ACCEPTED":"Secret chat already accepted","ENCRYPTION_ALREADY_DECLINED":"The secret chat was already declined","ENCRYPTION_DECLINED":"The secret chat was declined","ENCRYPTION_ID_INVALID":"The provided secret chat ID is invalid","ENTITIES_TOO_LONG":"You provided too many styled message entities","ENTITY_BOUNDS_INVALID":"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","ENTITY_MENTION_USER_INVALID":"You mentioned an invalid user","ERROR_TEXT_EMPTY":"The provided error message is empty","EXPIRE_DATE_INVALID":"The specified expiration date is invalid","EXPORT_CARD_INVALID":"Provided card is invalid","EXTERNAL_URL_INVALID":"External URL invalid","FILE_CONTENT_TYPE_INVALID":"File content-type is invalid","FILE_EMTPY":"An empty file was provided","FILE_ID_INVALID":"The provided file id is invalid","FILE_MIGRATE_%d":"The file currently being accessed is stored in DC %d, please re-send the query to that DC.","FILE_PART_%d_MISSING":"Part %d of the file is missing from storage. Try repeating the method call to resave the part.","FILE_PART_EMPTY":"The provided file part is empty","FILE_PART_INVALID":"The file part number is invalid","FILE_PART_LENGTH_INVALID":"The length of a file part is invalid","FILE_PART_SIZE_CHANGED":"Provided file part size has changed","FILE_PART_SIZE_INVALID":"The provided file part size is invalid","FILE_PART_TOO_BIG":"The uploaded file part is too big","FILE_PARTS_INVALID":"The number of file parts is invalid","FILE_REFERENCE_*":"The file reference expired, it [must be refreshed](https:\/\/core.telegram.org\/api\/file_reference).","FILE_REFERENCE_EMPTY":"An empty [file reference](https:\/\/core.telegram.org\/api\/file_reference) was specified","FILE_REFERENCE_EXPIRED":"File reference expired, it must be refetched as described in [the documentation](https:\/\/core.telegram.org\/api\/file_reference).","FILE_REFERENCE_INVALID":"The specified [file reference](https:\/\/core.telegram.org\/api\/file_reference) is invalid","FILE_TITLE_EMPTY":"An empty file title was specified","FILE_TOKEN_INVALID":"The master DC did not accept the `file_token` (e.g., the token has expired). Continue downloading the file from the master DC using upload.getFile.","FILEREF_UPGRADE_NEEDED":"The client has to be updated in order to support [file references](https:\/\/core.telegram.org\/api\/file_reference)","FILTER_ID_INVALID":"The specified filter ID is invalid","FILTER_INCLUDE_EMPTY":"The include_peers vector of the filter is empty","FILTER_NOT_SUPPORTED":"The specified filter cannot be used in this context","FILTER_TITLE_EMPTY":"The title field of the filter is empty","FIRSTNAME_INVALID":"The first name is invalid","FLOOD_PREMIUM_WAIT_%d":"Please wait %d seconds before repeating the action, or purchase a [Telegram Premium subscription](https:\/\/core.telegram.org\/api\/premium) to remove this rate limit.","FLOOD_TEST_PHONE_WAIT_%d":"","FLOOD_WAIT_%d":"Please wait %d seconds before repeating the action.","FOLDER_ID_EMPTY":"An empty folder ID was specified","FOLDER_ID_INVALID":"Invalid folder ID","FORUM_ENABLED":"You can't execute the specified action because the group is a [forum](https:\/\/core.telegram.org\/api\/forum), disable forum functionality to continue.","FRESH_CHANGE_ADMINS_FORBIDDEN":"You were just elected admin, you can't add or modify other admins yet","FRESH_CHANGE_PHONE_FORBIDDEN":"You can't change phone number right after logging in, please wait at least 24 hours.","FRESH_RESET_AUTHORISATION_FORBIDDEN":"You can't logout other sessions if less than 24 hours have passed since you logged on the current session","FROM_MESSAGE_BOT_DISABLED":"Bots can't use fromMessage min constructors","FROM_PEER_INVALID":"The specified from_id is invalid","GAME_BOT_INVALID":"Bots can't send another bot's game.","GENERAL_MODIFY_ICON_FORBIDDEN":"You can't modify the icon of the \"General\" topic","GEO_POINT_INVALID":"Invalid geoposition provided","GIF_CONTENT_TYPE_INVALID":"GIF content-type invalid","GIF_ID_INVALID":"The provided GIF ID is invalid","GIFT_SLUG_EXPIRED":"The specified gift slug has expired","GIFT_SLUG_INVALID":"The specified slug is invalid.","GRAPH_EXPIRED_RELOAD":"This graph has expired, please obtain a new graph token","GRAPH_INVALID_RELOAD":"Invalid graph token provided, please reload the stats and provide the updated token","GRAPH_OUTDATED_RELOAD":"The graph is outdated, please get a new async token using stats.getBroadcastStats","GROUP_CALL_INVALID":"","GROUPCALL_ALREADY_DISCARDED":"The group call was already discarded","GROUPCALL_ALREADY_STARTED":"The groupcall has already started, you can join directly using [phone.joinGroupCall](https:\/\/core.telegram.org\/method\/phone.joinGroupCall)","GROUPCALL_FORBIDDEN":"The group call has already ended","GROUPCALL_INVALID":"The specified group call is invalid","GROUPCALL_JOIN_MISSING":"You haven't joined this group call.","GROUPCALL_NOT_MODIFIED":"Group call settings weren't modified","GROUPCALL_SSRC_DUPLICATE_MUCH":"The app needs to retry joining the group call with a new SSRC value.","GROUPED_MEDIA_INVALID":"Invalid grouped media","HASH_INVALID":"The provided hash is invalid","HIDE_REQUESTER_MISSING":"The join request was missing or was already handled.","IMAGE_PROCESS_FAILED":"Failure while processing image","IMPORT_FILE_INVALID":"The specified chat export file is invalid","IMPORT_FORMAT_DATE_INVALID":"The date specified in the import file is invalid.","IMPORT_FORMAT_UNRECOGNIZED":"The specified chat export file was exported from an unsupported chat app","IMPORT_HISTORY_LOG_EMPTY":"","IMPORT_ID_INVALID":"The specified import ID is invalid","IMPORT_TOKEN_INVALID":"The specified token is invalid","INLINE_BOT_REQUIRED":"Only the inline bot can edit message","INLINE_RESULT_EXPIRED":"The inline query expired","INPUT_CHATLIST_INVALID":"The specified folder is invalid","INPUT_CONSTRUCTOR_INVALID":"The specified TL constructor is invalid","INPUT_FETCH_ERROR":"An error occurred while parsing the provided TL constructor","INPUT_FETCH_FAIL":"An error occurred while parsing the provided TL constructor","INPUT_FILTER_INVALID":"The specified filter is invalid","INPUT_LAYER_INVALID":"The specified layer is invalid","INPUT_METHOD_INVALID":"The specified method is invalid","INPUT_REQUEST_TOO_LONG":"The request payload is too long","INPUT_TEXT_EMPTY":"The specified text is empty","INPUT_TEXT_TOO_LONG":"The specified text is too long","INPUT_USER_DEACTIVATED":"The specified user was deleted","INVITE_FORBIDDEN_WITH_JOINAS":"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","INVITE_HASH_EMPTY":"The invite hash is empty","INVITE_HASH_EXPIRED":"The invite link has expired","INVITE_HASH_INVALID":"The invite hash is invalid","INVITE_REQUEST_SENT":"You have successfully requested to join this chat or channel","INVITE_REVOKED_MISSING":"The specified invite link was already revoked or is invalid","INVITE_SLUG_EMPTY":"The specified invite slug is empty","INVITE_SLUG_EXPIRED":"The specified chat folder link has expired.","INVITES_TOO_MUCH":"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.","INVOICE_PAYLOAD_INVALID":"The specified invoice payload is invalid.","JOIN_AS_PEER_INVALID":"The specified peer cannot be used to join a group call","LANG_CODE_INVALID":"The specified language code is invalid","LANG_CODE_NOT_SUPPORTED":"The specified language code is not supported","LANG_PACK_INVALID":"The provided language pack is invalid","LASTNAME_INVALID":"The last name is invalid.","LIMIT_INVALID":"The provided limit is invalid","LINK_NOT_MODIFIED":"Discussion link not modified","LOCATION_INVALID":"The provided location is invalid","MAX_DATE_INVALID":"The specified maximum date is invalid.","MAX_ID_INVALID":"The provided max ID is invalid","MAX_QTS_INVALID":"The specified max_qts is invalid","MD5_CHECKSUM_INVALID":"The MD5 checksums do not match","MEDIA_CAPTION_TOO_LONG":"The caption is too long","MEDIA_EMPTY":"The provided media object is invalid","MEDIA_FILE_INVALID":"The specified media file is invalid","MEDIA_GROUPED_INVALID":"You tried to send media of different types in an album.","MEDIA_INVALID":"Media invalid","MEDIA_NEW_INVALID":"The new media is invalid","MEDIA_PREV_INVALID":"Previous media invalid","MEDIA_TTL_INVALID":"The specified media TTL is invalid","MEDIA_TYPE_INVALID":"The specified media type cannot be used in stories","MEDIA_VIDEO_STORY_MISSING":"A non-story video cannot be repubblished as a story (emitted when trying to resend a non-story video as a story using inputDocument).","MEGAGROUP_GEO_REQUIRED":"This method can only be invoked on a geogroup.","MEGAGROUP_ID_INVALID":"Invalid supergroup ID","MEGAGROUP_PREHISTORY_HIDDEN":"Group with hidden history for new members can't be set as discussion groups","MEGAGROUP_REQUIRED":"You can only use this method on a supergroup","MESSAGE_AUTHOR_REQUIRED":"Message author required","MESSAGE_DELETE_FORBIDDEN":"You can't delete one of the messages you tried to delete, most likely because it is a service message.","MESSAGE_EDIT_TIME_EXPIRED":"You can't edit this message anymore, too much time has passed since its creation.","MESSAGE_EMPTY":"The provided message is empty","MESSAGE_ID_INVALID":"The provided message id is invalid","MESSAGE_IDS_EMPTY":"No message ids were provided","MESSAGE_NOT_MODIFIED":"The provided message data is identical to the previous message data, the message wasn't modified","MESSAGE_POLL_CLOSED":"Poll closed","MESSAGE_TOO_LONG":"The provided message is too long","MESSAGE_TOO_OLD":"The message is too old, the requested information is not available","METHOD_INVALID":"The specified method is invalid","MIN_DATE_INVALID":"The specified minimum date is invalid","MSG_ID_INVALID":"Invalid message ID provided","MSG_TOO_OLD":"[`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","MSG_WAIT_FAILED":"A waiting call returned an error","MSG_WAIT_TIMEOUT":"Spent too much time waiting for a previous query in the invokeAfterMsg request queue, aborting!","MULTI_MEDIA_TOO_LONG":"Too many media files for album","NETWORK_MIGRATE_%d":"Your IP address is associated to DC %d, please re-send the query to that DC.","NEW_SALT_INVALID":"The new salt is invalid","NEW_SETTINGS_EMPTY":"No password is set on the current account, and no new password was specified in `new_settings`.","NEW_SETTINGS_INVALID":"The new password settings are invalid.","NEXT_OFFSET_INVALID":"The specified offset is longer than 64 bytes.","NOT_ELIGIBLE":"The current user is not eligible to join the Peer-to-Peer Login Program","NOT_JOINED":"The current user hasn't joined the Peer-to-Peer Login Program","OFFSET_INVALID":"The provided offset is invalid","OFFSET_PEER_ID_INVALID":"The provided offset peer is invalid","OPTION_INVALID":"Invalid option selected","OPTIONS_TOO_MUCH":"Too many options provided","ORDER_INVALID":"The specified username order is invalid","PACK_SHORT_NAME_INVALID":"Short pack name invalid","PACK_SHORT_NAME_OCCUPIED":"A stickerpack with this name already exists","PACK_TITLE_INVALID":"The stickerpack title is invalid","PARTICIPANT_ID_INVALID":"The specified participant ID is invalid","PARTICIPANT_JOIN_MISSING":"Trying to enable a presentation, when the user hasn't joined the Video Chat with [phone.joinGroupCall](https:\/\/core.telegram.org\/method\/phone.joinGroupCall).","PARTICIPANT_VERSION_OUTDATED":"The other participant does not use an up to date telegram client with support for calls","PARTICIPANTS_TOO_FEW":"Not enough participants","PASSWORD_EMPTY":"The provided password is empty","PASSWORD_HASH_INVALID":"The provided password hash is invalid","PASSWORD_MISSING":"You must enable 2FA in order to transfer ownership of a channel","PASSWORD_RECOVERY_EXPIRED":"The recovery code has expired","PASSWORD_RECOVERY_NA":"No email was set, can't recover password via email.","PASSWORD_REQUIRED":"A [2FA password](https:\/\/core.telegram.org\/api\/srp) must be configured to use Telegram Passport","PASSWORD_TOO_FRESH_%d":"The password was modified less than 24 hours ago, try again in %d seconds","PAYMENT_PROVIDER_INVALID":"The specified payment provider is invalid","PAYMENT_UNSUPPORTED":"A detailed description of the error will be received separately as described [here »](https:\/\/core.telegram.org\/api\/errors#406-not-acceptable)","PEER_FLOOD":"The current account is spamreported, you cannot execute this action, check @spambot for more info.","PEER_HISTORY_EMPTY":"You can't pin an empty chat with a user","PEER_ID_INVALID":"The provided peer id is invalid","PEER_ID_NOT_SUPPORTED":"The provided peer ID is not supported","PEERS_LIST_EMPTY":"The specified list of peers is empty","PERSISTENT_TIMESTAMP_EMPTY":"Persistent timestamp empty","PERSISTENT_TIMESTAMP_INVALID":"Persistent timestamp invalid","PERSISTENT_TIMESTAMP_OUTDATED":"Channel internal replication issues, try again later (treat this like an RPC_CALL_FAIL)","PHONE_CODE_EMPTY":"phone_code is missing","PHONE_CODE_EXPIRED":"The phone code you provided has expired","PHONE_CODE_HASH_EMPTY":"phone_code_hash is missing","PHONE_CODE_INVALID":"The provided phone code is invalid","PHONE_HASH_EXPIRED":"An invalid or expired `phone_code_hash` was provided.","PHONE_MIGRATE_%d":"Your phone number is associated to DC %d, please re-send the query to that DC.","PHONE_NOT_OCCUPIED":"No user is associated to the specified phone number","PHONE_NUMBER_APP_SIGNUP_FORBIDDEN":"You can't sign up using this app","PHONE_NUMBER_BANNED":"The provided phone number is banned from telegram","PHONE_NUMBER_FLOOD":"You asked for the code too many times.","PHONE_NUMBER_INVALID":"The phone number is invalid","PHONE_NUMBER_OCCUPIED":"The phone number is already in use","PHONE_NUMBER_UNOCCUPIED":"The phone number is not yet being used","PHONE_PASSWORD_FLOOD":"You have tried logging in too many times","PHONE_PASSWORD_PROTECTED":"This phone is password protected","PHOTO_CONTENT_TYPE_INVALID":"Photo mime-type invalid","PHOTO_CONTENT_URL_EMPTY":"Photo URL invalid","PHOTO_CROP_FILE_MISSING":"Photo crop file missing","PHOTO_CROP_SIZE_SMALL":"Photo is too small","PHOTO_EXT_INVALID":"The extension of the photo is invalid","PHOTO_FILE_MISSING":"Profile photo file missing","PHOTO_ID_INVALID":"Photo ID invalid","PHOTO_INVALID":"Photo invalid","PHOTO_INVALID_DIMENSIONS":"The photo dimensions are invalid","PHOTO_SAVE_FILE_INVALID":"Internal issues, try again later","PHOTO_THUMB_URL_EMPTY":"Photo thumbnail URL is empty","PHOTO_THUMB_URL_INVALID":"","PIN_RESTRICTED":"You can't pin messages","PINNED_DIALOGS_TOO_MUCH":"Too many pinned dialogs","POLL_ANSWER_INVALID":"One of the poll answers is not acceptable","POLL_ANSWERS_INVALID":"Invalid poll answers were provided","POLL_OPTION_DUPLICATE":"Duplicate poll options provided","POLL_OPTION_INVALID":"Invalid poll option provided","POLL_QUESTION_INVALID":"One of the poll questions is not acceptable","POLL_VOTE_REQUIRED":"Cast a vote in the poll before calling this method","PREMIUM_ACCOUNT_REQUIRED":"A premium account is required to execute this action.","PREMIUM_SUB_ACTIVE_UNTIL_%d":"You already have a premium subscription active until unixtime %d ","PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_%dMIN":"Import for this chat is already in progress, wait %d minutes before starting a new one.","PRIVACY_KEY_INVALID":"The privacy key is invalid","PRIVACY_PREMIUM_REQUIRED":"You need a [Telegram Premium subscription](https:\/\/core.telegram.org\/api\/premium) to send a message to this user.","PRIVACY_TOO_LONG":"Too many privacy rules were specified, the current limit is 1000","PRIVACY_VALUE_INVALID":"The specified privacy rule combination is invalid","PUBLIC_CHANNEL_MISSING":"You can only export group call invite links for public chats or channels","PUBLIC_KEY_REQUIRED":"A public key is required","QUERY_ID_EMPTY":"The query ID is empty","QUERY_ID_INVALID":"The query ID is invalid","QUERY_TOO_SHORT":"The query string is too short","QUIZ_ANSWER_MISSING":"You can forward a quiz while hiding the original author only after choosing an option in the quiz","QUIZ_CORRECT_ANSWER_INVALID":"An invalid value was provided to the correct_answers field","QUIZ_CORRECT_ANSWERS_EMPTY":"No correct quiz answer was specified","QUIZ_CORRECT_ANSWERS_TOO_MUCH":"You specified too many correct answers in a quiz, quizzes can only have one right answer!","QUIZ_MULTIPLE_INVALID":"Quizzes can't have the multiple_choice flag set!","QUOTE_TEXT_INVALID":"The specified `reply_to`.`quote_text` field is invalid.","RAISE_HAND_FORBIDDEN":"You cannot raise your hand","RANDOM_ID_DUPLICATE":"You provided a random ID that was already used","RANDOM_ID_EMPTY":"Random ID empty","RANDOM_ID_INVALID":"A provided random ID is invalid","RANDOM_LENGTH_INVALID":"Random length invalid","RANGES_INVALID":"Invalid range provided","REACTION_EMPTY":"Empty reaction provided","REACTION_INVALID":"The specified reaction is invalid","REACTIONS_TOO_MANY":"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)","REPLY_MARKUP_BUY_EMPTY":"Reply markup for buy button empty","REPLY_MARKUP_GAME_EMPTY":"","REPLY_MARKUP_INVALID":"The provided reply markup is invalid","REPLY_MARKUP_TOO_LONG":"The specified reply_markup is too long","REPLY_MESSAGE_ID_INVALID":"The specified reply-to message ID is invalid","REPLY_TO_INVALID":"The specified `reply_to` field is invalid","REPLY_TO_USER_INVALID":"The replied-to user is invalid","REQUEST_TOKEN_INVALID":"The master DC did not accept the `request_token` from the CDN DC. Continue downloading the file from the master DC using upload.getFile.","RESET_REQUEST_MISSING":"No password reset is in progress","RESULT_ID_DUPLICATE":"You provided a duplicate result ID","RESULT_ID_EMPTY":"Result ID empty","RESULT_ID_INVALID":"One of the specified result IDs is invalid","RESULT_TYPE_INVALID":"Result type invalid","RESULTS_TOO_MUCH":"Too many results were provided","REVOTE_NOT_ALLOWED":"You cannot change your vote","RIGHT_FORBIDDEN":"Your admin rights do not allow you to do this","RIGHTS_NOT_MODIFIED":"The new admin rights are equal to the old rights, no change was made","RSA_DECRYPT_FAILED":"Internal RSA decryption failed","SCHEDULE_BOT_NOT_ALLOWED":"Bots cannot schedule messages","SCHEDULE_DATE_INVALID":"Invalid schedule date provided","SCHEDULE_DATE_TOO_LATE":"You can't schedule a message this far in the future","SCHEDULE_STATUS_PRIVATE":"Can't schedule until user is online, if the user's last seen timestamp is hidden by their privacy settings.","SCHEDULE_TOO_MUCH":"There are too many scheduled messages","SCORE_INVALID":"The specified game score is invalid","SEARCH_QUERY_EMPTY":"The search query is empty","SEARCH_WITH_LINK_NOT_SUPPORTED":"You cannot provide a search query and an invite link at the same time.","SECONDS_INVALID":"Invalid duration provided","SEND_AS_PEER_INVALID":"You can't send messages as the specified peer","SEND_CODE_UNAVAILABLE":"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)","SEND_MEDIA_INVALID":"The specified media is invalid","SEND_MESSAGE_MEDIA_INVALID":"Invalid media provided","SEND_MESSAGE_TYPE_INVALID":"The message type is invalid","SENSITIVE_CHANGE_FORBIDDEN":"You can't change your sensitive content settings.","SESSION_EXPIRED":"The session has expired","SESSION_PASSWORD_NEEDED":"2FA is enabled, use a password to login","SESSION_REVOKED":"The session was revoked by the user","SESSION_TOO_FRESH_%d":"This session was created less than 24 hours ago, try again in %d seconds","SETTINGS_INVALID":"Invalid settings were provided","SHA256_HASH_INVALID":"The provided SHA256 hash is invalid","SHORT_NAME_INVALID":"The specified short name is invalid","SHORT_NAME_OCCUPIED":"The specified short name is already in use","SHORTCUT_INVALID":"The specified shortcut is invalid","SIGN_IN_FAILED":"Failure while signing in","SLOTS_EMPTY":"The specified slot list is empty","SLOWMODE_MULTI_MSGS_DISABLED":"Slowmode is enabled, you cannot forward multiple messages to this group.","SLOWMODE_WAIT_%d":"Slowmode is enabled in this chat: wait %d seconds before sending another message to this chat.","SLUG_INVALID":"The specified invoice slug is invalid","SMS_CODE_CREATE_FAILED":"An error occurred while creating the SMS code","SMSJOB_ID_INVALID":"The specified job ID is invalid","SRP_ID_INVALID":"Invalid SRP ID provided","SRP_PASSWORD_CHANGED":"Password has changed","START_PARAM_EMPTY":"The start parameter is empty","START_PARAM_INVALID":"Start parameter invalid","START_PARAM_TOO_LONG":"Start parameter is too long","STATS_MIGRATE_%d":"Channel statistics for the specified channel are stored on DC %d, please re-send the query to that DC.","STICKER_DOCUMENT_INVALID":"The specified sticker document is invalid","STICKER_EMOJI_INVALID":"Sticker emoji invalid","STICKER_FILE_INVALID":"Sticker file invalid","STICKER_GIF_DIMENSIONS":"The specified video sticker has invalid dimensions","STICKER_ID_INVALID":"The provided sticker ID is invalid","STICKER_INVALID":"The provided sticker is invalid","STICKER_MIME_INVALID":"The specified sticker MIME type is invalid","STICKER_PNG_DIMENSIONS":"Sticker png dimensions invalid","STICKER_PNG_NOPNG":"One of the specified stickers is not a valid PNG file","STICKER_TGS_NODOC":"You must send the animated sticker as a document.","STICKER_TGS_NOTGS":"Invalid TGS sticker provided.","STICKER_THUMB_PNG_NOPNG":"Incorrect stickerset thumb file provided, PNG \/ WEBP expected.","STICKER_THUMB_TGS_NOTGS":"Incorrect stickerset TGS thumb file provided.","STICKER_VIDEO_BIG":"The specified video sticker is too big","STICKER_VIDEO_NODOC":"You must send the video sticker as a document.","STICKER_VIDEO_NOWEBM":"The specified video sticker is not in webm format","STICKERPACK_STICKERS_TOO_MUCH":"There are too many stickers in this stickerpack, you can't add any more","STICKERS_EMPTY":"No sticker provided","STICKERS_TOO_MUCH":"There are too many stickers in this stickerpack, you can't add any more","STICKERSET_INVALID":"The provided sticker set is invalid","STICKERSET_NOT_MODIFIED":"","STICKERSET_OWNER_ANONYMOUS":"Provided stickerset can't be installed as group stickerset to prevent admin deanonymization.","STORIES_NEVER_CREATED":"This peer hasn't ever posted any stories.","STORIES_TOO_MUCH":"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.","STORY_ID_EMPTY":"You specified no story IDs.","STORY_ID_INVALID":"The specified story ID is invalid","STORY_NOT_MODIFIED":"The new story information you passed is equal to the previous story information, thus it wasn't modified.","STORY_PERIOD_INVALID":"The specified story period is invalid for this account.","STORY_SEND_FLOOD_MONTHLY_%d":"You've hit the monthly story limit as specified by the [`stories_sent_monthly_limit_*` client configuration parameters](https:\/\/core.telegram.org\/api\/config#stories-sent-monthly-limit-default): wait for the specified number of seconds before posting a new story.","STORY_SEND_FLOOD_WEEKLY_%d":"You've hit the weekly story limit as specified by the [`stories_sent_weekly_limit_*` client configuration parameters](https:\/\/core.telegram.org\/api\/config#stories-sent-weekly-limit-default): wait for the specified number of seconds before posting a new story.","SWITCH_PM_TEXT_EMPTY":"The switch_pm.text field was empty","SWITCH_WEBVIEW_URL_INVALID":"The URL specified in switch_webview.url is invalid!","TAKEOUT_INIT_DELAY_%d":"Sorry, for security reasons, you will be able to begin downloading your data in %d seconds. We have notified all your devices about the export request to make sure it's authorized and to give you time to react if it's not.","TAKEOUT_INVALID":"The specified takeout ID is invalid","TAKEOUT_REQUIRED":"A [takeout](https:\/\/core.telegram.org\/api\/takeout) session needs to be initialized first, [see here » for more info](\/api\/takeout).","TASK_ALREADY_EXISTS":"An email reset was already requested.","TEMP_AUTH_KEY_ALREADY_BOUND":"The passed temporary key is already bound to another **perm_auth_key_id**.","TEMP_AUTH_KEY_EMPTY":"No temporary auth key provided","THEME_FILE_INVALID":"Invalid theme file provided","THEME_FORMAT_INVALID":"Invalid theme format provided","THEME_INVALID":"Invalid theme provided","THEME_MIME_INVALID":"The theme's MIME type is invalid","THEME_TITLE_INVALID":"The specified theme title is invalid","Timeout":"Timeout while fetching data","TITLE_INVALID":"The specified stickerpack title is invalid","TMP_PASSWORD_DISABLED":"The temporary password is disabled","TMP_PASSWORD_INVALID":"The passed tmp_password is invalid","TO_LANG_INVALID":"The specified destination language is invalid","TOKEN_EMPTY":"The specified token is empty","TOKEN_INVALID":"The provided token is invalid","TOKEN_TYPE_INVALID":"The specified token type is invalid","TOPIC_CLOSE_SEPARATELY":"The `close` flag cannot be provided together with any of the other flags","TOPIC_CLOSED":"This topic was closed, you can't send messages to it anymore","TOPIC_DELETED":"The specified topic was deleted","TOPIC_HIDE_SEPARATELY":"The `hide` flag cannot be provided together with any of the other flags","TOPIC_ID_INVALID":"The specified topic ID is invalid","TOPIC_NOT_MODIFIED":"The updated topic info is equal to the current topic info, nothing was changed","TOPIC_TITLE_EMPTY":"The specified topic title is empty.","TOPICS_EMPTY":"You specified no topic IDs.","TRANSCRIPTION_FAILED":"Audio transcription failed","TRANSLATE_REQ_QUOTA_EXCEEDED":"","TTL_DAYS_INVALID":"The provided TTL is invalid","TTL_MEDIA_INVALID":"Invalid media Time To Live was provided","TTL_PERIOD_INVALID":"The specified TTL period is invalid","TYPES_EMPTY":"No top peer type was provided","UNTIL_DATE_INVALID":"Invalid until date provided","UPDATE_APP_TO_LOGIN":"Please update to the latest version of MadelineProto to login.","URL_INVALID":"Invalid URL provided","USAGE_LIMIT_INVALID":"The specified usage limit is invalid","USER_ADMIN_INVALID":"You're not an admin","USER_ALREADY_INVITED":"You have already invited this user","USER_ALREADY_PARTICIPANT":"The user is already in the group","USER_BANNED_IN_CHANNEL":"You're banned from sending messages in supergroups\/channels","USER_BLOCKED":"User blocked","USER_BOT":"Bots can only be admins in channels.","USER_BOT_INVALID":"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.","USER_BOT_REQUIRED":"This method can only be called by a bot","USER_CHANNELS_TOO_MUCH":"One of the users you tried to add is already in too many channels\/supergroups","USER_CREATOR":"You can't leave this channel, because you're its creator","USER_DEACTIVATED":"The current account was deleted by the user","USER_DEACTIVATED_BAN":"The current account was deleted and banned by Telegram's antispam system","USER_DELETED":"You can't send this secret message because the other participant deleted their account.","USER_ID_INVALID":"The provided user ID is invalid","USER_INVALID":"Invalid user provided","USER_IS_BLOCKED":"You were blocked by this user","USER_IS_BOT":"Bots can't send messages to other bots","USER_KICKED":"This user was kicked from this supergroup\/channel","USER_MIGRATE_%d":"Your account is associated to DC %d, please re-send the query to that DC.","USER_NOT_MUTUAL_CONTACT":"The provided user is not a mutual contact","USER_NOT_PARTICIPANT":"You're not a member of this supergroup\/channel","USER_PRIVACY_RESTRICTED":"The user's privacy settings do not allow you to do this","USER_PUBLIC_MISSING":"Cannot generate a link to stories posted by a peer without a username.","USER_RESTRICTED":"You're spamreported, you can't create channels or chats.","USER_VOLUME_INVALID":"The specified user volume is invalid","USERNAME_INVALID":"The provided username is not valid","USERNAME_NOT_MODIFIED":"The username was not modified","USERNAME_NOT_OCCUPIED":"The provided username is not occupied","USERNAME_OCCUPIED":"The provided username is already occupied","USERNAME_PURCHASE_AVAILABLE":"The specified username can be purchased on https:\/\/fragment.com","USERNAMES_ACTIVE_TOO_MUCH":"The maximum number of active usernames was reached","USERPIC_PRIVACY_REQUIRED":"You need to disable privacy settings for your profile picture in order to make your geolocation public.","USERPIC_UPLOAD_REQUIRED":"You must have a profile picture to publish your geolocation","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)","VENUE_ID_INVALID":"The specified venue ID is invalid","VIDEO_CONTENT_TYPE_INVALID":"The video's content type is invalid","VIDEO_FILE_INVALID":"The specified video file is invalid","VIDEO_PAUSE_FORBIDDEN":"You cannot pause the video stream","VIDEO_STOP_FORBIDDEN":"You cannot stop the video stream","VIDEO_TITLE_EMPTY":"The specified video title is empty","VOICE_MESSAGES_FORBIDDEN":"This user's privacy settings forbid you from sending voice messages","WALLPAPER_FILE_INVALID":"The specified wallpaper file is invalid","WALLPAPER_INVALID":"The specified wallpaper is invalid","WALLPAPER_MIME_INVALID":"The specified wallpaper MIME type is invalid","WALLPAPER_NOT_FOUND":"The specified wallpaper could not be found","WC_CONVERT_URL_INVALID":"WC convert URL invalid","WEBDOCUMENT_INVALID":"Invalid webdocument URL provided","WEBDOCUMENT_MIME_INVALID":"Invalid webdocument mime type provided","WEBDOCUMENT_SIZE_TOO_BIG":"Webdocument is too big!","WEBDOCUMENT_URL_EMPTY":"The passed web document URL is empty","WEBDOCUMENT_URL_INVALID":"The specified webdocument URL is invalid","WEBPAGE_CURL_FAILED":"Failure while fetching the webpage with cURL","WEBPAGE_MEDIA_EMPTY":"Webpage media empty","WEBPAGE_NOT_FOUND":"A preview for the specified webpage `url` could not be generated","WEBPAGE_URL_INVALID":"The specified webpage `url` is invalid","WEBPUSH_AUTH_INVALID":"The specified web push authentication secret is invalid.","WEBPUSH_KEY_INVALID":"The specified web push elliptic curve Diffie-Hellman public key is invalid.","WEBPUSH_TOKEN_INVALID":"The specified web push token is invalid.","YOU_BLOCKED_USER":"You blocked this user","YOUR_PRIVACY_RESTRICTED":"You cannot fetch the read date of this message because you have disallowed other users to do so for *your* messages; to fix, allow other users to see *your* exact last online date OR purchase a [Telegram Premium](https:\/\/core.telegram.org\/api\/premium) subscription."}} \ No newline at end of file +{"ok":true,"result":{"420":{"account.deleteAccount":{"2FA_CONFIRM_WAIT_%d":"2FA_CONFIRM_WAIT_%d"},"channels.createChannel":{"ADDRESS_INVALID":"ADDRESS_INVALID"},"upload.getFile":{"FLOOD_PREMIUM_WAIT_%d":"FLOOD_PREMIUM_WAIT_%d"},"payments.applyGiftCode":{"PREMIUM_SUB_ACTIVE_UNTIL_%d":"PREMIUM_SUB_ACTIVE_UNTIL_%d"},"messages.forwardMessages":{"SLOWMODE_WAIT_%d":"SLOWMODE_WAIT_%d"},"messages.sendInlineBotResult":{"SLOWMODE_WAIT_%d":"SLOWMODE_WAIT_%d"},"messages.sendMedia":{"SLOWMODE_WAIT_%d":"SLOWMODE_WAIT_%d"},"messages.sendMessage":{"SLOWMODE_WAIT_%d":"SLOWMODE_WAIT_%d"},"messages.sendMultiMedia":{"SLOWMODE_WAIT_%d":"SLOWMODE_WAIT_%d"},"account.initTakeoutSession":{"TAKEOUT_INIT_DELAY_%d":"TAKEOUT_INIT_DELAY_%d"}},"400":{"account.updateProfile":{"ABOUT_TOO_LONG":"ABOUT_TOO_LONG","FIRSTNAME_INVALID":"FIRSTNAME_INVALID"},"auth.importBotAuthorization":{"ACCESS_TOKEN_EXPIRED":"ACCESS_TOKEN_EXPIRED","ACCESS_TOKEN_INVALID":"ACCESS_TOKEN_INVALID","API_ID_INVALID":"API_ID_INVALID","API_ID_PUBLISHED_FLOOD":"API_ID_PUBLISHED_FLOOD"},"channels.createChannel":{"ADDRESS_INVALID":"ADDRESS_INVALID","CHANNELS_ADMIN_LOCATED_TOO_MUCH":"CHANNELS_ADMIN_LOCATED_TOO_MUCH","CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_ABOUT_TOO_LONG":"CHAT_ABOUT_TOO_LONG","CHAT_TITLE_EMPTY":"CHAT_TITLE_EMPTY","TTL_PERIOD_INVALID":"TTL_PERIOD_INVALID"},"messages.deleteRevokedExportedChatInvites":{"ADMIN_ID_INVALID":"ADMIN_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getExportedChatInvites":{"ADMIN_ID_INVALID":"ADMIN_ID_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"channels.editAdmin":{"ADMIN_RANK_EMOJI_NOT_ALLOWED":"ADMIN_RANK_EMOJI_NOT_ALLOWED","ADMIN_RANK_INVALID":"ADMIN_RANK_INVALID","ADMINS_TOO_MUCH":"ADMINS_TOO_MUCH","BOT_CHANNELS_NA":"BOT_CHANNELS_NA","BOT_GROUPS_BLOCKED":"BOT_GROUPS_BLOCKED","BOTS_TOO_MUCH":"BOTS_TOO_MUCH","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","FRESH_CHANGE_ADMINS_FORBIDDEN":"FRESH_CHANGE_ADMINS_FORBIDDEN","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","PEER_ID_INVALID":"PEER_ID_INVALID","USER_BLOCKED":"USER_BLOCKED","USER_CREATOR":"USER_CREATOR","USER_ID_INVALID":"USER_ID_INVALID","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USERS_TOO_MUCH":"USERS_TOO_MUCH"},"messages.sendMessage":{"ADMIN_RIGHTS_EMPTY":"ADMIN_RIGHTS_EMPTY","BOT_DOMAIN_INVALID":"BOT_DOMAIN_INVALID","BOT_INVALID":"BOT_INVALID","BUTTON_DATA_INVALID":"BUTTON_DATA_INVALID","BUTTON_TYPE_INVALID":"BUTTON_TYPE_INVALID","BUTTON_URL_INVALID":"BUTTON_URL_INVALID","BUTTON_USER_INVALID":"BUTTON_USER_INVALID","BUTTON_USER_PRIVACY_RESTRICTED":"BUTTON_USER_PRIVACY_RESTRICTED","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_RESTRICTED":"CHAT_RESTRICTED","DOCUMENT_INVALID":"DOCUMENT_INVALID","ENCRYPTION_DECLINED":"ENCRYPTION_DECLINED","ENTITIES_TOO_LONG":"ENTITIES_TOO_LONG","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","ENTITY_MENTION_USER_INVALID":"ENTITY_MENTION_USER_INVALID","FROM_MESSAGE_BOT_DISABLED":"FROM_MESSAGE_BOT_DISABLED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MESSAGE_EMPTY":"MESSAGE_EMPTY","MESSAGE_TOO_LONG":"MESSAGE_TOO_LONG","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","PINNED_DIALOGS_TOO_MUCH":"PINNED_DIALOGS_TOO_MUCH","POLL_OPTION_INVALID":"POLL_OPTION_INVALID","QUOTE_TEXT_INVALID":"QUOTE_TEXT_INVALID","REPLY_MARKUP_INVALID":"REPLY_MARKUP_INVALID","REPLY_MARKUP_TOO_LONG":"REPLY_MARKUP_TOO_LONG","REPLY_MESSAGE_ID_INVALID":"REPLY_MESSAGE_ID_INVALID","REPLY_TO_INVALID":"REPLY_TO_INVALID","REPLY_TO_USER_INVALID":"REPLY_TO_USER_INVALID","SCHEDULE_BOT_NOT_ALLOWED":"SCHEDULE_BOT_NOT_ALLOWED","SCHEDULE_DATE_TOO_LATE":"SCHEDULE_DATE_TOO_LATE","SCHEDULE_STATUS_PRIVATE":"SCHEDULE_STATUS_PRIVATE","SCHEDULE_TOO_MUCH":"SCHEDULE_TOO_MUCH","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID","STORY_ID_INVALID":"STORY_ID_INVALID","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_IS_BOT":"USER_IS_BOT","WC_CONVERT_URL_INVALID":"WC_CONVERT_URL_INVALID","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"photos.updateProfilePhoto":{"ALBUM_PHOTOS_TOO_MANY":"ALBUM_PHOTOS_TOO_MANY","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","LOCATION_INVALID":"LOCATION_INVALID","PHOTO_CROP_SIZE_SMALL":"PHOTO_CROP_SIZE_SMALL","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_ID_INVALID":"PHOTO_ID_INVALID"},"photos.uploadProfilePhoto":{"ALBUM_PHOTOS_TOO_MANY":"ALBUM_PHOTOS_TOO_MANY","BOT_INVALID":"BOT_INVALID","EMOJI_MARKUP_INVALID":"EMOJI_MARKUP_INVALID","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","PHOTO_CROP_FILE_MISSING":"PHOTO_CROP_FILE_MISSING","PHOTO_CROP_SIZE_SMALL":"PHOTO_CROP_SIZE_SMALL","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_FILE_MISSING":"PHOTO_FILE_MISSING","PHOTO_INVALID":"PHOTO_INVALID","STICKER_MIME_INVALID":"STICKER_MIME_INVALID","VIDEO_FILE_INVALID":"VIDEO_FILE_INVALID"},"auth.exportLoginToken":{"API_ID_INVALID":"API_ID_INVALID","API_ID_PUBLISHED_FLOOD":"API_ID_PUBLISHED_FLOOD"},"auth.importWebTokenAuthorization":{"API_ID_INVALID":"API_ID_INVALID"},"auth.sendCode":{"API_ID_INVALID":"API_ID_INVALID","API_ID_PUBLISHED_FLOOD":"API_ID_PUBLISHED_FLOOD","PHONE_NUMBER_APP_SIGNUP_FORBIDDEN":"PHONE_NUMBER_APP_SIGNUP_FORBIDDEN","PHONE_NUMBER_BANNED":"PHONE_NUMBER_BANNED","PHONE_NUMBER_FLOOD":"PHONE_NUMBER_FLOOD","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_PASSWORD_PROTECTED":"PHONE_PASSWORD_PROTECTED","SMS_CODE_CREATE_FAILED":"SMS_CODE_CREATE_FAILED"},"messages.setInlineBotResults":{"ARTICLE_TITLE_EMPTY":"ARTICLE_TITLE_EMPTY","AUDIO_CONTENT_URL_EMPTY":"AUDIO_CONTENT_URL_EMPTY","AUDIO_TITLE_EMPTY":"AUDIO_TITLE_EMPTY","BUTTON_DATA_INVALID":"BUTTON_DATA_INVALID","BUTTON_TYPE_INVALID":"BUTTON_TYPE_INVALID","BUTTON_URL_INVALID":"BUTTON_URL_INVALID","DOCUMENT_INVALID":"DOCUMENT_INVALID","FILE_CONTENT_TYPE_INVALID":"FILE_CONTENT_TYPE_INVALID","FILE_TITLE_EMPTY":"FILE_TITLE_EMPTY","GIF_CONTENT_TYPE_INVALID":"GIF_CONTENT_TYPE_INVALID","MESSAGE_EMPTY":"MESSAGE_EMPTY","MESSAGE_TOO_LONG":"MESSAGE_TOO_LONG","NEXT_OFFSET_INVALID":"NEXT_OFFSET_INVALID","PHOTO_CONTENT_TYPE_INVALID":"PHOTO_CONTENT_TYPE_INVALID","PHOTO_CONTENT_URL_EMPTY":"PHOTO_CONTENT_URL_EMPTY","PHOTO_INVALID":"PHOTO_INVALID","PHOTO_THUMB_URL_EMPTY":"PHOTO_THUMB_URL_EMPTY","QUERY_ID_INVALID":"QUERY_ID_INVALID","REPLY_MARKUP_INVALID":"REPLY_MARKUP_INVALID","RESULT_ID_DUPLICATE":"RESULT_ID_DUPLICATE","RESULT_ID_INVALID":"RESULT_ID_INVALID","RESULT_TYPE_INVALID":"RESULT_TYPE_INVALID","RESULTS_TOO_MUCH":"RESULTS_TOO_MUCH","SEND_MESSAGE_MEDIA_INVALID":"SEND_MESSAGE_MEDIA_INVALID","SEND_MESSAGE_TYPE_INVALID":"SEND_MESSAGE_TYPE_INVALID","START_PARAM_EMPTY":"START_PARAM_EMPTY","START_PARAM_INVALID":"START_PARAM_INVALID","STICKER_DOCUMENT_INVALID":"STICKER_DOCUMENT_INVALID","SWITCH_PM_TEXT_EMPTY":"SWITCH_PM_TEXT_EMPTY","SWITCH_WEBVIEW_URL_INVALID":"SWITCH_WEBVIEW_URL_INVALID","URL_INVALID":"URL_INVALID","USER_BOT_INVALID":"USER_BOT_INVALID","VIDEO_TITLE_EMPTY":"VIDEO_TITLE_EMPTY","WEBDOCUMENT_INVALID":"WEBDOCUMENT_INVALID","WEBDOCUMENT_MIME_INVALID":"WEBDOCUMENT_MIME_INVALID","WEBDOCUMENT_SIZE_TOO_BIG":"WEBDOCUMENT_SIZE_TOO_BIG","WEBDOCUMENT_URL_INVALID":"WEBDOCUMENT_URL_INVALID"},"auth.importAuthorization":{"AUTH_BYTES_INVALID":"AUTH_BYTES_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"invokeWithLayer":{"AUTH_BYTES_INVALID":"AUTH_BYTES_INVALID","CDN_METHOD_INVALID":"CDN_METHOD_INVALID","CONNECTION_API_ID_INVALID":"CONNECTION_API_ID_INVALID","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"auth.acceptLoginToken":{"AUTH_TOKEN_ALREADY_ACCEPTED":"AUTH_TOKEN_ALREADY_ACCEPTED","AUTH_TOKEN_EXCEPTION":"AUTH_TOKEN_EXCEPTION","AUTH_TOKEN_EXPIRED":"AUTH_TOKEN_EXPIRED","AUTH_TOKEN_INVALIDX":"AUTH_TOKEN_INVALIDX"},"auth.importLoginToken":{"AUTH_TOKEN_ALREADY_ACCEPTED":"AUTH_TOKEN_ALREADY_ACCEPTED","AUTH_TOKEN_EXPIRED":"AUTH_TOKEN_EXPIRED","AUTH_TOKEN_INVALID":"AUTH_TOKEN_INVALID","AUTH_TOKEN_INVALIDX":"AUTH_TOKEN_INVALIDX"},"account.setGlobalPrivacySettings":{"AUTOARCHIVE_NOT_AVAILABLE":"AUTOARCHIVE_NOT_AVAILABLE"},"payments.getBankCardData":{"BANK_CARD_NUMBER_INVALID":"BANK_CARD_NUMBER_INVALID"},"messages.editChatDefaultBannedRights":{"BANNED_RIGHTS_INVALID":"BANNED_RIGHTS_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID","UNTIL_DATE_INVALID":"UNTIL_DATE_INVALID"},"stories.applyBoost":{"BOOST_NOT_MODIFIED":"BOOST_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED"},"stories.canApplyBoost":{"BOOST_NOT_MODIFIED":"BOOST_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED"},"payments.getPaymentForm":{"BOOST_PEER_INVALID":"BOOST_PEER_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","SLUG_INVALID":"SLUG_INVALID","UNTIL_DATE_INVALID":"UNTIL_DATE_INVALID"},"premium.applyBoost":{"BOOSTS_EMPTY":"BOOSTS_EMPTY","PEER_ID_INVALID":"PEER_ID_INVALID","SLOTS_EMPTY":"SLOTS_EMPTY"},"channels.updateColor":{"BOOSTS_REQUIRED":"BOOSTS_REQUIRED","CHANNEL_INVALID":"CHANNEL_INVALID"},"stories.canSendStory":{"BOOSTS_REQUIRED":"BOOSTS_REQUIRED","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED","STORIES_TOO_MUCH":"STORIES_TOO_MUCH","STORY_SEND_FLOOD_MONTHLY_%d":"STORY_SEND_FLOOD_MONTHLY_%d","STORY_SEND_FLOOD_WEEKLY_%d":"STORY_SEND_FLOOD_WEEKLY_%d"},"stories.sendStory":{"BOOSTS_REQUIRED":"BOOSTS_REQUIRED","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","MEDIA_EMPTY":"MEDIA_EMPTY","MEDIA_FILE_INVALID":"MEDIA_FILE_INVALID","MEDIA_TYPE_INVALID":"MEDIA_TYPE_INVALID","MEDIA_VIDEO_STORY_MISSING":"MEDIA_VIDEO_STORY_MISSING","PEER_ID_INVALID":"PEER_ID_INVALID","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED","STORIES_TOO_MUCH":"STORIES_TOO_MUCH","STORY_PERIOD_INVALID":"STORY_PERIOD_INVALID","VENUE_ID_INVALID":"VENUE_ID_INVALID"},"messages.getBotApp":{"BOT_APP_BOT_INVALID":"BOT_APP_BOT_INVALID","BOT_APP_INVALID":"BOT_APP_INVALID","BOT_APP_SHORTNAME_INVALID":"BOT_APP_SHORTNAME_INVALID"},"messages.requestAppWebView":{"BOT_APP_INVALID":"BOT_APP_INVALID","BOT_APP_SHORTNAME_INVALID":"BOT_APP_SHORTNAME_INVALID"},"bots.setBotCommands":{"BOT_COMMAND_DESCRIPTION_INVALID":"BOT_COMMAND_DESCRIPTION_INVALID","BOT_COMMAND_INVALID":"BOT_COMMAND_INVALID","LANG_CODE_INVALID":"LANG_CODE_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED","USER_ID_INVALID":"USER_ID_INVALID"},"messages.editMessage":{"BOT_DOMAIN_INVALID":"BOT_DOMAIN_INVALID","BOT_INVALID":"BOT_INVALID","BUTTON_DATA_INVALID":"BUTTON_DATA_INVALID","BUTTON_TYPE_INVALID":"BUTTON_TYPE_INVALID","BUTTON_URL_INVALID":"BUTTON_URL_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_FORWARDS_RESTRICTED":"CHAT_FORWARDS_RESTRICTED","DOCUMENT_INVALID":"DOCUMENT_INVALID","ENTITIES_TOO_LONG":"ENTITIES_TOO_LONG","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MEDIA_CAPTION_TOO_LONG":"MEDIA_CAPTION_TOO_LONG","MEDIA_EMPTY":"MEDIA_EMPTY","MEDIA_GROUPED_INVALID":"MEDIA_GROUPED_INVALID","MEDIA_INVALID":"MEDIA_INVALID","MEDIA_NEW_INVALID":"MEDIA_NEW_INVALID","MEDIA_PREV_INVALID":"MEDIA_PREV_INVALID","MEDIA_TTL_INVALID":"MEDIA_TTL_INVALID","MESSAGE_EDIT_TIME_EXPIRED":"MESSAGE_EDIT_TIME_EXPIRED","MESSAGE_EMPTY":"MESSAGE_EMPTY","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MESSAGE_NOT_MODIFIED":"MESSAGE_NOT_MODIFIED","MESSAGE_TOO_LONG":"MESSAGE_TOO_LONG","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","REPLY_MARKUP_INVALID":"REPLY_MARKUP_INVALID","REPLY_MARKUP_TOO_LONG":"REPLY_MARKUP_TOO_LONG","SCHEDULE_DATE_INVALID":"SCHEDULE_DATE_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","WEBPAGE_NOT_FOUND":"WEBPAGE_NOT_FOUND"},"channels.inviteToChannel":{"BOT_GROUPS_BLOCKED":"BOT_GROUPS_BLOCKED","BOTS_TOO_MUCH":"BOTS_TOO_MUCH","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_INVALID":"CHAT_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_BLOCKED":"USER_BLOCKED","USER_BOT":"USER_BOT","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH","USER_ID_INVALID":"USER_ID_INVALID","USER_KICKED":"USER_KICKED","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USERS_TOO_MUCH":"USERS_TOO_MUCH"},"messages.addChatUser":{"BOT_GROUPS_BLOCKED":"BOT_GROUPS_BLOCKED","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ALREADY_PARTICIPANT":"USER_ALREADY_PARTICIPANT","USER_ID_INVALID":"USER_ID_INVALID","USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USERS_TOO_MUCH":"USERS_TOO_MUCH","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.getInlineBotResults":{"BOT_INLINE_DISABLED":"BOT_INLINE_DISABLED","BOT_INVALID":"BOT_INVALID","BOT_RESPONSE_TIMEOUT":"BOT_RESPONSE_TIMEOUT","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID"},"bots.allowSendMessage":{"BOT_INVALID":"BOT_INVALID"},"bots.canSendMessage":{"BOT_INVALID":"BOT_INVALID"},"bots.getBotInfo":{"BOT_INVALID":"BOT_INVALID","LANG_CODE_INVALID":"LANG_CODE_INVALID","USER_BOT_INVALID":"USER_BOT_INVALID"},"bots.invokeWebViewCustomMethod":{"BOT_INVALID":"BOT_INVALID"},"bots.reorderUsernames":{"BOT_INVALID":"BOT_INVALID"},"bots.toggleUsername":{"BOT_INVALID":"BOT_INVALID"},"messages.getAttachMenuBot":{"BOT_INVALID":"BOT_INVALID"},"messages.requestSimpleWebView":{"BOT_INVALID":"BOT_INVALID","URL_INVALID":"URL_INVALID"},"messages.requestWebView":{"BOT_INVALID":"BOT_INVALID","BOT_WEBVIEW_DISABLED":"BOT_WEBVIEW_DISABLED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.startBot":{"BOT_INVALID":"BOT_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","START_PARAM_EMPTY":"START_PARAM_EMPTY","START_PARAM_INVALID":"START_PARAM_INVALID","START_PARAM_TOO_LONG":"START_PARAM_TOO_LONG"},"messages.toggleBotInAttachMenu":{"BOT_INVALID":"BOT_INVALID"},"stickers.addStickerToSet":{"BOT_MISSING":"BOT_MISSING","STICKER_PNG_NOPNG":"STICKER_PNG_NOPNG","STICKER_TGS_NOTGS":"STICKER_TGS_NOTGS","STICKERPACK_STICKERS_TOO_MUCH":"STICKERPACK_STICKERS_TOO_MUCH","STICKERS_TOO_MUCH":"STICKERS_TOO_MUCH","STICKERSET_INVALID":"STICKERSET_INVALID"},"stickers.changeSticker":{"BOT_MISSING":"BOT_MISSING","STICKER_INVALID":"STICKER_INVALID"},"stickers.deleteStickerSet":{"BOT_MISSING":"BOT_MISSING","STICKERSET_INVALID":"STICKERSET_INVALID"},"stickers.removeStickerFromSet":{"BOT_MISSING":"BOT_MISSING","STICKER_INVALID":"STICKER_INVALID"},"messages.updatePinnedMessage":{"BOT_ONESIDE_NOT_AVAIL":"BOT_ONESIDE_NOT_AVAIL","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","PIN_RESTRICTED":"PIN_RESTRICTED","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"messages.sendMedia":{"BOT_PAYMENTS_DISABLED":"BOT_PAYMENTS_DISABLED","BROADCAST_PUBLIC_VOTERS_FORBIDDEN":"BROADCAST_PUBLIC_VOTERS_FORBIDDEN","BUTTON_DATA_INVALID":"BUTTON_DATA_INVALID","BUTTON_TYPE_INVALID":"BUTTON_TYPE_INVALID","BUTTON_URL_INVALID":"BUTTON_URL_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_FORWARDS_RESTRICTED":"CHAT_FORWARDS_RESTRICTED","CHAT_RESTRICTED":"CHAT_RESTRICTED","CURRENCY_TOTAL_AMOUNT_INVALID":"CURRENCY_TOTAL_AMOUNT_INVALID","DOCUMENT_INVALID":"DOCUMENT_INVALID","EMOTICON_INVALID":"EMOTICON_INVALID","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","EXTERNAL_URL_INVALID":"EXTERNAL_URL_INVALID","FILE_PART_LENGTH_INVALID":"FILE_PART_LENGTH_INVALID","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","FILE_REFERENCE_EMPTY":"FILE_REFERENCE_EMPTY","FILE_REFERENCE_EXPIRED":"FILE_REFERENCE_EXPIRED","GAME_BOT_INVALID":"GAME_BOT_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MD5_CHECKSUM_INVALID":"MD5_CHECKSUM_INVALID","MEDIA_CAPTION_TOO_LONG":"MEDIA_CAPTION_TOO_LONG","MEDIA_EMPTY":"MEDIA_EMPTY","MEDIA_INVALID":"MEDIA_INVALID","MESSAGE_EMPTY":"MESSAGE_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","PAYMENT_PROVIDER_INVALID":"PAYMENT_PROVIDER_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_INVALID_DIMENSIONS":"PHOTO_INVALID_DIMENSIONS","PHOTO_SAVE_FILE_INVALID":"PHOTO_SAVE_FILE_INVALID","POLL_ANSWER_INVALID":"POLL_ANSWER_INVALID","POLL_ANSWERS_INVALID":"POLL_ANSWERS_INVALID","POLL_OPTION_DUPLICATE":"POLL_OPTION_DUPLICATE","POLL_OPTION_INVALID":"POLL_OPTION_INVALID","POLL_QUESTION_INVALID":"POLL_QUESTION_INVALID","QUIZ_CORRECT_ANSWER_INVALID":"QUIZ_CORRECT_ANSWER_INVALID","QUIZ_CORRECT_ANSWERS_EMPTY":"QUIZ_CORRECT_ANSWERS_EMPTY","QUIZ_CORRECT_ANSWERS_TOO_MUCH":"QUIZ_CORRECT_ANSWERS_TOO_MUCH","QUIZ_MULTIPLE_INVALID":"QUIZ_MULTIPLE_INVALID","REPLY_MARKUP_BUY_EMPTY":"REPLY_MARKUP_BUY_EMPTY","REPLY_MARKUP_GAME_EMPTY":"REPLY_MARKUP_GAME_EMPTY","REPLY_MARKUP_INVALID":"REPLY_MARKUP_INVALID","REPLY_MARKUP_TOO_LONG":"REPLY_MARKUP_TOO_LONG","SCHEDULE_BOT_NOT_ALLOWED":"SCHEDULE_BOT_NOT_ALLOWED","SCHEDULE_DATE_TOO_LATE":"SCHEDULE_DATE_TOO_LATE","SCHEDULE_TOO_MUCH":"SCHEDULE_TOO_MUCH","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID","STORY_ID_INVALID":"STORY_ID_INVALID","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED","TTL_MEDIA_INVALID":"TTL_MEDIA_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_IS_BOT":"USER_IS_BOT","VIDEO_CONTENT_TYPE_INVALID":"VIDEO_CONTENT_TYPE_INVALID","VOICE_MESSAGES_FORBIDDEN":"VOICE_MESSAGES_FORBIDDEN","WEBDOCUMENT_MIME_INVALID":"WEBDOCUMENT_MIME_INVALID","WEBPAGE_CURL_FAILED":"WEBPAGE_CURL_FAILED","WEBPAGE_MEDIA_EMPTY":"WEBPAGE_MEDIA_EMPTY","WEBPAGE_NOT_FOUND":"WEBPAGE_NOT_FOUND","WEBPAGE_URL_INVALID":"WEBPAGE_URL_INVALID","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.getBotCallbackAnswer":{"BOT_RESPONSE_TIMEOUT":"BOT_RESPONSE_TIMEOUT","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","DATA_INVALID":"DATA_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.setGameScore":{"BOT_SCORE_NOT_MODIFIED":"BOT_SCORE_NOT_MODIFIED","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","SCORE_INVALID":"SCORE_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"channels.setDiscussionGroup":{"BROADCAST_ID_INVALID":"BROADCAST_ID_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","LINK_NOT_MODIFIED":"LINK_NOT_MODIFIED","MEGAGROUP_ID_INVALID":"MEGAGROUP_ID_INVALID","MEGAGROUP_PREHISTORY_HIDDEN":"MEGAGROUP_PREHISTORY_HIDDEN"},"messages.forwardMessages":{"BROADCAST_PUBLIC_VOTERS_FORBIDDEN":"BROADCAST_PUBLIC_VOTERS_FORBIDDEN","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_FORWARDS_RESTRICTED":"CHAT_FORWARDS_RESTRICTED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_RESTRICTED":"CHAT_RESTRICTED","GROUPED_MEDIA_INVALID":"GROUPED_MEDIA_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MEDIA_EMPTY":"MEDIA_EMPTY","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MESSAGE_IDS_EMPTY":"MESSAGE_IDS_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","QUIZ_ANSWER_MISSING":"QUIZ_ANSWER_MISSING","RANDOM_ID_INVALID":"RANDOM_ID_INVALID","SCHEDULE_BOT_NOT_ALLOWED":"SCHEDULE_BOT_NOT_ALLOWED","SCHEDULE_DATE_TOO_LATE":"SCHEDULE_DATE_TOO_LATE","SCHEDULE_TOO_MUCH":"SCHEDULE_TOO_MUCH","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID","SLOWMODE_MULTI_MSGS_DISABLED":"SLOWMODE_MULTI_MSGS_DISABLED","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_IS_BOT":"USER_IS_BOT","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"stats.getBroadcastStats":{"BROADCAST_REQUIRED":"BROADCAST_REQUIRED","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"messages.editInlineBotMessage":{"BUTTON_DATA_INVALID":"BUTTON_DATA_INVALID","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MESSAGE_NOT_MODIFIED":"MESSAGE_NOT_MODIFIED"},"bots.setBotMenuButton":{"BUTTON_TEXT_INVALID":"BUTTON_TEXT_INVALID","BUTTON_URL_INVALID":"BUTTON_URL_INVALID"},"test.test":{"BUTTON_URL_INVALID":"BUTTON_URL_INVALID"},"phone.acceptCall":{"CALL_ALREADY_ACCEPTED":"CALL_ALREADY_ACCEPTED","CALL_ALREADY_DECLINED":"CALL_ALREADY_DECLINED","CALL_PEER_INVALID":"CALL_PEER_INVALID","CALL_PROTOCOL_FLAGS_INVALID":"CALL_PROTOCOL_FLAGS_INVALID"},"phone.discardCall":{"CALL_ALREADY_ACCEPTED":"CALL_ALREADY_ACCEPTED","CALL_OCCUPY_FAILED":"CALL_OCCUPY_FAILED","CALL_PEER_INVALID":"CALL_PEER_INVALID"},"phone.confirmCall":{"CALL_ALREADY_DECLINED":"CALL_ALREADY_DECLINED","CALL_PEER_INVALID":"CALL_PEER_INVALID"},"phone.receivedCall":{"CALL_ALREADY_DECLINED":"CALL_ALREADY_DECLINED","CALL_PEER_INVALID":"CALL_PEER_INVALID"},"phone.saveCallDebug":{"CALL_PEER_INVALID":"CALL_PEER_INVALID","DATA_JSON_INVALID":"DATA_JSON_INVALID"},"phone.setCallRating":{"CALL_PEER_INVALID":"CALL_PEER_INVALID"},"phone.requestCall":{"CALL_PROTOCOL_FLAGS_INVALID":"CALL_PROTOCOL_FLAGS_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","PARTICIPANT_VERSION_OUTDATED":"PARTICIPANT_VERSION_OUTDATED","USER_ID_INVALID":"USER_ID_INVALID","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"updates.getDifference":{"CDN_METHOD_INVALID":"CDN_METHOD_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","DATE_EMPTY":"DATE_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","PERSISTENT_TIMESTAMP_EMPTY":"PERSISTENT_TIMESTAMP_EMPTY","PERSISTENT_TIMESTAMP_INVALID":"PERSISTENT_TIMESTAMP_INVALID","USER_NOT_PARTICIPANT":"USER_NOT_PARTICIPANT","USERNAME_INVALID":"USERNAME_INVALID"},"upload.getCdnFileHashes":{"CDN_METHOD_INVALID":"CDN_METHOD_INVALID","FILE_TOKEN_INVALID":"FILE_TOKEN_INVALID","RSA_DECRYPT_FAILED":"RSA_DECRYPT_FAILED"},"upload.getFile":{"CDN_METHOD_INVALID":"CDN_METHOD_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","FILE_ID_INVALID":"FILE_ID_INVALID","FILE_REFERENCE_*":"FILE_REFERENCE_*","FILE_REFERENCE_EXPIRED":"FILE_REFERENCE_EXPIRED","LIMIT_INVALID":"LIMIT_INVALID","LOCATION_INVALID":"LOCATION_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","OFFSET_INVALID":"OFFSET_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"upload.reuploadCdnFile":{"CDN_METHOD_INVALID":"CDN_METHOD_INVALID","FILE_TOKEN_INVALID":"FILE_TOKEN_INVALID","LOCATION_INVALID":"LOCATION_INVALID","REQUEST_TOKEN_INVALID":"REQUEST_TOKEN_INVALID","RSA_DECRYPT_FAILED":"RSA_DECRYPT_FAILED"},"channels.createForumTopic":{"CHANNEL_FORUM_MISSING":"CHANNEL_FORUM_MISSING","CHANNEL_INVALID":"CHANNEL_INVALID","TOPIC_TITLE_EMPTY":"TOPIC_TITLE_EMPTY"},"channels.editForumTopic":{"CHANNEL_FORUM_MISSING":"CHANNEL_FORUM_MISSING","CHANNEL_INVALID":"CHANNEL_INVALID","DOCUMENT_INVALID":"DOCUMENT_INVALID","GENERAL_MODIFY_ICON_FORBIDDEN":"GENERAL_MODIFY_ICON_FORBIDDEN","TOPIC_CLOSE_SEPARATELY":"TOPIC_CLOSE_SEPARATELY","TOPIC_HIDE_SEPARATELY":"TOPIC_HIDE_SEPARATELY","TOPIC_ID_INVALID":"TOPIC_ID_INVALID","TOPIC_NOT_MODIFIED":"TOPIC_NOT_MODIFIED"},"channels.getForumTopics":{"CHANNEL_FORUM_MISSING":"CHANNEL_FORUM_MISSING","CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getForumTopicsByID":{"CHANNEL_FORUM_MISSING":"CHANNEL_FORUM_MISSING","CHANNEL_INVALID":"CHANNEL_INVALID","TOPICS_EMPTY":"TOPICS_EMPTY"},"channels.convertToGigagroup":{"CHANNEL_ID_INVALID":"CHANNEL_ID_INVALID","CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","FORUM_ENABLED":"FORUM_ENABLED","PARTICIPANTS_TOO_FEW":"PARTICIPANTS_TOO_FEW"},"account.updateNotifySettings":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","SETTINGS_INVALID":"SETTINGS_INVALID"},"channels.checkUsername":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_ADMIN_PUBLIC_TOO_MUCH":"CHANNELS_ADMIN_PUBLIC_TOO_MUCH","CHAT_ID_INVALID":"CHAT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USERNAME_INVALID":"USERNAME_INVALID","USERNAME_OCCUPIED":"USERNAME_OCCUPIED","USERNAME_PURCHASE_AVAILABLE":"USERNAME_PURCHASE_AVAILABLE"},"channels.clickSponsoredMessage":{"CHANNEL_INVALID":"CHANNEL_INVALID"},"channels.deleteChannel":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNEL_TOO_LARGE":"CHANNEL_TOO_LARGE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"channels.deleteHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PARICIPANT_MISSING":"CHANNEL_PARICIPANT_MISSING","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNEL_TOO_BIG":"CHANNEL_TOO_BIG","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"channels.deleteMessages":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.deleteParticipantHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MSG_ID_INVALID":"MSG_ID_INVALID","PARTICIPANT_ID_INVALID":"PARTICIPANT_ID_INVALID"},"channels.deleteTopicHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","TOPIC_ID_INVALID":"TOPIC_ID_INVALID"},"channels.deleteUserHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"channels.editAbout":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ABOUT_NOT_MODIFIED":"CHAT_ABOUT_NOT_MODIFIED","CHAT_ABOUT_TOO_LONG":"CHAT_ABOUT_TOO_LONG","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"channels.editBanned":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PARTICIPANT_ID_INVALID":"PARTICIPANT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ADMIN_INVALID":"USER_ADMIN_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"channels.editPhoto":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","FILE_REFERENCE_INVALID":"FILE_REFERENCE_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","PHOTO_CROP_SIZE_SMALL":"PHOTO_CROP_SIZE_SMALL","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_INVALID":"PHOTO_INVALID","STICKER_MIME_INVALID":"STICKER_MIME_INVALID"},"channels.editTitle":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","CHAT_TITLE_EMPTY":"CHAT_TITLE_EMPTY"},"channels.exportInvite":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"channels.exportMessageLink":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.getAdminLog":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.getChannelRecommendations":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getChannels":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"channels.getFullChannel":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.getMessages":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MESSAGE_IDS_EMPTY":"MESSAGE_IDS_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"channels.getParticipant":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MSG_ID_INVALID":"MSG_ID_INVALID","PARTICIPANT_ID_INVALID":"PARTICIPANT_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID","USER_NOT_PARTICIPANT":"USER_NOT_PARTICIPANT"},"channels.getParticipants":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.getSendAs":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"channels.getSponsoredMessages":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.joinChannel":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_INVALID":"CHAT_INVALID","INVITE_HASH_EMPTY":"INVITE_HASH_EMPTY","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","INVITE_HASH_INVALID":"INVITE_HASH_INVALID","INVITE_REQUEST_SENT":"INVITE_REQUEST_SENT","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ALREADY_PARTICIPANT":"USER_ALREADY_PARTICIPANT","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH","USERS_TOO_MUCH":"USERS_TOO_MUCH"},"channels.leaveChannel":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_INVALID":"CHAT_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_CREATOR":"USER_CREATOR","USER_NOT_PARTICIPANT":"USER_NOT_PARTICIPANT"},"channels.readHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.readMessageContents":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID"},"channels.reorderUsernames":{"CHANNEL_INVALID":"CHANNEL_INVALID"},"channels.reportSpam":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"channels.reportSponsoredMessage":{"CHANNEL_INVALID":"CHANNEL_INVALID"},"channels.restrictSponsoredMessages":{"CHANNEL_INVALID":"CHANNEL_INVALID"},"channels.setBoostsToUnblockRestrictions":{"CHANNEL_INVALID":"CHANNEL_INVALID"},"channels.setEmojiStickers":{"CHANNEL_INVALID":"CHANNEL_INVALID"},"channels.setStickers":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ID_INVALID":"CHAT_ID_INVALID","PARTICIPANTS_TOO_FEW":"PARTICIPANTS_TOO_FEW"},"channels.toggleInvites":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"channels.toggleJoinRequest":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","CHAT_PUBLIC_REQUIRED":"CHAT_PUBLIC_REQUIRED"},"channels.toggleJoinToSend":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"channels.togglePreHistoryHidden":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_LINK_EXISTS":"CHAT_LINK_EXISTS","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","FORUM_ENABLED":"FORUM_ENABLED"},"channels.toggleSignatures":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"channels.toggleSlowMode":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","SECONDS_INVALID":"SECONDS_INVALID"},"channels.toggleViewForumAsMessages":{"CHANNEL_INVALID":"CHANNEL_INVALID"},"channels.updateEmojiStatus":{"CHANNEL_INVALID":"CHANNEL_INVALID"},"channels.updatePinnedMessage":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"channels.updateUsername":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_ADMIN_PUBLIC_TOO_MUCH":"CHANNELS_ADMIN_PUBLIC_TOO_MUCH","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","USERNAME_INVALID":"USERNAME_INVALID","USERNAME_NOT_MODIFIED":"USERNAME_NOT_MODIFIED","USERNAME_OCCUPIED":"USERNAME_OCCUPIED","USERNAME_PURCHASE_AVAILABLE":"USERNAME_PURCHASE_AVAILABLE"},"channels.viewSponsoredMessage":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.editChatAbout":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ABOUT_NOT_MODIFIED":"CHAT_ABOUT_NOT_MODIFIED","CHAT_ABOUT_TOO_LONG":"CHAT_ABOUT_TOO_LONG","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.exportChatInvite":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","EXPIRE_DATE_INVALID":"EXPIRE_DATE_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USAGE_LIMIT_INVALID":"USAGE_LIMIT_INVALID"},"messages.getChatInviteImporters":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","PEER_ID_INVALID":"PEER_ID_INVALID","SEARCH_WITH_LINK_NOT_SUPPORTED":"SEARCH_WITH_LINK_NOT_SUPPORTED"},"messages.getDiscussionMessage":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","TOPIC_ID_INVALID":"TOPIC_ID_INVALID"},"messages.getHistory":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","TAKEOUT_INVALID":"TAKEOUT_INVALID"},"messages.getMessagesReactions":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.getMessagesViews":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getPeerDialogs":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getPeerSettings":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getReplies":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","TOPIC_ID_INVALID":"TOPIC_ID_INVALID"},"messages.getUnreadMentions":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.hideAllChatJoinRequests":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","HIDE_REQUESTER_MISSING":"HIDE_REQUESTER_MISSING","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","PEER_ID_INVALID":"PEER_ID_INVALID","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH"},"messages.importChatInvite":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_INVALID":"CHAT_INVALID","INVITE_HASH_EMPTY":"INVITE_HASH_EMPTY","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","INVITE_HASH_INVALID":"INVITE_HASH_INVALID","INVITE_REQUEST_SENT":"INVITE_REQUEST_SENT","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ALREADY_PARTICIPANT":"USER_ALREADY_PARTICIPANT","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH","USERS_TOO_MUCH":"USERS_TOO_MUCH"},"messages.readMentions":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.report":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.search":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","FROM_PEER_INVALID":"FROM_PEER_INVALID","INPUT_FILTER_INVALID":"INPUT_FILTER_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","PEER_ID_NOT_SUPPORTED":"PEER_ID_NOT_SUPPORTED","SEARCH_QUERY_EMPTY":"SEARCH_QUERY_EMPTY","USER_ID_INVALID":"USER_ID_INVALID"},"messages.sendInlineBotResult":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_RESTRICTED":"CHAT_RESTRICTED","CHAT_SEND_INLINE_FORBIDDEN":"CHAT_SEND_INLINE_FORBIDDEN","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","INLINE_RESULT_EXPIRED":"INLINE_RESULT_EXPIRED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MEDIA_EMPTY":"MEDIA_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","QUERY_ID_EMPTY":"QUERY_ID_EMPTY","RESULT_ID_EMPTY":"RESULT_ID_EMPTY","RESULT_ID_INVALID":"RESULT_ID_INVALID","SCHEDULE_DATE_TOO_LATE":"SCHEDULE_DATE_TOO_LATE","SCHEDULE_TOO_MUCH":"SCHEDULE_TOO_MUCH","TOPIC_DELETED":"TOPIC_DELETED","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","VOICE_MESSAGES_FORBIDDEN":"VOICE_MESSAGES_FORBIDDEN","WEBPAGE_CURL_FAILED":"WEBPAGE_CURL_FAILED","WEBPAGE_MEDIA_EMPTY":"WEBPAGE_MEDIA_EMPTY","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.sendMultiMedia":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_FORWARDS_RESTRICTED":"CHAT_FORWARDS_RESTRICTED","ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","MEDIA_CAPTION_TOO_LONG":"MEDIA_CAPTION_TOO_LONG","MEDIA_EMPTY":"MEDIA_EMPTY","MEDIA_INVALID":"MEDIA_INVALID","MULTI_MEDIA_TOO_LONG":"MULTI_MEDIA_TOO_LONG","PEER_ID_INVALID":"PEER_ID_INVALID","RANDOM_ID_EMPTY":"RANDOM_ID_EMPTY","SCHEDULE_DATE_TOO_LATE":"SCHEDULE_DATE_TOO_LATE","SCHEDULE_TOO_MUCH":"SCHEDULE_TOO_MUCH","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"messages.sendReaction":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CUSTOM_REACTIONS_TOO_MANY":"CUSTOM_REACTIONS_TOO_MANY","DOCUMENT_INVALID":"DOCUMENT_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MESSAGE_NOT_MODIFIED":"MESSAGE_NOT_MODIFIED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","REACTION_EMPTY":"REACTION_EMPTY","REACTION_INVALID":"REACTION_INVALID","REACTIONS_TOO_MANY":"REACTIONS_TOO_MANY","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"messages.sendVote":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MESSAGE_POLL_CLOSED":"MESSAGE_POLL_CLOSED","MSG_ID_INVALID":"MSG_ID_INVALID","OPTION_INVALID":"OPTION_INVALID","OPTIONS_TOO_MUCH":"OPTIONS_TOO_MUCH","PEER_ID_INVALID":"PEER_ID_INVALID","REVOTE_NOT_ALLOWED":"REVOTE_NOT_ALLOWED"},"messages.setTyping":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_IS_BOT":"USER_IS_BOT"},"messages.uploadMedia":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_RESTRICTED":"CHAT_RESTRICTED","FILE_PART_LENGTH_INVALID":"FILE_PART_LENGTH_INVALID","FILE_PARTS_INVALID":"FILE_PARTS_INVALID","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MEDIA_INVALID":"MEDIA_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_INVALID_DIMENSIONS":"PHOTO_INVALID_DIMENSIONS","PHOTO_SAVE_FILE_INVALID":"PHOTO_SAVE_FILE_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL","WEBPAGE_CURL_FAILED":"WEBPAGE_CURL_FAILED"},"stats.getBroadcastRevenueStats":{"CHANNEL_INVALID":"CHANNEL_INVALID"},"stats.getBroadcastRevenueTransactions":{"CHANNEL_INVALID":"CHANNEL_INVALID"},"stats.getMegagroupStats":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MEGAGROUP_REQUIRED":"MEGAGROUP_REQUIRED"},"stats.getMessagePublicForwards":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"stats.getMessageStats":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getBoostersList":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getPeerStories":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getStoriesByID":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PEER_ID_INVALID":"PEER_ID_INVALID","STORIES_NEVER_CREATED":"STORIES_NEVER_CREATED","STORY_ID_EMPTY":"STORY_ID_EMPTY"},"stories.getStoriesViews":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PEER_ID_INVALID":"PEER_ID_INVALID","STORY_ID_EMPTY":"STORY_ID_EMPTY"},"updates.getChannelDifference":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","FROM_MESSAGE_BOT_DISABLED":"FROM_MESSAGE_BOT_DISABLED","MSG_ID_INVALID":"MSG_ID_INVALID","PERSISTENT_TIMESTAMP_EMPTY":"PERSISTENT_TIMESTAMP_EMPTY","PERSISTENT_TIMESTAMP_INVALID":"PERSISTENT_TIMESTAMP_INVALID","PINNED_DIALOGS_TOO_MUCH":"PINNED_DIALOGS_TOO_MUCH","RANGES_INVALID":"RANGES_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"users.getFullUser":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID","USERNAME_OCCUPIED":"USERNAME_OCCUPIED"},"users.getUsers":{"CHANNEL_INVALID":"CHANNEL_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE","FROM_MESSAGE_BOT_DISABLED":"FROM_MESSAGE_BOT_DISABLED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_BANNED_IN_CHANNEL":"USER_BANNED_IN_CHANNEL"},"account.reportPeer":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PEER_ID_INVALID":"PEER_ID_INVALID"},"channels.editCreator":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_ADMIN_PUBLIC_TOO_MUCH":"CHANNELS_ADMIN_PUBLIC_TOO_MUCH","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PASSWORD_HASH_INVALID":"PASSWORD_HASH_INVALID","PASSWORD_MISSING":"PASSWORD_MISSING","PASSWORD_TOO_FRESH_%d":"PASSWORD_TOO_FRESH_%d","SESSION_TOO_FRESH_%d":"SESSION_TOO_FRESH_%d","SRP_ID_INVALID":"SRP_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"channels.toggleUsername":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","USERNAME_INVALID":"USERNAME_INVALID","USERNAMES_ACTIVE_TOO_MUCH":"USERNAMES_ACTIVE_TOO_MUCH"},"contacts.addContact":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CONTACT_ID_INVALID":"CONTACT_ID_INVALID","CONTACT_NAME_EMPTY":"CONTACT_NAME_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID"},"contacts.block":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CONTACT_ID_INVALID":"CONTACT_ID_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"contacts.unblock":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CONTACT_ID_INVALID":"CONTACT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"folders.editPeerFolders":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","FOLDER_ID_INVALID":"FOLDER_ID_INVALID"},"messages.deleteHistory":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_REVOKE_DATE_UNSUPPORTED":"CHAT_REVOKE_DATE_UNSUPPORTED","MAX_DATE_INVALID":"MAX_DATE_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MIN_DATE_INVALID":"MIN_DATE_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.editExportedChatInvite":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_INVITE_PERMANENT":"CHAT_INVITE_PERMANENT","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","PEER_ID_INVALID":"PEER_ID_INVALID","USAGE_LIMIT_INVALID":"USAGE_LIMIT_INVALID"},"messages.getExportedChatInvite":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getOnlines":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.hideChatJoinRequest":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","HIDE_REQUESTER_MISSING":"HIDE_REQUESTER_MISSING","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ALREADY_PARTICIPANT":"USER_ALREADY_PARTICIPANT","USER_ID_INVALID":"USER_ID_INVALID"},"messages.readHistory":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ID_INVALID":"CHAT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.reportSpam":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.toggleDialogPin":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PEER_HISTORY_EMPTY":"PEER_HISTORY_EMPTY","PEER_ID_INVALID":"PEER_ID_INVALID","PINNED_DIALOGS_TOO_MUCH":"PINNED_DIALOGS_TOO_MUCH"},"phone.createGroupCall":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CREATE_CALL_FAILED":"CREATE_CALL_FAILED","PEER_ID_INVALID":"PEER_ID_INVALID","SCHEDULE_DATE_INVALID":"SCHEDULE_DATE_INVALID"},"channels.getAdminedPublicChannels":{"CHANNELS_ADMIN_LOCATED_TOO_MUCH":"CHANNELS_ADMIN_LOCATED_TOO_MUCH","CHANNELS_ADMIN_PUBLIC_TOO_MUCH":"CHANNELS_ADMIN_PUBLIC_TOO_MUCH"},"messages.migrateChat":{"CHANNELS_TOO_MUCH":"CHANNELS_TOO_MUCH","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"channels.editLocation":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","MEGAGROUP_GEO_REQUIRED":"MEGAGROUP_GEO_REQUIRED","MEGAGROUP_REQUIRED":"MEGAGROUP_REQUIRED"},"messages.checkHistoryImportPeer":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT"},"messages.deleteChat":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.deleteChatUser":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID","USER_NOT_PARTICIPANT":"USER_NOT_PARTICIPANT"},"messages.editChatTitle":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","CHAT_TITLE_EMPTY":"CHAT_TITLE_EMPTY","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getAdminsWithInvites":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getMessageEditData":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getScheduledHistory":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getScheduledMessages":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.initHistoryImport":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","IMPORT_FILE_INVALID":"IMPORT_FILE_INVALID","IMPORT_FORMAT_DATE_INVALID":"IMPORT_FORMAT_DATE_INVALID","IMPORT_FORMAT_UNRECOGNIZED":"IMPORT_FORMAT_UNRECOGNIZED","IMPORT_HISTORY_LOG_EMPTY":"IMPORT_HISTORY_LOG_EMPTY","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.setChatAvailableReactions":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.toggleNoForwards":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.unpinAllMessages":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.uploadImportedMedia":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"phone.getGroupCallStreamRtmpUrl":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"premium.getBoostsList":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getStoriesArchive":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","PEER_ID_INVALID":"PEER_ID_INVALID"},"channels.toggleForum":{"CHAT_DISCUSSION_UNALLOWED":"CHAT_DISCUSSION_UNALLOWED","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"messages.discardEncryption":{"CHAT_ID_EMPTY":"CHAT_ID_EMPTY","ENCRYPTION_ALREADY_ACCEPTED":"ENCRYPTION_ALREADY_ACCEPTED","ENCRYPTION_ALREADY_DECLINED":"ENCRYPTION_ALREADY_DECLINED","ENCRYPTION_ID_INVALID":"ENCRYPTION_ID_INVALID"},"channels.toggleParticipantsHidden":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","PARTICIPANTS_TOO_FEW":"PARTICIPANTS_TOO_FEW"},"messages.acceptEncryption":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","ENCRYPTION_ALREADY_ACCEPTED":"ENCRYPTION_ALREADY_ACCEPTED","ENCRYPTION_ALREADY_DECLINED":"ENCRYPTION_ALREADY_DECLINED"},"messages.editChatAdmin":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID","USER_NOT_PARTICIPANT":"USER_NOT_PARTICIPANT"},"messages.editChatPhoto":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","IMAGE_PROCESS_FAILED":"IMAGE_PROCESS_FAILED","PEER_ID_INVALID":"PEER_ID_INVALID","PHOTO_CROP_SIZE_SMALL":"PHOTO_CROP_SIZE_SMALL","PHOTO_EXT_INVALID":"PHOTO_EXT_INVALID","PHOTO_INVALID":"PHOTO_INVALID"},"messages.forwardMessage":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.getChats":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getFullChat":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.readDiscussion":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.reportEncryptedSpam":{"CHAT_ID_INVALID":"CHAT_ID_INVALID"},"messages.sendEncrypted":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","DATA_INVALID":"DATA_INVALID","DATA_TOO_LONG":"DATA_TOO_LONG","ENCRYPTION_DECLINED":"ENCRYPTION_DECLINED","MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.sendEncryptedFile":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","DATA_TOO_LONG":"DATA_TOO_LONG","ENCRYPTION_DECLINED":"ENCRYPTION_DECLINED","FILE_EMTPY":"FILE_EMTPY","MD5_CHECKSUM_INVALID":"MD5_CHECKSUM_INVALID","MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.sendEncryptedService":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","DATA_INVALID":"DATA_INVALID","ENCRYPTION_DECLINED":"ENCRYPTION_DECLINED","ENCRYPTION_ID_INVALID":"ENCRYPTION_ID_INVALID","MSG_WAIT_FAILED":"MSG_WAIT_FAILED","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"messages.setEncryptedTyping":{"CHAT_ID_INVALID":"CHAT_ID_INVALID"},"messages.toggleChatAdmins":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"messages.updateDialogFilter":{"CHAT_ID_INVALID":"CHAT_ID_INVALID","CHATLIST_EXCLUDE_INVALID":"CHATLIST_EXCLUDE_INVALID","FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_INCLUDE_EMPTY":"FILTER_INCLUDE_EMPTY","FILTER_TITLE_EMPTY":"FILTER_TITLE_EMPTY","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.createChat":{"CHAT_INVALID":"CHAT_INVALID","CHAT_TITLE_EMPTY":"CHAT_TITLE_EMPTY","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","TTL_PERIOD_INVALID":"TTL_PERIOD_INVALID","USERS_TOO_FEW":"USERS_TOO_FEW"},"channels.toggleAntiSpam":{"CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED"},"messages.setHistoryTTL":{"CHAT_NOT_MODIFIED":"CHAT_NOT_MODIFIED","TTL_PERIOD_INVALID":"TTL_PERIOD_INVALID"},"messages.getMessageReadParticipants":{"CHAT_TOO_BIG":"CHAT_TOO_BIG","MSG_ID_INVALID":"MSG_ID_INVALID","MSG_TOO_OLD":"MSG_TOO_OLD","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getMessagesReadParticipants":{"CHAT_TOO_BIG":"CHAT_TOO_BIG","MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID"},"account.deleteBusinessChatLink":{"CHATLINK_SLUG_EMPTY":"CHATLINK_SLUG_EMPTY"},"account.editBusinessChatLink":{"CHATLINK_SLUG_EMPTY":"CHATLINK_SLUG_EMPTY"},"account.resolveBusinessChatLink":{"CHATLINK_SLUG_EMPTY":"CHATLINK_SLUG_EMPTY"},"auth.recoverPassword":{"CODE_EMPTY":"CODE_EMPTY","NEW_SETTINGS_INVALID":"NEW_SETTINGS_INVALID"},"account.confirmPhone":{"CODE_HASH_INVALID":"CODE_HASH_INVALID","PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY"},"account.confirmPasswordEmail":{"CODE_INVALID":"CODE_INVALID","EMAIL_HASH_EXPIRED":"EMAIL_HASH_EXPIRED"},"fragment.getCollectibleInfo":{"COLLECTIBLE_INVALID":"COLLECTIBLE_INVALID","COLLECTIBLE_NOT_FOUND":"COLLECTIBLE_NOT_FOUND"},"account.updateColor":{"COLOR_INVALID":"COLOR_INVALID"},"help.getConfig":{"CONNECTION_API_ID_INVALID":"CONNECTION_API_ID_INVALID","CONNECTION_APP_VERSION_EMPTY":"CONNECTION_APP_VERSION_EMPTY","CONNECTION_LAYER_INVALID":"CONNECTION_LAYER_INVALID","DATA_INVALID":"DATA_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","USERNAME_INVALID":"USERNAME_INVALID"},"account.getBotBusinessConnection":{"CONNECTION_ID_INVALID":"CONNECTION_ID_INVALID"},"contacts.resolveUsername":{"CONNECTION_LAYER_INVALID":"CONNECTION_LAYER_INVALID","USERNAME_INVALID":"USERNAME_INVALID","USERNAME_NOT_OCCUPIED":"USERNAME_NOT_OCCUPIED"},"initConnection":{"CONNECTION_LAYER_INVALID":"CONNECTION_LAYER_INVALID"},"contacts.acceptContact":{"CONTACT_ADD_MISSING":"CONTACT_ADD_MISSING","CONTACT_ID_INVALID":"CONTACT_ID_INVALID","CONTACT_REQ_MISSING":"CONTACT_REQ_MISSING","MSG_ID_INVALID":"MSG_ID_INVALID"},"contacts.deleteContact":{"CONTACT_ID_INVALID":"CONTACT_ID_INVALID"},"photos.uploadContactProfilePhoto":{"CONTACT_MISSING":"CONTACT_MISSING","USER_ID_INVALID":"USER_ID_INVALID"},"payments.exportInvoice":{"CURRENCY_TOTAL_AMOUNT_INVALID":"CURRENCY_TOTAL_AMOUNT_INVALID","INVOICE_PAYLOAD_INVALID":"INVOICE_PAYLOAD_INVALID","MEDIA_INVALID":"MEDIA_INVALID","PAYMENT_PROVIDER_INVALID":"PAYMENT_PROVIDER_INVALID"},"bots.answerWebhookJSONQuery":{"DATA_JSON_INVALID":"DATA_JSON_INVALID","QUERY_ID_INVALID":"QUERY_ID_INVALID","USER_BOT_INVALID":"USER_BOT_INVALID"},"bots.sendCustomRequest":{"DATA_JSON_INVALID":"DATA_JSON_INVALID","METHOD_INVALID":"METHOD_INVALID","USER_BOT_INVALID":"USER_BOT_INVALID"},"help.acceptTermsOfService":{"DATA_JSON_INVALID":"DATA_JSON_INVALID"},"phone.joinGroupCall":{"DATA_JSON_INVALID":"DATA_JSON_INVALID","GROUPCALL_INVALID":"GROUPCALL_INVALID","GROUPCALL_SSRC_DUPLICATE_MUCH":"GROUPCALL_SSRC_DUPLICATE_MUCH","JOIN_AS_PEER_INVALID":"JOIN_AS_PEER_INVALID"},"auth.exportAuthorization":{"DC_ID_INVALID":"DC_ID_INVALID"},"messages.requestEncryption":{"DH_G_A_INVALID":"DH_G_A_INVALID","INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","USER_ID_INVALID":"USER_ID_INVALID"},"account.updateEmojiStatus":{"DOCUMENT_INVALID":"DOCUMENT_INVALID"},"upload.getWebFile":{"DOCUMENT_INVALID":"DOCUMENT_INVALID","LOCATION_INVALID":"LOCATION_INVALID"},"account.cancelPasswordEmail":{"EMAIL_HASH_EXPIRED":"EMAIL_HASH_EXPIRED"},"account.resendPasswordEmail":{"EMAIL_HASH_EXPIRED":"EMAIL_HASH_EXPIRED"},"account.sendVerifyEmailCode":{"EMAIL_INVALID":"EMAIL_INVALID","EMAIL_NOT_SETUP":"EMAIL_NOT_SETUP","PHONE_HASH_EXPIRED":"PHONE_HASH_EXPIRED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"account.updatePasswordSettings":{"EMAIL_INVALID":"EMAIL_INVALID","EMAIL_UNCONFIRMED":"EMAIL_UNCONFIRMED","EMAIL_UNCONFIRMED_%d":"EMAIL_UNCONFIRMED_%d","NEW_SALT_INVALID":"NEW_SALT_INVALID","NEW_SETTINGS_EMPTY":"NEW_SETTINGS_EMPTY","NEW_SETTINGS_INVALID":"NEW_SETTINGS_INVALID","PASSWORD_HASH_INVALID":"PASSWORD_HASH_INVALID","SRP_ID_INVALID":"SRP_ID_INVALID","SRP_PASSWORD_CHANGED":"SRP_PASSWORD_CHANGED"},"account.verifyEmail":{"EMAIL_INVALID":"EMAIL_INVALID","EMAIL_VERIFY_EXPIRED":"EMAIL_VERIFY_EXPIRED"},"messages.setChatTheme":{"EMOJI_INVALID":"EMOJI_INVALID","EMOJI_NOT_MODIFIED":"EMOJI_NOT_MODIFIED","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getStickers":{"EMOTICON_EMPTY":"EMOTICON_EMPTY"},"messages.searchCustomEmoji":{"EMOTICON_EMPTY":"EMOTICON_EMPTY"},"messages.getStickerSet":{"EMOTICON_STICKERPACK_MISSING":"EMOTICON_STICKERPACK_MISSING","STICKERSET_INVALID":"STICKERSET_INVALID"},"auth.bindTempAuthKey":{"ENCRYPTED_MESSAGE_INVALID":"ENCRYPTED_MESSAGE_INVALID","TEMP_AUTH_KEY_ALREADY_BOUND":"TEMP_AUTH_KEY_ALREADY_BOUND","TEMP_AUTH_KEY_EMPTY":"TEMP_AUTH_KEY_EMPTY"},"help.editUserInfo":{"ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","USER_INVALID":"USER_INVALID"},"messages.getWebPagePreview":{"ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","MESSAGE_EMPTY":"MESSAGE_EMPTY"},"messages.saveDraft":{"ENTITY_BOUNDS_INVALID":"ENTITY_BOUNDS_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.setBotPrecheckoutResults":{"ERROR_TEXT_EMPTY":"ERROR_TEXT_EMPTY"},"contacts.importCard":{"EXPORT_CARD_INVALID":"EXPORT_CARD_INVALID"},"upload.saveBigFilePart":{"FILE_PART_EMPTY":"FILE_PART_EMPTY","FILE_PART_INVALID":"FILE_PART_INVALID","FILE_PART_SIZE_CHANGED":"FILE_PART_SIZE_CHANGED","FILE_PART_SIZE_INVALID":"FILE_PART_SIZE_INVALID","FILE_PART_TOO_BIG":"FILE_PART_TOO_BIG","FILE_PARTS_INVALID":"FILE_PARTS_INVALID"},"upload.saveFilePart":{"FILE_PART_EMPTY":"FILE_PART_EMPTY","FILE_PART_INVALID":"FILE_PART_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID"},"upload.getCdnFile":{"FILE_TOKEN_INVALID":"FILE_TOKEN_INVALID"},"chatlists.deleteExportedInvite":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"chatlists.editExportedInvite":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"chatlists.exportChatlistInvite":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED","INVITES_TOO_MUCH":"INVITES_TOO_MUCH","PEERS_LIST_EMPTY":"PEERS_LIST_EMPTY"},"chatlists.getChatlistUpdates":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED","INPUT_CHATLIST_INVALID":"INPUT_CHATLIST_INVALID"},"chatlists.getLeaveChatlistSuggestions":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"chatlists.hideChatlistUpdates":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"chatlists.joinChatlistUpdates":{"FILTER_ID_INVALID":"FILTER_ID_INVALID","FILTER_INCLUDE_EMPTY":"FILTER_INCLUDE_EMPTY"},"chatlists.joinChatlistInvite":{"FILTER_INCLUDE_EMPTY":"FILTER_INCLUDE_EMPTY","INVITE_SLUG_EMPTY":"INVITE_SLUG_EMPTY","INVITE_SLUG_EXPIRED":"INVITE_SLUG_EXPIRED"},"messages.getSearchResultsCalendar":{"FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"messages.searchSentMedia":{"FILTER_NOT_SUPPORTED":"FILTER_NOT_SUPPORTED"},"auth.signUp":{"FIRSTNAME_INVALID":"FIRSTNAME_INVALID","LASTNAME_INVALID":"LASTNAME_INVALID","PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_CODE_INVALID":"PHONE_CODE_INVALID","PHONE_NUMBER_FLOOD":"PHONE_NUMBER_FLOOD","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_NUMBER_OCCUPIED":"PHONE_NUMBER_OCCUPIED"},"folders.deleteFolder":{"FOLDER_ID_EMPTY":"FOLDER_ID_EMPTY","FOLDER_ID_INVALID":"FOLDER_ID_INVALID"},"messages.getDialogs":{"FOLDER_ID_INVALID":"FOLDER_ID_INVALID","OFFSET_PEER_ID_INVALID":"OFFSET_PEER_ID_INVALID"},"messages.getPinnedDialogs":{"FOLDER_ID_INVALID":"FOLDER_ID_INVALID"},"messages.searchGlobal":{"FOLDER_ID_INVALID":"FOLDER_ID_INVALID","INPUT_FILTER_INVALID":"INPUT_FILTER_INVALID","SEARCH_QUERY_EMPTY":"SEARCH_QUERY_EMPTY"},"contacts.getLocated":{"GEO_POINT_INVALID":"GEO_POINT_INVALID","USERPIC_UPLOAD_REQUIRED":"USERPIC_UPLOAD_REQUIRED"},"messages.saveGif":{"GIF_ID_INVALID":"GIF_ID_INVALID"},"payments.applyGiftCode":{"GIFT_SLUG_EXPIRED":"GIFT_SLUG_EXPIRED","GIFT_SLUG_INVALID":"GIFT_SLUG_INVALID"},"payments.checkGiftCode":{"GIFT_SLUG_EXPIRED":"GIFT_SLUG_EXPIRED","GIFT_SLUG_INVALID":"GIFT_SLUG_INVALID"},"stats.loadAsyncGraph":{"GRAPH_EXPIRED_RELOAD":"GRAPH_EXPIRED_RELOAD","GRAPH_INVALID_RELOAD":"GRAPH_INVALID_RELOAD","GRAPH_OUTDATED_RELOAD":"GRAPH_OUTDATED_RELOAD"},"phone.discardGroupCall":{"GROUPCALL_ALREADY_DISCARDED":"GROUPCALL_ALREADY_DISCARDED","GROUPCALL_INVALID":"GROUPCALL_INVALID"},"phone.discardGroupCallRequest":{"GROUPCALL_ALREADY_DISCARDED":"GROUPCALL_ALREADY_DISCARDED"},"phone.editGroupCallParticipant":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN","PARTICIPANT_JOIN_MISSING":"PARTICIPANT_JOIN_MISSING","RAISE_HAND_FORBIDDEN":"RAISE_HAND_FORBIDDEN","USER_VOLUME_INVALID":"USER_VOLUME_INVALID","VIDEO_PAUSE_FORBIDDEN":"VIDEO_PAUSE_FORBIDDEN","VIDEO_STOP_FORBIDDEN":"VIDEO_STOP_FORBIDDEN"},"phone.editGroupCallTitle":{"GROUPCALL_INVALID":"GROUPCALL_INVALID"},"phone.getGroupCall":{"GROUPCALL_INVALID":"GROUPCALL_INVALID"},"phone.getGroupCallStreamChannels":{"GROUPCALL_INVALID":"GROUPCALL_INVALID","GROUPCALL_JOIN_MISSING":"GROUPCALL_JOIN_MISSING"},"phone.inviteToGroupCall":{"GROUPCALL_INVALID":"GROUPCALL_INVALID","INVITE_FORBIDDEN_WITH_JOINAS":"INVITE_FORBIDDEN_WITH_JOINAS","USER_ALREADY_INVITED":"USER_ALREADY_INVITED"},"phone.toggleGroupCallRecord":{"GROUPCALL_INVALID":"GROUPCALL_INVALID","GROUPCALL_NOT_MODIFIED":"GROUPCALL_NOT_MODIFIED"},"phone.checkGroupCall":{"GROUPCALL_JOIN_MISSING":"GROUPCALL_JOIN_MISSING"},"phone.toggleGroupCallSettings":{"GROUPCALL_NOT_MODIFIED":"GROUPCALL_NOT_MODIFIED"},"account.changeAuthorizationSettings":{"HASH_INVALID":"HASH_INVALID"},"account.resetAuthorization":{"HASH_INVALID":"HASH_INVALID"},"account.resetWebAuthorization":{"HASH_INVALID":"HASH_INVALID"},"account.sendConfirmPhoneCode":{"HASH_INVALID":"HASH_INVALID"},"messages.checkHistoryImport":{"IMPORT_FORMAT_UNRECOGNIZED":"IMPORT_FORMAT_UNRECOGNIZED"},"messages.startHistoryImport":{"IMPORT_ID_INVALID":"IMPORT_ID_INVALID"},"contacts.importContactToken":{"IMPORT_TOKEN_INVALID":"IMPORT_TOKEN_INVALID"},"messages.translateText":{"INPUT_TEXT_EMPTY":"INPUT_TEXT_EMPTY","INPUT_TEXT_TOO_LONG":"INPUT_TEXT_TOO_LONG","MSG_ID_INVALID":"MSG_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","TO_LANG_INVALID":"TO_LANG_INVALID","TRANSLATE_REQ_QUOTA_EXCEEDED":"TRANSLATE_REQ_QUOTA_EXCEEDED"},"messages.sendScreenshotNotification":{"INPUT_USER_DEACTIVATED":"INPUT_USER_DEACTIVATED","PEER_ID_INVALID":"PEER_ID_INVALID","REPLY_MESSAGE_ID_INVALID":"REPLY_MESSAGE_ID_INVALID","STORY_ID_INVALID":"STORY_ID_INVALID","YOU_BLOCKED_USER":"YOU_BLOCKED_USER"},"messages.checkChatInvite":{"INVITE_HASH_EMPTY":"INVITE_HASH_EMPTY","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","INVITE_HASH_INVALID":"INVITE_HASH_INVALID"},"messages.deleteExportedChatInvite":{"INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED","INVITE_REVOKED_MISSING":"INVITE_REVOKED_MISSING","PEER_ID_INVALID":"PEER_ID_INVALID"},"chatlists.checkChatlistInvite":{"INVITE_SLUG_EMPTY":"INVITE_SLUG_EMPTY","INVITE_SLUG_EXPIRED":"INVITE_SLUG_EXPIRED"},"phone.saveDefaultGroupCallJoinAs":{"JOIN_AS_PEER_INVALID":"JOIN_AS_PEER_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"bots.resetBotCommands":{"LANG_CODE_INVALID":"LANG_CODE_INVALID"},"langpack.getLangPack":{"LANG_CODE_NOT_SUPPORTED":"LANG_CODE_NOT_SUPPORTED","LANG_PACK_INVALID":"LANG_PACK_INVALID"},"langpack.getLanguage":{"LANG_CODE_NOT_SUPPORTED":"LANG_CODE_NOT_SUPPORTED","LANG_PACK_INVALID":"LANG_PACK_INVALID"},"langpack.getStrings":{"LANG_CODE_NOT_SUPPORTED":"LANG_CODE_NOT_SUPPORTED","LANG_PACK_INVALID":"LANG_PACK_INVALID"},"langpack.getDifference":{"LANG_PACK_INVALID":"LANG_PACK_INVALID"},"langpack.getLanguages":{"LANG_PACK_INVALID":"LANG_PACK_INVALID"},"upload.getFileHashes":{"LOCATION_INVALID":"LOCATION_INVALID"},"messages.readEncryptedHistory":{"MAX_DATE_INVALID":"MAX_DATE_INVALID","MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"photos.getUserPhotos":{"MAX_ID_INVALID":"MAX_ID_INVALID","MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"stories.readStories":{"MAX_ID_INVALID":"MAX_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","STORIES_NEVER_CREATED":"STORIES_NEVER_CREATED"},"messages.receivedQueue":{"MAX_QTS_INVALID":"MAX_QTS_INVALID","MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"auth.sendInvites":{"MESSAGE_EMPTY":"MESSAGE_EMPTY"},"messages.deleteMessages":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID"},"messages.getGameHighScores":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"messages.getInlineGameHighScores":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"messages.getOutboxReadDate":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","MESSAGE_TOO_OLD":"MESSAGE_TOO_OLD","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getPollResults":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.sendScheduledMessages":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.setInlineGameScore":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"payments.getPaymentReceipt":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID"},"payments.sendPaymentForm":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID"},"payments.validateRequestedInfo":{"MESSAGE_ID_INVALID":"MESSAGE_ID_INVALID"},"messages.setBotCallbackAnswer":{"MESSAGE_TOO_LONG":"MESSAGE_TOO_LONG","QUERY_ID_INVALID":"QUERY_ID_INVALID","URL_INVALID":"URL_INVALID","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"messages.searchGifs":{"METHOD_INVALID":"METHOD_INVALID","SEARCH_QUERY_EMPTY":"SEARCH_QUERY_EMPTY"},"contacts.blockFromReplies":{"MSG_ID_INVALID":"MSG_ID_INVALID"},"messages.getCommonChats":{"MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"messages.getMessageReactionsList":{"MSG_ID_INVALID":"MSG_ID_INVALID"},"messages.getPollVotes":{"MSG_ID_INVALID":"MSG_ID_INVALID"},"messages.reportReaction":{"MSG_ID_INVALID":"MSG_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"smsjobs.join":{"NOT_ELIGIBLE":"NOT_ELIGIBLE"},"smsjobs.getStatus":{"NOT_JOINED":"NOT_JOINED"},"smsjobs.leave":{"NOT_JOINED":"NOT_JOINED"},"smsjobs.updateSettings":{"NOT_JOINED":"NOT_JOINED"},"account.reorderUsernames":{"ORDER_INVALID":"ORDER_INVALID"},"stickers.createStickerSet":{"PACK_SHORT_NAME_INVALID":"PACK_SHORT_NAME_INVALID","PACK_SHORT_NAME_OCCUPIED":"PACK_SHORT_NAME_OCCUPIED","PACK_TITLE_INVALID":"PACK_TITLE_INVALID","PEER_ID_INVALID":"PEER_ID_INVALID","STICKER_EMOJI_INVALID":"STICKER_EMOJI_INVALID","STICKER_FILE_INVALID":"STICKER_FILE_INVALID","STICKER_GIF_DIMENSIONS":"STICKER_GIF_DIMENSIONS","STICKER_PNG_DIMENSIONS":"STICKER_PNG_DIMENSIONS","STICKER_PNG_NOPNG":"STICKER_PNG_NOPNG","STICKER_TGS_NODOC":"STICKER_TGS_NODOC","STICKER_TGS_NOTGS":"STICKER_TGS_NOTGS","STICKER_THUMB_PNG_NOPNG":"STICKER_THUMB_PNG_NOPNG","STICKER_THUMB_TGS_NOTGS":"STICKER_THUMB_TGS_NOTGS","STICKER_VIDEO_BIG":"STICKER_VIDEO_BIG","STICKER_VIDEO_NODOC":"STICKER_VIDEO_NODOC","STICKER_VIDEO_NOWEBM":"STICKER_VIDEO_NOWEBM","STICKERS_EMPTY":"STICKERS_EMPTY","USER_ID_INVALID":"USER_ID_INVALID"},"phone.joinGroupCallPresentation":{"PARTICIPANT_JOIN_MISSING":"PARTICIPANT_JOIN_MISSING"},"account.resetPassword":{"PASSWORD_EMPTY":"PASSWORD_EMPTY"},"auth.requestPasswordRecovery":{"PASSWORD_EMPTY":"PASSWORD_EMPTY","PASSWORD_RECOVERY_NA":"PASSWORD_RECOVERY_NA"},"account.getPasswordSettings":{"PASSWORD_HASH_INVALID":"PASSWORD_HASH_INVALID"},"account.getTmpPassword":{"PASSWORD_HASH_INVALID":"PASSWORD_HASH_INVALID","TMP_PASSWORD_DISABLED":"TMP_PASSWORD_DISABLED"},"auth.checkPassword":{"PASSWORD_HASH_INVALID":"PASSWORD_HASH_INVALID","SRP_ID_INVALID":"SRP_ID_INVALID","SRP_PASSWORD_CHANGED":"SRP_PASSWORD_CHANGED"},"stats.getBroadcastRevenueWithdrawalUrl":{"PASSWORD_HASH_INVALID":"PASSWORD_HASH_INVALID"},"auth.checkRecoveryPassword":{"PASSWORD_RECOVERY_EXPIRED":"PASSWORD_RECOVERY_EXPIRED"},"account.saveSecureValue":{"PASSWORD_REQUIRED":"PASSWORD_REQUIRED"},"account.disablePeerConnectedBot":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"account.getNotifySettings":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"account.reportProfilePhoto":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"account.saveAutoSaveSettings":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"account.toggleConnectedBotPaused":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"contacts.resetTopPeerRating":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.deleteFactCheck":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.deleteSavedHistory":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.deleteScheduledMessages":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.editFactCheck":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getFactCheck":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getSavedHistory":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getSearchCounters":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getStatsURL":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.getUnreadReactions":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.hideReportSpam":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.markDialogUnread":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.readReactions":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.reorderPinnedDialogs":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.saveDefaultSendAs":{"PEER_ID_INVALID":"PEER_ID_INVALID","SEND_AS_PEER_INVALID":"SEND_AS_PEER_INVALID"},"messages.sendQuickReplyMessages":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.setChatWallPaper":{"PEER_ID_INVALID":"PEER_ID_INVALID","WALLPAPER_INVALID":"WALLPAPER_INVALID","WALLPAPER_NOT_FOUND":"WALLPAPER_NOT_FOUND"},"messages.toggleSavedDialogPin":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"messages.transcribeAudio":{"PEER_ID_INVALID":"PEER_ID_INVALID","TRANSCRIPTION_FAILED":"TRANSCRIPTION_FAILED"},"payments.getGiveawayInfo":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"payments.getStarsStatus":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"payments.getStarsTransactions":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"payments.launchPrepaidGiveaway":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"payments.sendStarsForm":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"phone.getGroupCallJoinAs":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"premium.getBoostsStatus":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"premium.getUserBoosts":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stats.getStoryPublicForwards":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stats.getStoryStats":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.deleteStories":{"PEER_ID_INVALID":"PEER_ID_INVALID","STORY_ID_EMPTY":"STORY_ID_EMPTY"},"stories.editStory":{"PEER_ID_INVALID":"PEER_ID_INVALID","STORY_NOT_MODIFIED":"STORY_NOT_MODIFIED"},"stories.exportStoryLink":{"PEER_ID_INVALID":"PEER_ID_INVALID","STORY_ID_EMPTY":"STORY_ID_EMPTY","USER_PUBLIC_MISSING":"USER_PUBLIC_MISSING"},"stories.getBoostsStatus":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getPinnedStories":{"PEER_ID_INVALID":"PEER_ID_INVALID","USER_ID_INVALID":"USER_ID_INVALID"},"stories.getStoryReactionsList":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.getStoryViewsList":{"PEER_ID_INVALID":"PEER_ID_INVALID","STORY_ID_INVALID":"STORY_ID_INVALID"},"stories.incrementStoryViews":{"PEER_ID_INVALID":"PEER_ID_INVALID","STORY_ID_EMPTY":"STORY_ID_EMPTY"},"stories.report":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.sendReaction":{"PEER_ID_INVALID":"PEER_ID_INVALID","REACTION_INVALID":"REACTION_INVALID","STORY_ID_EMPTY":"STORY_ID_EMPTY","STORY_ID_INVALID":"STORY_ID_INVALID"},"stories.togglePeerStoriesHidden":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.togglePinned":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"stories.togglePinnedToTop":{"PEER_ID_INVALID":"PEER_ID_INVALID"},"account.changePhone":{"PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_NUMBER_OCCUPIED":"PHONE_NUMBER_OCCUPIED"},"account.verifyPhone":{"PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.requestFirebaseSms":{"PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.resendCode":{"PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_CODE_HASH_EMPTY":"PHONE_CODE_HASH_EMPTY","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.signIn":{"PHONE_CODE_EMPTY":"PHONE_CODE_EMPTY","PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_CODE_INVALID":"PHONE_CODE_INVALID","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_NUMBER_UNOCCUPIED":"PHONE_NUMBER_UNOCCUPIED"},"auth.cancelCode":{"PHONE_CODE_EXPIRED":"PHONE_CODE_EXPIRED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"contacts.resolvePhone":{"PHONE_NOT_OCCUPIED":"PHONE_NOT_OCCUPIED"},"account.sendChangePhoneCode":{"PHONE_NUMBER_BANNED":"PHONE_NUMBER_BANNED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_NUMBER_OCCUPIED":"PHONE_NUMBER_OCCUPIED"},"auth.checkPhone":{"PHONE_NUMBER_BANNED":"PHONE_NUMBER_BANNED","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"account.sendVerifyPhoneCode":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.reportMissingCode":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.resetLoginEmail":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","TASK_ALREADY_EXISTS":"TASK_ALREADY_EXISTS"},"account.getPrivacy":{"PRIVACY_KEY_INVALID":"PRIVACY_KEY_INVALID"},"account.setPrivacy":{"PRIVACY_KEY_INVALID":"PRIVACY_KEY_INVALID","PRIVACY_TOO_LONG":"PRIVACY_TOO_LONG","PRIVACY_VALUE_INVALID":"PRIVACY_VALUE_INVALID"},"account.acceptAuthorization":{"PUBLIC_KEY_REQUIRED":"PUBLIC_KEY_REQUIRED"},"account.getAuthorizationForm":{"PUBLIC_KEY_REQUIRED":"PUBLIC_KEY_REQUIRED"},"messages.sendWebViewResultMessage":{"QUERY_ID_INVALID":"QUERY_ID_INVALID"},"messages.setBotShippingResults":{"QUERY_ID_INVALID":"QUERY_ID_INVALID"},"contacts.search":{"QUERY_TOO_SHORT":"QUERY_TOO_SHORT","SEARCH_QUERY_EMPTY":"SEARCH_QUERY_EMPTY"},"messages.getDhConfig":{"RANDOM_LENGTH_INVALID":"RANDOM_LENGTH_INVALID"},"messages.setDefaultReaction":{"REACTION_INVALID":"REACTION_INVALID"},"messages.updateSavedReactionTag":{"REACTION_INVALID":"REACTION_INVALID"},"account.declinePasswordReset":{"RESET_REQUEST_MISSING":"RESET_REQUEST_MISSING"},"bots.setBotBroadcastDefaultAdminRights":{"RIGHTS_NOT_MODIFIED":"RIGHTS_NOT_MODIFIED"},"bots.setBotGroupDefaultAdminRights":{"RIGHTS_NOT_MODIFIED":"RIGHTS_NOT_MODIFIED","USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"messages.getDocumentByHash":{"SHA256_HASH_INVALID":"SHA256_HASH_INVALID"},"stickers.checkShortName":{"SHORT_NAME_INVALID":"SHORT_NAME_INVALID","SHORT_NAME_OCCUPIED":"SHORT_NAME_OCCUPIED"},"messages.deleteQuickReplyMessages":{"SHORTCUT_INVALID":"SHORTCUT_INVALID"},"messages.deleteQuickReplyShortcut":{"SHORTCUT_INVALID":"SHORTCUT_INVALID"},"messages.editQuickReplyShortcut":{"SHORTCUT_INVALID":"SHORTCUT_INVALID"},"messages.getQuickReplyMessages":{"SHORTCUT_INVALID":"SHORTCUT_INVALID"},"smsjobs.finishJob":{"SMSJOB_ID_INVALID":"SMSJOB_ID_INVALID"},"smsjobs.getSmsJob":{"SMSJOB_ID_INVALID":"SMSJOB_ID_INVALID"},"messages.faveSticker":{"STICKER_ID_INVALID":"STICKER_ID_INVALID"},"messages.saveRecentSticker":{"STICKER_ID_INVALID":"STICKER_ID_INVALID"},"stickers.changeStickerPosition":{"STICKER_INVALID":"STICKER_INVALID"},"stickers.replaceSticker":{"STICKER_INVALID":"STICKER_INVALID"},"stickers.setStickerSetThumb":{"STICKER_THUMB_PNG_NOPNG":"STICKER_THUMB_PNG_NOPNG","STICKER_THUMB_TGS_NOTGS":"STICKER_THUMB_TGS_NOTGS","STICKERSET_INVALID":"STICKERSET_INVALID"},"messages.installStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"messages.uninstallStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"stickers.renameStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"contacts.getSaved":{"TAKEOUT_INVALID":"TAKEOUT_INVALID","TAKEOUT_REQUIRED":"TAKEOUT_REQUIRED"},"account.uploadTheme":{"THEME_FILE_INVALID":"THEME_FILE_INVALID"},"account.getTheme":{"THEME_FORMAT_INVALID":"THEME_FORMAT_INVALID","THEME_INVALID":"THEME_INVALID"},"account.updateTheme":{"THEME_INVALID":"THEME_INVALID"},"account.createTheme":{"THEME_MIME_INVALID":"THEME_MIME_INVALID","THEME_TITLE_INVALID":"THEME_TITLE_INVALID"},"account.updateBusinessWorkHours":{"TIMEZONE_INVALID":"TIMEZONE_INVALID"},"stickers.suggestShortName":{"TITLE_INVALID":"TITLE_INVALID"},"account.registerDevice":{"TOKEN_EMPTY":"TOKEN_EMPTY","TOKEN_INVALID":"TOKEN_INVALID","TOKEN_TYPE_INVALID":"TOKEN_TYPE_INVALID","WEBPUSH_AUTH_INVALID":"WEBPUSH_AUTH_INVALID","WEBPUSH_KEY_INVALID":"WEBPUSH_KEY_INVALID","WEBPUSH_TOKEN_INVALID":"WEBPUSH_TOKEN_INVALID"},"account.unregisterDevice":{"TOKEN_INVALID":"TOKEN_INVALID"},"channels.updatePinnedForumTopic":{"TOPIC_ID_INVALID":"TOPIC_ID_INVALID"},"account.setAccountTTL":{"TTL_DAYS_INVALID":"TTL_DAYS_INVALID"},"account.setAuthorizationTTL":{"TTL_DAYS_INVALID":"TTL_DAYS_INVALID"},"messages.setDefaultHistoryTTL":{"TTL_PERIOD_INVALID":"TTL_PERIOD_INVALID"},"contacts.getTopPeers":{"TYPES_EMPTY":"TYPES_EMPTY"},"bots.getBotCommands":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"bots.setBotInfo":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"bots.getBotMenuButton":{"USER_BOT_REQUIRED":"USER_BOT_REQUIRED"},"payments.refundStarsCharge":{"USER_BOT_REQUIRED":"USER_BOT_REQUIRED","USER_ID_INVALID":"USER_ID_INVALID"},"users.setSecureValueErrors":{"USER_BOT_REQUIRED":"USER_BOT_REQUIRED","USER_ID_INVALID":"USER_ID_INVALID"},"stories.getUserStories":{"USER_ID_INVALID":"USER_ID_INVALID"},"help.getSupportName":{"USER_INVALID":"USER_INVALID"},"help.getUserInfo":{"USER_INVALID":"USER_INVALID"},"account.checkUsername":{"USERNAME_INVALID":"USERNAME_INVALID","USERNAME_OCCUPIED":"USERNAME_OCCUPIED","USERNAME_PURCHASE_AVAILABLE":"USERNAME_PURCHASE_AVAILABLE"},"account.toggleUsername":{"USERNAME_INVALID":"USERNAME_INVALID","USERNAMES_ACTIVE_TOO_MUCH":"USERNAMES_ACTIVE_TOO_MUCH"},"account.updateUsername":{"USERNAME_INVALID":"USERNAME_INVALID","USERNAME_NOT_MODIFIED":"USERNAME_NOT_MODIFIED","USERNAME_OCCUPIED":"USERNAME_OCCUPIED","USERNAME_PURCHASE_AVAILABLE":"USERNAME_PURCHASE_AVAILABLE"},"account.uploadWallPaper":{"WALLPAPER_FILE_INVALID":"WALLPAPER_FILE_INVALID","WALLPAPER_MIME_INVALID":"WALLPAPER_MIME_INVALID"},"account.getMultiWallPapers":{"WALLPAPER_INVALID":"WALLPAPER_INVALID"},"account.getWallPaper":{"WALLPAPER_INVALID":"WALLPAPER_INVALID"},"account.installWallPaper":{"WALLPAPER_INVALID":"WALLPAPER_INVALID"},"account.saveWallPaper":{"WALLPAPER_INVALID":"WALLPAPER_INVALID"},"messages.getWebPage":{"WC_CONVERT_URL_INVALID":"WC_CONVERT_URL_INVALID"}},"403":{"messages.sendReaction":{"ANONYMOUS_REACTIONS_DISABLED":"ANONYMOUS_REACTIONS_DISABLED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED"},"messages.getMessageReactionsList":{"BROADCAST_FORBIDDEN":"BROADCAST_FORBIDDEN"},"messages.getPollVotes":{"BROADCAST_FORBIDDEN":"BROADCAST_FORBIDDEN","POLL_VOTE_REQUIRED":"POLL_VOTE_REQUIRED"},"channels.getFullChannel":{"CHANNEL_PUBLIC_GROUP_NA":"CHANNEL_PUBLIC_GROUP_NA"},"channels.leaveChannel":{"CHANNEL_PUBLIC_GROUP_NA":"CHANNEL_PUBLIC_GROUP_NA"},"updates.getChannelDifference":{"CHANNEL_PUBLIC_GROUP_NA":"CHANNEL_PUBLIC_GROUP_NA","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.editAdmin":{"CHAT_ADMIN_INVITE_REQUIRED":"CHAT_ADMIN_INVITE_REQUIRED","CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","RIGHT_FORBIDDEN":"RIGHT_FORBIDDEN","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USER_PRIVACY_RESTRICTED":"USER_PRIVACY_RESTRICTED","USER_RESTRICTED":"USER_RESTRICTED"},"channels.deleteUserHistory":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.editBanned":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.editForumTopic":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"channels.editPhoto":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.editTitle":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.getAdminLog":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.getParticipant":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"channels.getParticipants":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"channels.inviteToChannel":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USER_PRIVACY_RESTRICTED":"USER_PRIVACY_RESTRICTED"},"channels.updateUsername":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.addChatUser":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","USER_NOT_MUTUAL_CONTACT":"USER_NOT_MUTUAL_CONTACT","USER_PRIVACY_RESTRICTED":"USER_PRIVACY_RESTRICTED"},"messages.editMessage":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_SEND_GIFS_FORBIDDEN":"CHAT_SEND_GIFS_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","INLINE_BOT_REQUIRED":"INLINE_BOT_REQUIRED","MESSAGE_AUTHOR_REQUIRED":"MESSAGE_AUTHOR_REQUIRED"},"messages.forwardMessages":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_GUEST_SEND_FORBIDDEN":"CHAT_GUEST_SEND_FORBIDDEN","CHAT_SEND_AUDIOS_FORBIDDEN":"CHAT_SEND_AUDIOS_FORBIDDEN","CHAT_SEND_DOCS_FORBIDDEN":"CHAT_SEND_DOCS_FORBIDDEN","CHAT_SEND_GAME_FORBIDDEN":"CHAT_SEND_GAME_FORBIDDEN","CHAT_SEND_GIFS_FORBIDDEN":"CHAT_SEND_GIFS_FORBIDDEN","CHAT_SEND_MEDIA_FORBIDDEN":"CHAT_SEND_MEDIA_FORBIDDEN","CHAT_SEND_PHOTOS_FORBIDDEN":"CHAT_SEND_PHOTOS_FORBIDDEN","CHAT_SEND_PLAIN_FORBIDDEN":"CHAT_SEND_PLAIN_FORBIDDEN","CHAT_SEND_POLL_FORBIDDEN":"CHAT_SEND_POLL_FORBIDDEN","CHAT_SEND_STICKERS_FORBIDDEN":"CHAT_SEND_STICKERS_FORBIDDEN","CHAT_SEND_VIDEOS_FORBIDDEN":"CHAT_SEND_VIDEOS_FORBIDDEN","CHAT_SEND_VOICES_FORBIDDEN":"CHAT_SEND_VOICES_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED","USER_IS_BLOCKED":"USER_IS_BLOCKED","VOICE_MESSAGES_FORBIDDEN":"VOICE_MESSAGES_FORBIDDEN"},"messages.migrateChat":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"messages.search":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"messages.sendMedia":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_GUEST_SEND_FORBIDDEN":"CHAT_GUEST_SEND_FORBIDDEN","CHAT_SEND_AUDIOS_FORBIDDEN":"CHAT_SEND_AUDIOS_FORBIDDEN","CHAT_SEND_DOCS_FORBIDDEN":"CHAT_SEND_DOCS_FORBIDDEN","CHAT_SEND_GIFS_FORBIDDEN":"CHAT_SEND_GIFS_FORBIDDEN","CHAT_SEND_MEDIA_FORBIDDEN":"CHAT_SEND_MEDIA_FORBIDDEN","CHAT_SEND_PHOTOS_FORBIDDEN":"CHAT_SEND_PHOTOS_FORBIDDEN","CHAT_SEND_PLAIN_FORBIDDEN":"CHAT_SEND_PLAIN_FORBIDDEN","CHAT_SEND_POLL_FORBIDDEN":"CHAT_SEND_POLL_FORBIDDEN","CHAT_SEND_ROUNDVIDEOS_FORBIDDEN":"CHAT_SEND_ROUNDVIDEOS_FORBIDDEN","CHAT_SEND_STICKERS_FORBIDDEN":"CHAT_SEND_STICKERS_FORBIDDEN","CHAT_SEND_VIDEOS_FORBIDDEN":"CHAT_SEND_VIDEOS_FORBIDDEN","CHAT_SEND_VOICES_FORBIDDEN":"CHAT_SEND_VOICES_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED","PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"messages.sendMessage":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED","CHAT_GUEST_SEND_FORBIDDEN":"CHAT_GUEST_SEND_FORBIDDEN","CHAT_SEND_PLAIN_FORBIDDEN":"CHAT_SEND_PLAIN_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"stats.getBroadcastStats":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"stats.getMegagroupStats":{"CHAT_ADMIN_REQUIRED":"CHAT_ADMIN_REQUIRED"},"messages.sendInlineBotResult":{"CHAT_GUEST_SEND_FORBIDDEN":"CHAT_GUEST_SEND_FORBIDDEN","CHAT_SEND_AUDIOS_FORBIDDEN":"CHAT_SEND_AUDIOS_FORBIDDEN","CHAT_SEND_GAME_FORBIDDEN":"CHAT_SEND_GAME_FORBIDDEN","CHAT_SEND_GIFS_FORBIDDEN":"CHAT_SEND_GIFS_FORBIDDEN","CHAT_SEND_INLINE_FORBIDDEN":"CHAT_SEND_INLINE_FORBIDDEN","CHAT_SEND_MEDIA_FORBIDDEN":"CHAT_SEND_MEDIA_FORBIDDEN","CHAT_SEND_PHOTOS_FORBIDDEN":"CHAT_SEND_PHOTOS_FORBIDDEN","CHAT_SEND_PLAIN_FORBIDDEN":"CHAT_SEND_PLAIN_FORBIDDEN","CHAT_SEND_STICKERS_FORBIDDEN":"CHAT_SEND_STICKERS_FORBIDDEN","CHAT_SEND_VOICES_FORBIDDEN":"CHAT_SEND_VOICES_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.sendMultiMedia":{"CHAT_SEND_MEDIA_FORBIDDEN":"CHAT_SEND_MEDIA_FORBIDDEN","CHAT_SEND_PHOTOS_FORBIDDEN":"CHAT_SEND_PHOTOS_FORBIDDEN","CHAT_SEND_VIDEOS_FORBIDDEN":"CHAT_SEND_VIDEOS_FORBIDDEN","CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.convertToGigagroup":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.createForumTopic":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED"},"channels.deleteChannel":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.deleteParticipantHistory":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.editCreator":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"channels.setDiscussionGroup":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"invokeWithLayer":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.editChatAbout":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.editChatDefaultBannedRights":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.editExportedChatInvite":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","EDIT_BOT_INVITE_FORBIDDEN":"EDIT_BOT_INVITE_FORBIDDEN"},"messages.exportChatInvite":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getAdminsWithInvites":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getChatInviteImporters":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getDialogs":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getExportedChatInvite":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getExportedChatInvites":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.getMessageEditData":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","MESSAGE_AUTHOR_REQUIRED":"MESSAGE_AUTHOR_REQUIRED"},"messages.hideAllChatJoinRequests":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.hideChatJoinRequest":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","USER_CHANNELS_TOO_MUCH":"USER_CHANNELS_TOO_MUCH"},"messages.setTyping":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN","GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"messages.startBot":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.updatePinnedMessage":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"messages.uploadMedia":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"updates.getDifference":{"CHAT_WRITE_FORBIDDEN":"CHAT_WRITE_FORBIDDEN"},"phone.toggleGroupCallStartSubscription":{"GROUPCALL_ALREADY_STARTED":"GROUPCALL_ALREADY_STARTED"},"phone.discardGroupCall":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.editGroupCallParticipant":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.editGroupCallTitle":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.getGroupCall":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.inviteToGroupCall":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.joinGroupCall":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"phone.toggleGroupCallRecord":{"GROUPCALL_FORBIDDEN":"GROUPCALL_FORBIDDEN"},"channels.deleteMessages":{"MESSAGE_DELETE_FORBIDDEN":"MESSAGE_DELETE_FORBIDDEN"},"messages.deleteMessages":{"MESSAGE_DELETE_FORBIDDEN":"MESSAGE_DELETE_FORBIDDEN"},"messages.deleteScheduledMessages":{"MESSAGE_DELETE_FORBIDDEN":"MESSAGE_DELETE_FORBIDDEN"},"smsjobs.isEligibleToJoin":{"NOT_ELIGIBLE":"NOT_ELIGIBLE"},"phone.joinGroupCallPresentation":{"PARTICIPANT_JOIN_MISSING":"PARTICIPANT_JOIN_MISSING"},"account.setGlobalPrivacySettings":{"PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED"},"messages.transcribeAudio":{"PREMIUM_ACCOUNT_REQUIRED":"PREMIUM_ACCOUNT_REQUIRED"},"messages.requestWebView":{"PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED"},"phone.exportGroupCallInvite":{"PUBLIC_CHANNEL_MISSING":"PUBLIC_CHANNEL_MISSING"},"account.setContentSettings":{"SENSITIVE_CHANGE_FORBIDDEN":"SENSITIVE_CHANGE_FORBIDDEN"},"account.finishTakeoutSession":{"TAKEOUT_REQUIRED":"TAKEOUT_REQUIRED"},"channels.getLeftChannels":{"TAKEOUT_REQUIRED":"TAKEOUT_REQUIRED"},"contacts.getSaved":{"TAKEOUT_REQUIRED":"TAKEOUT_REQUIRED"},"bots.answerWebhookJSONQuery":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"bots.sendCustomRequest":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"messages.setInlineBotResults":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"users.setSecureValueErrors":{"USER_BOT_INVALID":"USER_BOT_INVALID"},"messages.sendEncryptedService":{"USER_DELETED":"USER_DELETED","USER_IS_BLOCKED":"USER_IS_BLOCKED"},"help.editUserInfo":{"USER_INVALID":"USER_INVALID"},"help.getSupportName":{"USER_INVALID":"USER_INVALID"},"help.getUserInfo":{"USER_INVALID":"USER_INVALID"},"messages.sendEncrypted":{"USER_IS_BLOCKED":"USER_IS_BLOCKED"},"phone.requestCall":{"USER_IS_BLOCKED":"USER_IS_BLOCKED","USER_PRIVACY_RESTRICTED":"USER_PRIVACY_RESTRICTED"},"help.getConfig":{"USER_PRIVACY_RESTRICTED":"USER_PRIVACY_RESTRICTED"},"messages.getOutboxReadDate":{"USER_PRIVACY_RESTRICTED":"USER_PRIVACY_RESTRICTED","YOUR_PRIVACY_RESTRICTED":"YOUR_PRIVACY_RESTRICTED"},"channels.createChannel":{"USER_RESTRICTED":"USER_RESTRICTED"},"messages.createChat":{"USER_RESTRICTED":"USER_RESTRICTED"}},"500":{"auth.sendCode":{"AUTH_RESTART":"AUTH_RESTART"},"auth.signIn":{"AUTH_RESTART":"AUTH_RESTART","SIGN_IN_FAILED":"SIGN_IN_FAILED"},"phone.acceptCall":{"CALL_OCCUPY_FAILED":"CALL_OCCUPY_FAILED"},"phone.discardCall":{"CALL_OCCUPY_FAILED":"CALL_OCCUPY_FAILED"},"upload.getCdnFileHashes":{"CDN_SALTS_EMPTY":"CDN_SALTS_EMPTY"},"upload.reuploadCdnFile":{"CDN_UPLOAD_TIMEOUT":"CDN_UPLOAD_TIMEOUT"},"messages.createChat":{"CHAT_ID_GENERATE_FAILED":"CHAT_ID_GENERATE_FAILED"},"channels.createChannel":{"CHAT_INVALID":"CHAT_INVALID"},"messages.migrateChat":{"CHAT_INVALID":"CHAT_INVALID"},"messages.editMessage":{"MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.receivedQueue":{"MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.sendEncrypted":{"MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.sendEncryptedService":{"MSG_WAIT_FAILED":"MSG_WAIT_FAILED"},"messages.sendMessage":{"MSG_WAIT_FAILED":"MSG_WAIT_FAILED","RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"updates.getChannelDifference":{"PERSISTENT_TIMESTAMP_OUTDATED":"PERSISTENT_TIMESTAMP_OUTDATED"},"messages.forwardMessages":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"messages.sendInlineBotResult":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE","SEND_MEDIA_INVALID":"SEND_MEDIA_INVALID"},"messages.sendMedia":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"messages.sendMultiMedia":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"messages.sendScheduledMessages":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"messages.startBot":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"},"updates.getDifference":{"RANDOM_ID_DUPLICATE":"RANDOM_ID_DUPLICATE"}},"406":{"channels.editBanned":{"BANNED_RIGHTS_INVALID":"BANNED_RIGHTS_INVALID","CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"phone.acceptCall":{"CALL_PROTOCOL_COMPAT_LAYER_INVALID":"CALL_PROTOCOL_COMPAT_LAYER_INVALID"},"channels.deleteChannel":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHANNEL_TOO_LARGE":"CHANNEL_TOO_LARGE"},"channels.deleteMessages":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getAdminLog":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getChannels":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getFullChannel":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getMessages":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getParticipant":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.getParticipants":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.inviteToChannel":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.joinChannel":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"channels.leaveChannel":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.readHistory":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"channels.readMessageContents":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.checkChatInvite":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"messages.editMessage":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.forwardMessages":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","CHAT_FORWARDS_RESTRICTED":"CHAT_FORWARDS_RESTRICTED","PAYMENT_UNSUPPORTED":"PAYMENT_UNSUPPORTED","PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED"},"messages.getHistory":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.getInlineBotResults":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.getMessagesViews":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.getPeerDialogs":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"messages.sendMedia":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED"},"messages.sendMessage":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE","PAYMENT_UNSUPPORTED":"PAYMENT_UNSUPPORTED","PRIVACY_PREMIUM_REQUIRED":"PRIVACY_PREMIUM_REQUIRED","TOPIC_CLOSED":"TOPIC_CLOSED","TOPIC_DELETED":"TOPIC_DELETED"},"messages.setTyping":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"updates.getChannelDifference":{"CHANNEL_PRIVATE":"CHANNEL_PRIVATE"},"upload.getFile":{"FILEREF_UPGRADE_NEEDED":"FILEREF_UPGRADE_NEEDED"},"channels.editAdmin":{"FRESH_CHANGE_ADMINS_FORBIDDEN":"FRESH_CHANGE_ADMINS_FORBIDDEN"},"account.sendChangePhoneCode":{"FRESH_CHANGE_PHONE_FORBIDDEN":"FRESH_CHANGE_PHONE_FORBIDDEN","PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"account.resetAuthorization":{"FRESH_RESET_AUTHORISATION_FORBIDDEN":"FRESH_RESET_AUTHORISATION_FORBIDDEN"},"account.setAuthorizationTTL":{"FRESH_RESET_AUTHORISATION_FORBIDDEN":"FRESH_RESET_AUTHORISATION_FORBIDDEN"},"auth.resetAuthorizations":{"FRESH_RESET_AUTHORISATION_FORBIDDEN":"FRESH_RESET_AUTHORISATION_FORBIDDEN"},"invokeWithLayer":{"INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"messages.importChatInvite":{"INVITE_HASH_EXPIRED":"INVITE_HASH_EXPIRED"},"account.changePhone":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.cancelCode":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.checkPhone":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"auth.resendCode":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","SEND_CODE_UNAVAILABLE":"SEND_CODE_UNAVAILABLE"},"auth.sendCode":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","PHONE_PASSWORD_FLOOD":"PHONE_PASSWORD_FLOOD","UPDATE_APP_TO_LOGIN":"UPDATE_APP_TO_LOGIN"},"auth.signIn":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID","UPDATE_APP_TO_LOGIN":"UPDATE_APP_TO_LOGIN"},"auth.signUp":{"PHONE_NUMBER_INVALID":"PHONE_NUMBER_INVALID"},"messages.initHistoryImport":{"PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_%dMIN":"PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_%dMIN"},"messages.getStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"messages.installStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"messages.uninstallStickerSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"stickers.addStickerToSet":{"STICKERSET_INVALID":"STICKERSET_INVALID"},"channels.setStickers":{"STICKERSET_OWNER_ANONYMOUS":"STICKERSET_OWNER_ANONYMOUS"},"channels.createChannel":{"USER_RESTRICTED":"USER_RESTRICTED"},"messages.createChat":{"USER_RESTRICTED":"USER_RESTRICTED"},"contacts.getLocated":{"USERPIC_PRIVACY_REQUIRED":"USERPIC_PRIVACY_REQUIRED","USERPIC_UPLOAD_REQUIRED":"USERPIC_UPLOAD_REQUIRED"}},"-503":{"messages.getBotCallbackAnswer":{"Timeout":"Timeout"},"messages.getInlineBotResults":{"Timeout":"Timeout"}}},"human_result":{"2FA_CONFIRM_WAIT_%d":"Since this account is active and protected by a 2FA password, we will delete it in 1 week for security purposes. You can cancel this process at any time, you'll be able to reset your account in %d seconds.","ABOUT_TOO_LONG":"About string too long","ACCESS_TOKEN_EXPIRED":"Access token expired","ACCESS_TOKEN_INVALID":"Access token invalid","ACTIVE_USER_REQUIRED":"","ADDRESS_INVALID":"The specified geopoint address is invalid","ADMIN_ID_INVALID":"The specified admin ID is invalid","ADMIN_RANK_EMOJI_NOT_ALLOWED":"An admin rank cannot contain emojis","ADMIN_RANK_INVALID":"The specified admin rank is invalid.","ADMIN_RIGHTS_EMPTY":"The chatAdminRights constructor passed in keyboardButtonRequestPeer.peer_type.user_admin_rights has no rights set (i.e. flags is 0).","ADMINS_TOO_MUCH":"There are too many admins","ALBUM_PHOTOS_TOO_MANY":"You have uploaded too many profile photos, delete some before retrying.","ANONYMOUS_REACTIONS_DISABLED":"Sorry, anonymous administrators cannot leave reactions or participate in polls.","API_ID_INVALID":"API ID invalid","API_ID_PUBLISHED_FLOOD":"This API id was published somewhere, you can't use it now","ARTICLE_TITLE_EMPTY":"The title of the article is empty","AUDIO_CONTENT_URL_EMPTY":"The remote URL specified in the content field is empty","AUDIO_TITLE_EMPTY":"An empty audio title was provided.","AUTH_BYTES_INVALID":"The provided authorization is invalid","AUTH_KEY_DUPLICATED":"Concurrent usage of the current session from multiple connections was detected, the current session was invalidated by the server for security reasons!","AUTH_KEY_INVALID":"The specified auth key is invalid","AUTH_KEY_PERM_EMPTY":"The method is unavailable for temporary authorization keys, not bound to a permanent authorization key","AUTH_KEY_UNREGISTERED":"The specified authorization key is not registered in the system (for example, a PFS temporary key has expired)","AUTH_RESTART":"Restart the authorization process","AUTH_TOKEN_ALREADY_ACCEPTED":"The specified auth token was already accepted","AUTH_TOKEN_EXCEPTION":"An error occurred while importing the auth token","AUTH_TOKEN_EXPIRED":"The authorization token has expired","AUTH_TOKEN_INVALID":"The specified auth token is invalid","AUTH_TOKEN_INVALIDX":"The specified auth token is invalid","AUTOARCHIVE_NOT_AVAILABLE":"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.","BANK_CARD_NUMBER_INVALID":"The specified card number is invalid","BANNED_RIGHTS_INVALID":"You provided some invalid flags in the banned rights","BOOST_NOT_MODIFIED":"You're already [boosting](https:\/\/core.telegram.org\/api\/boost) the specified channel.","BOOST_PEER_INVALID":"The specified `boost_peer` is invalid","BOOSTS_EMPTY":"No boost slots were specified","BOOSTS_REQUIRED":"The specified channel must first be [boosted by its users](https:\/\/core.telegram.org\/api\/boost) in order to perform this action.","BOT_APP_BOT_INVALID":"The bot_id passed in the inputBotAppShortName constructor is invalid.","BOT_APP_INVALID":"The specified bot app is invalid","BOT_APP_SHORTNAME_INVALID":"The specified bot app short name is invalid","BOT_CHANNELS_NA":"Bots can't edit admin privileges","BOT_COMMAND_DESCRIPTION_INVALID":"The specified command description is invalid","BOT_COMMAND_INVALID":"The specified command is invalid","BOT_DOMAIN_INVALID":"Bot domain invalid","BOT_GAMES_DISABLED":"","BOT_GROUPS_BLOCKED":"This bot can't be added to groups","BOT_INLINE_DISABLED":"This bot can't be used in inline mode","BOT_INVALID":"This is not a valid bot","BOT_METHOD_INVALID":"The specified method cannot be used by bots.","BOT_MISSING":"Only bots can call this method, please use [@stickers](https:\/\/t.me\/stickers) if you're a user","BOT_ONESIDE_NOT_AVAIL":"Bots can't pin messages in PM just for themselves","BOT_PAYMENTS_DISABLED":"Please enable bot payments in botfather before calling this method.","BOT_POLLS_DISABLED":"","BOT_RESPONSE_TIMEOUT":"A timeout occurred while fetching data from the bot","BOT_SCORE_NOT_MODIFIED":"The score wasn't modified","BOT_WEBVIEW_DISABLED":"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.","BOTS_TOO_MUCH":"There are too many bots in this chat\/channel","BROADCAST_FORBIDDEN":"Channel poll voters and reactions cannot be fetched to prevent deanonymization.","BROADCAST_ID_INVALID":"Broadcast ID invalid","BROADCAST_PUBLIC_VOTERS_FORBIDDEN":"You can't forward polls with public voters","BROADCAST_REQUIRED":"This method can only be called on a channel, please use stats.getMegagroupStats for supergroups","BUTTON_DATA_INVALID":"The data of one or more of the buttons you provided is invalid","BUTTON_TEXT_INVALID":"The specified button text is invalid","BUTTON_TYPE_INVALID":"The type of one or more of the buttons you provided is invalid","BUTTON_URL_INVALID":"Button URL invalid","BUTTON_USER_INVALID":"The `user_id` passed to inputKeyboardButtonUserProfile is invalid!","BUTTON_USER_PRIVACY_RESTRICTED":"The privacy setting of the user specified in a [inputKeyboardButtonUserProfile](\/constructor\/inputKeyboardButtonUserProfile) button do not allow creating such a button","CALL_ALREADY_ACCEPTED":"The call was already accepted","CALL_ALREADY_DECLINED":"The call was already declined","CALL_OCCUPY_FAILED":"The call failed because the user is already making another call","CALL_PEER_INVALID":"The provided call peer object is invalid","CALL_PROTOCOL_COMPAT_LAYER_INVALID":"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.","CALL_PROTOCOL_FLAGS_INVALID":"Call protocol flags invalid","CDN_METHOD_INVALID":"You can't call this method in a CDN DC","CDN_SALTS_EMPTY":"","CDN_UPLOAD_TIMEOUT":"A server-side timeout occurred while reuploading the file to the CDN DC","CHANNEL_FORUM_MISSING":"This supergroup is not a forum","CHANNEL_ID_INVALID":"The specified supergroup ID is invalid","CHANNEL_INVALID":"The provided channel is invalid","CHANNEL_PARICIPANT_MISSING":"The current user is not in the channel","CHANNEL_PRIVATE":"You haven't joined this channel\/supergroup","CHANNEL_PUBLIC_GROUP_NA":"channel\/supergroup not available","CHANNEL_TOO_BIG":"This channel has too many participants (>1000) to be deleted.","CHANNEL_TOO_LARGE":"Channel is too large to be deleted; this error is issued when trying to delete channels with more than 1000 members (subject to change)","CHANNELS_ADMIN_LOCATED_TOO_MUCH":"The user has reached the limit of public geogroups","CHANNELS_ADMIN_PUBLIC_TOO_MUCH":"You're admin of too many public channels, make some channels private to change the username of this channel","CHANNELS_TOO_MUCH":"You have joined too many channels\/supergroups","CHAT_ABOUT_NOT_MODIFIED":"About text has not changed","CHAT_ABOUT_TOO_LONG":"Chat about too long","CHAT_ADMIN_INVITE_REQUIRED":"You do not have the rights to do this","CHAT_ADMIN_REQUIRED":"You must be an admin in this chat to do this","CHAT_DISCUSSION_UNALLOWED":"You can't enable forum topics in a discussion group linked to a channel","CHAT_FORBIDDEN":"This chat is not available to the current user","CHAT_FORWARDS_RESTRICTED":"You can't forward messages from a protected chat","CHAT_GUEST_SEND_FORBIDDEN":"You join the discussion group before commenting, see [here »](\/api\/discussion#requiring-users-to-join-the-group) for more info.","CHAT_ID_EMPTY":"The provided chat ID is empty","CHAT_ID_GENERATE_FAILED":"Failure while generating the chat ID","CHAT_ID_INVALID":"The provided chat id is invalid","CHAT_INVALID":"Invalid chat","CHAT_INVITE_PERMANENT":"You can't set an expiration date on permanent invite links","CHAT_LINK_EXISTS":"The chat is public, you can't hide the history to new users","CHAT_NOT_MODIFIED":"No changes were made to chat information because the new information you passed is identical to the current information.","CHAT_PUBLIC_REQUIRED":"You can only enable join requests in public groups","CHAT_RESTRICTED":"You can't send messages in this chat, you were restricted","CHAT_REVOKE_DATE_UNSUPPORTED":"`min_date` and `max_date` are not available for using with non-user peers.","CHAT_SEND_AUDIOS_FORBIDDEN":"You can't send audio messages in this chat","CHAT_SEND_DOCS_FORBIDDEN":"You can't send documents in this chat","CHAT_SEND_GAME_FORBIDDEN":"You can't send a game to this chat.","CHAT_SEND_GIFS_FORBIDDEN":"You can't send gifs in this chat","CHAT_SEND_INLINE_FORBIDDEN":"You can't send inline messages in this group","CHAT_SEND_MEDIA_FORBIDDEN":"You can't send media in this chat","CHAT_SEND_PHOTOS_FORBIDDEN":"You can't send photos in this chat","CHAT_SEND_PLAIN_FORBIDDEN":"You can't send non-media (text) messages in this chat","CHAT_SEND_POLL_FORBIDDEN":"You can't send polls in this chat","CHAT_SEND_ROUNDVIDEOS_FORBIDDEN":"You can't send round videos to this chat","CHAT_SEND_STICKERS_FORBIDDEN":"You can't send stickers in this chat.","CHAT_SEND_VIDEOS_FORBIDDEN":"You can't send videos in this chat","CHAT_SEND_VOICES_FORBIDDEN":"You can't send voice recordings in this chat","CHAT_TITLE_EMPTY":"No chat title provided","CHAT_TOO_BIG":"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).","CHAT_WRITE_FORBIDDEN":"You can't write in this chat","CHATLINK_SLUG_EMPTY":"The specified slug is empty","CHATLIST_EXCLUDE_INVALID":"The specified `exclude_peers` are invalid","CODE_EMPTY":"The provided code is empty","CODE_HASH_INVALID":"Code hash invalid","CODE_INVALID":"Code invalid","COLLECTIBLE_INVALID":"The specified collectible is invalid","COLLECTIBLE_NOT_FOUND":"The specified collectible could not be found","COLOR_INVALID":"The specified color palette ID was invalid.","CONNECTION_API_ID_INVALID":"The provided API id is invalid","CONNECTION_APP_VERSION_EMPTY":"App version is empty","CONNECTION_DEVICE_MODEL_EMPTY":"The specified device model is empty","CONNECTION_ID_INVALID":"The specified connection ID is invalid","CONNECTION_LANG_PACK_INVALID":"The specified language pack is empty","CONNECTION_LAYER_INVALID":"Layer invalid","CONNECTION_NOT_INITED":"Please initialize the connection using initConnection before making queries.","CONNECTION_SYSTEM_EMPTY":"The specified system version is empty","CONNECTION_SYSTEM_LANG_CODE_EMPTY":"The specified system language code is empty","CONTACT_ADD_MISSING":"Contact to add is missing","CONTACT_ID_INVALID":"The provided contact ID is invalid","CONTACT_MISSING":"The specified user is not a contact","CONTACT_NAME_EMPTY":"Contact name empty","CONTACT_REQ_MISSING":"Missing contact request","CREATE_CALL_FAILED":"An error occurred while creating the call.","CURRENCY_TOTAL_AMOUNT_INVALID":"The total amount of all prices is invalid","CUSTOM_REACTIONS_TOO_MANY":"Too many custom reactions were specified.","DATA_INVALID":"Encrypted data invalid","DATA_JSON_INVALID":"The provided JSON data is invalid","DATA_TOO_LONG":"Data too long","DATE_EMPTY":"Date empty","DC_ID_INVALID":"The provided DC ID is invalid","DH_G_A_INVALID":"g_a invalid","DOCUMENT_INVALID":"The specified document is invalid","EDIT_BOT_INVITE_FORBIDDEN":"Normal users can't edit invites that were created by bots","EMAIL_HASH_EXPIRED":"Email hash expired","EMAIL_INVALID":"The specified email is invalid","EMAIL_NOT_SETUP":"In order to change the login email with emailVerifyPurposeLoginChange, an existing login email must already be set using emailVerifyPurposeLoginSetup","EMAIL_UNCONFIRMED":"Email unconfirmed","EMAIL_UNCONFIRMED_%d":"The provided email isn't confirmed, %d is the length of the verification code that was just sent to the email: use [account.verifyEmail](https:\/\/core.telegram.org\/method\/account.verifyEmail) to enter the received verification code and enable the recovery email.","EMAIL_VERIFY_EXPIRED":"The verification email has expired","EMOJI_INVALID":"The specified theme emoji is valid","EMOJI_MARKUP_INVALID":"The specified `video_emoji_markup` was invalid","EMOJI_NOT_MODIFIED":"The theme wasn't changed","EMOTICON_EMPTY":"The emoji is empty","EMOTICON_INVALID":"The specified emoji is invalid","EMOTICON_STICKERPACK_MISSING":"inputStickerSetDice.emoji cannot be empty","ENCRYPTED_MESSAGE_INVALID":"Encrypted message invalid","ENCRYPTION_ALREADY_ACCEPTED":"Secret chat already accepted","ENCRYPTION_ALREADY_DECLINED":"The secret chat was already declined","ENCRYPTION_DECLINED":"The secret chat was declined","ENCRYPTION_ID_INVALID":"The provided secret chat ID is invalid","ENTITIES_TOO_LONG":"You provided too many styled message entities","ENTITY_BOUNDS_INVALID":"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","ENTITY_MENTION_USER_INVALID":"You mentioned an invalid user","ERROR_TEXT_EMPTY":"The provided error message is empty","EXPIRE_DATE_INVALID":"The specified expiration date is invalid","EXPORT_CARD_INVALID":"Provided card is invalid","EXTERNAL_URL_INVALID":"External URL invalid","FILE_CONTENT_TYPE_INVALID":"File content-type is invalid","FILE_EMTPY":"An empty file was provided","FILE_ID_INVALID":"The provided file id is invalid","FILE_MIGRATE_%d":"The file currently being accessed is stored in DC %d, please re-send the query to that DC.","FILE_PART_%d_MISSING":"Part %d of the file is missing from storage. Try repeating the method call to resave the part.","FILE_PART_EMPTY":"The provided file part is empty","FILE_PART_INVALID":"The file part number is invalid","FILE_PART_LENGTH_INVALID":"The length of a file part is invalid","FILE_PART_SIZE_CHANGED":"Provided file part size has changed","FILE_PART_SIZE_INVALID":"The provided file part size is invalid","FILE_PART_TOO_BIG":"The uploaded file part is too big","FILE_PARTS_INVALID":"The number of file parts is invalid","FILE_REFERENCE_*":"The file reference expired, it [must be refreshed](https:\/\/core.telegram.org\/api\/file_reference).","FILE_REFERENCE_EMPTY":"An empty [file reference](https:\/\/core.telegram.org\/api\/file_reference) was specified","FILE_REFERENCE_EXPIRED":"File reference expired, it must be refetched as described in [the documentation](https:\/\/core.telegram.org\/api\/file_reference).","FILE_REFERENCE_INVALID":"The specified [file reference](https:\/\/core.telegram.org\/api\/file_reference) is invalid","FILE_TITLE_EMPTY":"An empty file title was specified","FILE_TOKEN_INVALID":"The master DC did not accept the `file_token` (e.g., the token has expired). Continue downloading the file from the master DC using upload.getFile.","FILEREF_UPGRADE_NEEDED":"The client has to be updated in order to support [file references](https:\/\/core.telegram.org\/api\/file_reference)","FILTER_ID_INVALID":"The specified filter ID is invalid","FILTER_INCLUDE_EMPTY":"The include_peers vector of the filter is empty","FILTER_NOT_SUPPORTED":"The specified filter cannot be used in this context","FILTER_TITLE_EMPTY":"The title field of the filter is empty","FIRSTNAME_INVALID":"The first name is invalid","FLOOD_PREMIUM_WAIT_%d":"Please wait %d seconds before repeating the action, or purchase a [Telegram Premium subscription](https:\/\/core.telegram.org\/api\/premium) to remove this rate limit.","FLOOD_TEST_PHONE_WAIT_%d":"","FLOOD_WAIT_%d":"Please wait %d seconds before repeating the action.","FOLDER_ID_EMPTY":"An empty folder ID was specified","FOLDER_ID_INVALID":"Invalid folder ID","FORUM_ENABLED":"You can't execute the specified action because the group is a [forum](https:\/\/core.telegram.org\/api\/forum), disable forum functionality to continue.","FRESH_CHANGE_ADMINS_FORBIDDEN":"You were just elected admin, you can't add or modify other admins yet","FRESH_CHANGE_PHONE_FORBIDDEN":"You can't change phone number right after logging in, please wait at least 24 hours.","FRESH_RESET_AUTHORISATION_FORBIDDEN":"You can't logout other sessions if less than 24 hours have passed since you logged on the current session","FROM_MESSAGE_BOT_DISABLED":"Bots can't use fromMessage min constructors","FROM_PEER_INVALID":"The specified from_id is invalid","GAME_BOT_INVALID":"Bots can't send another bot's game.","GENERAL_MODIFY_ICON_FORBIDDEN":"You can't modify the icon of the \"General\" topic","GEO_POINT_INVALID":"Invalid geoposition provided","GIF_CONTENT_TYPE_INVALID":"GIF content-type invalid","GIF_ID_INVALID":"The provided GIF ID is invalid","GIFT_SLUG_EXPIRED":"The specified gift slug has expired","GIFT_SLUG_INVALID":"The specified slug is invalid.","GRAPH_EXPIRED_RELOAD":"This graph has expired, please obtain a new graph token","GRAPH_INVALID_RELOAD":"Invalid graph token provided, please reload the stats and provide the updated token","GRAPH_OUTDATED_RELOAD":"The graph is outdated, please get a new async token using stats.getBroadcastStats","GROUP_CALL_INVALID":"","GROUPCALL_ALREADY_DISCARDED":"The group call was already discarded","GROUPCALL_ALREADY_STARTED":"The groupcall has already started, you can join directly using [phone.joinGroupCall](https:\/\/core.telegram.org\/method\/phone.joinGroupCall)","GROUPCALL_FORBIDDEN":"The group call has already ended","GROUPCALL_INVALID":"The specified group call is invalid","GROUPCALL_JOIN_MISSING":"You haven't joined this group call.","GROUPCALL_NOT_MODIFIED":"Group call settings weren't modified","GROUPCALL_SSRC_DUPLICATE_MUCH":"The app needs to retry joining the group call with a new SSRC value.","GROUPED_MEDIA_INVALID":"Invalid grouped media","HASH_INVALID":"The provided hash is invalid","HIDE_REQUESTER_MISSING":"The join request was missing or was already handled.","IMAGE_PROCESS_FAILED":"Failure while processing image","IMPORT_FILE_INVALID":"The specified chat export file is invalid","IMPORT_FORMAT_DATE_INVALID":"The date specified in the import file is invalid.","IMPORT_FORMAT_UNRECOGNIZED":"The specified chat export file was exported from an unsupported chat app","IMPORT_HISTORY_LOG_EMPTY":"","IMPORT_ID_INVALID":"The specified import ID is invalid","IMPORT_TOKEN_INVALID":"The specified token is invalid","INLINE_BOT_REQUIRED":"Only the inline bot can edit message","INLINE_RESULT_EXPIRED":"The inline query expired","INPUT_CHATLIST_INVALID":"The specified folder is invalid","INPUT_CONSTRUCTOR_INVALID":"The specified TL constructor is invalid","INPUT_FETCH_ERROR":"An error occurred while parsing the provided TL constructor","INPUT_FETCH_FAIL":"An error occurred while parsing the provided TL constructor","INPUT_FILTER_INVALID":"The specified filter is invalid","INPUT_LAYER_INVALID":"The specified layer is invalid","INPUT_METHOD_INVALID":"The specified method is invalid","INPUT_REQUEST_TOO_LONG":"The request payload is too long","INPUT_TEXT_EMPTY":"The specified text is empty","INPUT_TEXT_TOO_LONG":"The specified text is too long","INPUT_USER_DEACTIVATED":"The specified user was deleted","INVITE_FORBIDDEN_WITH_JOINAS":"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","INVITE_HASH_EMPTY":"The invite hash is empty","INVITE_HASH_EXPIRED":"The invite link has expired","INVITE_HASH_INVALID":"The invite hash is invalid","INVITE_REQUEST_SENT":"You have successfully requested to join this chat or channel","INVITE_REVOKED_MISSING":"The specified invite link was already revoked or is invalid","INVITE_SLUG_EMPTY":"The specified invite slug is empty","INVITE_SLUG_EXPIRED":"The specified chat folder link has expired.","INVITES_TOO_MUCH":"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.","INVOICE_PAYLOAD_INVALID":"The specified invoice payload is invalid.","JOIN_AS_PEER_INVALID":"The specified peer cannot be used to join a group call","LANG_CODE_INVALID":"The specified language code is invalid","LANG_CODE_NOT_SUPPORTED":"The specified language code is not supported","LANG_PACK_INVALID":"The provided language pack is invalid","LASTNAME_INVALID":"The last name is invalid.","LIMIT_INVALID":"The provided limit is invalid","LINK_NOT_MODIFIED":"Discussion link not modified","LOCATION_INVALID":"The provided location is invalid","MAX_DATE_INVALID":"The specified maximum date is invalid.","MAX_ID_INVALID":"The provided max ID is invalid","MAX_QTS_INVALID":"The specified max_qts is invalid","MD5_CHECKSUM_INVALID":"The MD5 checksums do not match","MEDIA_CAPTION_TOO_LONG":"The caption is too long","MEDIA_EMPTY":"The provided media object is invalid","MEDIA_FILE_INVALID":"The specified media file is invalid","MEDIA_GROUPED_INVALID":"You tried to send media of different types in an album.","MEDIA_INVALID":"Media invalid","MEDIA_NEW_INVALID":"The new media is invalid","MEDIA_PREV_INVALID":"Previous media invalid","MEDIA_TTL_INVALID":"The specified media TTL is invalid","MEDIA_TYPE_INVALID":"The specified media type cannot be used in stories","MEDIA_VIDEO_STORY_MISSING":"A non-story video cannot be repubblished as a story (emitted when trying to resend a non-story video as a story using inputDocument).","MEGAGROUP_GEO_REQUIRED":"This method can only be invoked on a geogroup.","MEGAGROUP_ID_INVALID":"Invalid supergroup ID","MEGAGROUP_PREHISTORY_HIDDEN":"Group with hidden history for new members can't be set as discussion groups","MEGAGROUP_REQUIRED":"You can only use this method on a supergroup","MESSAGE_AUTHOR_REQUIRED":"Message author required","MESSAGE_DELETE_FORBIDDEN":"You can't delete one of the messages you tried to delete, most likely because it is a service message.","MESSAGE_EDIT_TIME_EXPIRED":"You can't edit this message anymore, too much time has passed since its creation.","MESSAGE_EMPTY":"The provided message is empty","MESSAGE_ID_INVALID":"The provided message id is invalid","MESSAGE_IDS_EMPTY":"No message ids were provided","MESSAGE_NOT_MODIFIED":"The provided message data is identical to the previous message data, the message wasn't modified","MESSAGE_POLL_CLOSED":"Poll closed","MESSAGE_TOO_LONG":"The provided message is too long","MESSAGE_TOO_OLD":"The message is too old, the requested information is not available","METHOD_INVALID":"The specified method is invalid","MIN_DATE_INVALID":"The specified minimum date is invalid","MSG_ID_INVALID":"Invalid message ID provided","MSG_TOO_OLD":"[`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","MSG_WAIT_FAILED":"A waiting call returned an error","MSG_WAIT_TIMEOUT":"Spent too much time waiting for a previous query in the invokeAfterMsg request queue, aborting!","MULTI_MEDIA_TOO_LONG":"Too many media files for album","NETWORK_MIGRATE_%d":"Your IP address is associated to DC %d, please re-send the query to that DC.","NEW_SALT_INVALID":"The new salt is invalid","NEW_SETTINGS_EMPTY":"No password is set on the current account, and no new password was specified in `new_settings`.","NEW_SETTINGS_INVALID":"The new password settings are invalid.","NEXT_OFFSET_INVALID":"The specified offset is longer than 64 bytes.","NOT_ELIGIBLE":"The current user is not eligible to join the Peer-to-Peer Login Program","NOT_JOINED":"The current user hasn't joined the Peer-to-Peer Login Program","OFFSET_INVALID":"The provided offset is invalid","OFFSET_PEER_ID_INVALID":"The provided offset peer is invalid","OPTION_INVALID":"Invalid option selected","OPTIONS_TOO_MUCH":"Too many options provided","ORDER_INVALID":"The specified username order is invalid","PACK_SHORT_NAME_INVALID":"Short pack name invalid","PACK_SHORT_NAME_OCCUPIED":"A stickerpack with this name already exists","PACK_TITLE_INVALID":"The stickerpack title is invalid","PARTICIPANT_ID_INVALID":"The specified participant ID is invalid","PARTICIPANT_JOIN_MISSING":"Trying to enable a presentation, when the user hasn't joined the Video Chat with [phone.joinGroupCall](https:\/\/core.telegram.org\/method\/phone.joinGroupCall).","PARTICIPANT_VERSION_OUTDATED":"The other participant does not use an up to date telegram client with support for calls","PARTICIPANTS_TOO_FEW":"Not enough participants","PASSWORD_EMPTY":"The provided password is empty","PASSWORD_HASH_INVALID":"The provided password hash is invalid","PASSWORD_MISSING":"You must enable 2FA in order to transfer ownership of a channel","PASSWORD_RECOVERY_EXPIRED":"The recovery code has expired","PASSWORD_RECOVERY_NA":"No email was set, can't recover password via email.","PASSWORD_REQUIRED":"A [2FA password](https:\/\/core.telegram.org\/api\/srp) must be configured to use Telegram Passport","PASSWORD_TOO_FRESH_%d":"The password was modified less than 24 hours ago, try again in %d seconds","PAYMENT_PROVIDER_INVALID":"The specified payment provider is invalid","PAYMENT_UNSUPPORTED":"A detailed description of the error will be received separately as described [here »](https:\/\/core.telegram.org\/api\/errors#406-not-acceptable)","PEER_FLOOD":"The current account is spamreported, you cannot execute this action, check @spambot for more info.","PEER_HISTORY_EMPTY":"You can't pin an empty chat with a user","PEER_ID_INVALID":"The provided peer id is invalid","PEER_ID_NOT_SUPPORTED":"The provided peer ID is not supported","PEERS_LIST_EMPTY":"The specified list of peers is empty","PERSISTENT_TIMESTAMP_EMPTY":"Persistent timestamp empty","PERSISTENT_TIMESTAMP_INVALID":"Persistent timestamp invalid","PERSISTENT_TIMESTAMP_OUTDATED":"Channel internal replication issues, try again later (treat this like an RPC_CALL_FAIL)","PHONE_CODE_EMPTY":"phone_code is missing","PHONE_CODE_EXPIRED":"The phone code you provided has expired","PHONE_CODE_HASH_EMPTY":"phone_code_hash is missing","PHONE_CODE_INVALID":"The provided phone code is invalid","PHONE_HASH_EXPIRED":"An invalid or expired `phone_code_hash` was provided.","PHONE_MIGRATE_%d":"Your phone number is associated to DC %d, please re-send the query to that DC.","PHONE_NOT_OCCUPIED":"No user is associated to the specified phone number","PHONE_NUMBER_APP_SIGNUP_FORBIDDEN":"You can't sign up using this app","PHONE_NUMBER_BANNED":"The provided phone number is banned from telegram","PHONE_NUMBER_FLOOD":"You asked for the code too many times.","PHONE_NUMBER_INVALID":"The phone number is invalid","PHONE_NUMBER_OCCUPIED":"The phone number is already in use","PHONE_NUMBER_UNOCCUPIED":"The phone number is not yet being used","PHONE_PASSWORD_FLOOD":"You have tried logging in too many times","PHONE_PASSWORD_PROTECTED":"This phone is password protected","PHOTO_CONTENT_TYPE_INVALID":"Photo mime-type invalid","PHOTO_CONTENT_URL_EMPTY":"Photo URL invalid","PHOTO_CROP_FILE_MISSING":"Photo crop file missing","PHOTO_CROP_SIZE_SMALL":"Photo is too small","PHOTO_EXT_INVALID":"The extension of the photo is invalid","PHOTO_FILE_MISSING":"Profile photo file missing","PHOTO_ID_INVALID":"Photo ID invalid","PHOTO_INVALID":"Photo invalid","PHOTO_INVALID_DIMENSIONS":"The photo dimensions are invalid","PHOTO_SAVE_FILE_INVALID":"Internal issues, try again later","PHOTO_THUMB_URL_EMPTY":"Photo thumbnail URL is empty","PHOTO_THUMB_URL_INVALID":"","PIN_RESTRICTED":"You can't pin messages","PINNED_DIALOGS_TOO_MUCH":"Too many pinned dialogs","POLL_ANSWER_INVALID":"One of the poll answers is not acceptable","POLL_ANSWERS_INVALID":"Invalid poll answers were provided","POLL_OPTION_DUPLICATE":"Duplicate poll options provided","POLL_OPTION_INVALID":"Invalid poll option provided","POLL_QUESTION_INVALID":"One of the poll questions is not acceptable","POLL_VOTE_REQUIRED":"Cast a vote in the poll before calling this method","PREMIUM_ACCOUNT_REQUIRED":"A premium account is required to execute this action.","PREMIUM_SUB_ACTIVE_UNTIL_%d":"You already have a premium subscription active until unixtime %d ","PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_%dMIN":"Import for this chat is already in progress, wait %d minutes before starting a new one.","PRIVACY_KEY_INVALID":"The privacy key is invalid","PRIVACY_PREMIUM_REQUIRED":"You need a [Telegram Premium subscription](https:\/\/core.telegram.org\/api\/premium) to send a message to this user.","PRIVACY_TOO_LONG":"Too many privacy rules were specified, the current limit is 1000","PRIVACY_VALUE_INVALID":"The specified privacy rule combination is invalid","PUBLIC_CHANNEL_MISSING":"You can only export group call invite links for public chats or channels","PUBLIC_KEY_REQUIRED":"A public key is required","QUERY_ID_EMPTY":"The query ID is empty","QUERY_ID_INVALID":"The query ID is invalid","QUERY_TOO_SHORT":"The query string is too short","QUIZ_ANSWER_MISSING":"You can forward a quiz while hiding the original author only after choosing an option in the quiz","QUIZ_CORRECT_ANSWER_INVALID":"An invalid value was provided to the correct_answers field","QUIZ_CORRECT_ANSWERS_EMPTY":"No correct quiz answer was specified","QUIZ_CORRECT_ANSWERS_TOO_MUCH":"You specified too many correct answers in a quiz, quizzes can only have one right answer!","QUIZ_MULTIPLE_INVALID":"Quizzes can't have the multiple_choice flag set!","QUOTE_TEXT_INVALID":"The specified `reply_to`.`quote_text` field is invalid.","RAISE_HAND_FORBIDDEN":"You cannot raise your hand","RANDOM_ID_DUPLICATE":"You provided a random ID that was already used","RANDOM_ID_EMPTY":"Random ID empty","RANDOM_ID_INVALID":"A provided random ID is invalid","RANDOM_LENGTH_INVALID":"Random length invalid","RANGES_INVALID":"Invalid range provided","REACTION_EMPTY":"Empty reaction provided","REACTION_INVALID":"The specified reaction is invalid","REACTIONS_TOO_MANY":"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)","REPLY_MARKUP_BUY_EMPTY":"Reply markup for buy button empty","REPLY_MARKUP_GAME_EMPTY":"","REPLY_MARKUP_INVALID":"The provided reply markup is invalid","REPLY_MARKUP_TOO_LONG":"The specified reply_markup is too long","REPLY_MESSAGE_ID_INVALID":"The specified reply-to message ID is invalid","REPLY_TO_INVALID":"The specified `reply_to` field is invalid","REPLY_TO_USER_INVALID":"The replied-to user is invalid","REQUEST_TOKEN_INVALID":"The master DC did not accept the `request_token` from the CDN DC. Continue downloading the file from the master DC using upload.getFile.","RESET_REQUEST_MISSING":"No password reset is in progress","RESULT_ID_DUPLICATE":"You provided a duplicate result ID","RESULT_ID_EMPTY":"Result ID empty","RESULT_ID_INVALID":"One of the specified result IDs is invalid","RESULT_TYPE_INVALID":"Result type invalid","RESULTS_TOO_MUCH":"Too many results were provided","REVOTE_NOT_ALLOWED":"You cannot change your vote","RIGHT_FORBIDDEN":"Your admin rights do not allow you to do this","RIGHTS_NOT_MODIFIED":"The new admin rights are equal to the old rights, no change was made","RSA_DECRYPT_FAILED":"Internal RSA decryption failed","SCHEDULE_BOT_NOT_ALLOWED":"Bots cannot schedule messages","SCHEDULE_DATE_INVALID":"Invalid schedule date provided","SCHEDULE_DATE_TOO_LATE":"You can't schedule a message this far in the future","SCHEDULE_STATUS_PRIVATE":"Can't schedule until user is online, if the user's last seen timestamp is hidden by their privacy settings.","SCHEDULE_TOO_MUCH":"There are too many scheduled messages","SCORE_INVALID":"The specified game score is invalid","SEARCH_QUERY_EMPTY":"The search query is empty","SEARCH_WITH_LINK_NOT_SUPPORTED":"You cannot provide a search query and an invite link at the same time.","SECONDS_INVALID":"Invalid duration provided","SEND_AS_PEER_INVALID":"You can't send messages as the specified peer","SEND_CODE_UNAVAILABLE":"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)","SEND_MEDIA_INVALID":"The specified media is invalid","SEND_MESSAGE_MEDIA_INVALID":"Invalid media provided","SEND_MESSAGE_TYPE_INVALID":"The message type is invalid","SENSITIVE_CHANGE_FORBIDDEN":"You can't change your sensitive content settings.","SESSION_EXPIRED":"The session has expired","SESSION_PASSWORD_NEEDED":"2FA is enabled, use a password to login","SESSION_REVOKED":"The session was revoked by the user","SESSION_TOO_FRESH_%d":"This session was created less than 24 hours ago, try again in %d seconds","SETTINGS_INVALID":"Invalid settings were provided","SHA256_HASH_INVALID":"The provided SHA256 hash is invalid","SHORT_NAME_INVALID":"The specified short name is invalid","SHORT_NAME_OCCUPIED":"The specified short name is already in use","SHORTCUT_INVALID":"The specified shortcut is invalid","SIGN_IN_FAILED":"Failure while signing in","SLOTS_EMPTY":"The specified slot list is empty","SLOWMODE_MULTI_MSGS_DISABLED":"Slowmode is enabled, you cannot forward multiple messages to this group.","SLOWMODE_WAIT_%d":"Slowmode is enabled in this chat: wait %d seconds before sending another message to this chat.","SLUG_INVALID":"The specified invoice slug is invalid","SMS_CODE_CREATE_FAILED":"An error occurred while creating the SMS code","SMSJOB_ID_INVALID":"The specified job ID is invalid","SRP_ID_INVALID":"Invalid SRP ID provided","SRP_PASSWORD_CHANGED":"Password has changed","START_PARAM_EMPTY":"The start parameter is empty","START_PARAM_INVALID":"Start parameter invalid","START_PARAM_TOO_LONG":"Start parameter is too long","STATS_MIGRATE_%d":"Channel statistics for the specified channel are stored on DC %d, please re-send the query to that DC.","STICKER_DOCUMENT_INVALID":"The specified sticker document is invalid","STICKER_EMOJI_INVALID":"Sticker emoji invalid","STICKER_FILE_INVALID":"Sticker file invalid","STICKER_GIF_DIMENSIONS":"The specified video sticker has invalid dimensions","STICKER_ID_INVALID":"The provided sticker ID is invalid","STICKER_INVALID":"The provided sticker is invalid","STICKER_MIME_INVALID":"The specified sticker MIME type is invalid","STICKER_PNG_DIMENSIONS":"Sticker png dimensions invalid","STICKER_PNG_NOPNG":"One of the specified stickers is not a valid PNG file","STICKER_TGS_NODOC":"You must send the animated sticker as a document.","STICKER_TGS_NOTGS":"Invalid TGS sticker provided.","STICKER_THUMB_PNG_NOPNG":"Incorrect stickerset thumb file provided, PNG \/ WEBP expected.","STICKER_THUMB_TGS_NOTGS":"Incorrect stickerset TGS thumb file provided.","STICKER_VIDEO_BIG":"The specified video sticker is too big","STICKER_VIDEO_NODOC":"You must send the video sticker as a document.","STICKER_VIDEO_NOWEBM":"The specified video sticker is not in webm format","STICKERPACK_STICKERS_TOO_MUCH":"There are too many stickers in this stickerpack, you can't add any more","STICKERS_EMPTY":"No sticker provided","STICKERS_TOO_MUCH":"There are too many stickers in this stickerpack, you can't add any more","STICKERSET_INVALID":"The provided sticker set is invalid","STICKERSET_NOT_MODIFIED":"","STICKERSET_OWNER_ANONYMOUS":"Provided stickerset can't be installed as group stickerset to prevent admin deanonymization.","STORIES_NEVER_CREATED":"This peer hasn't ever posted any stories.","STORIES_TOO_MUCH":"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.","STORY_ID_EMPTY":"You specified no story IDs.","STORY_ID_INVALID":"The specified story ID is invalid","STORY_NOT_MODIFIED":"The new story information you passed is equal to the previous story information, thus it wasn't modified.","STORY_PERIOD_INVALID":"The specified story period is invalid for this account.","STORY_SEND_FLOOD_MONTHLY_%d":"You've hit the monthly story limit as specified by the [`stories_sent_monthly_limit_*` client configuration parameters](https:\/\/core.telegram.org\/api\/config#stories-sent-monthly-limit-default): wait for the specified number of seconds before posting a new story.","STORY_SEND_FLOOD_WEEKLY_%d":"You've hit the weekly story limit as specified by the [`stories_sent_weekly_limit_*` client configuration parameters](https:\/\/core.telegram.org\/api\/config#stories-sent-weekly-limit-default): wait for the specified number of seconds before posting a new story.","SWITCH_PM_TEXT_EMPTY":"The switch_pm.text field was empty","SWITCH_WEBVIEW_URL_INVALID":"The URL specified in switch_webview.url is invalid!","TAKEOUT_INIT_DELAY_%d":"Sorry, for security reasons, you will be able to begin downloading your data in %d seconds. We have notified all your devices about the export request to make sure it's authorized and to give you time to react if it's not.","TAKEOUT_INVALID":"The specified takeout ID is invalid","TAKEOUT_REQUIRED":"A [takeout](https:\/\/core.telegram.org\/api\/takeout) session needs to be initialized first, [see here » for more info](\/api\/takeout).","TASK_ALREADY_EXISTS":"An email reset was already requested.","TEMP_AUTH_KEY_ALREADY_BOUND":"The passed temporary key is already bound to another **perm_auth_key_id**.","TEMP_AUTH_KEY_EMPTY":"No temporary auth key provided","THEME_FILE_INVALID":"Invalid theme file provided","THEME_FORMAT_INVALID":"Invalid theme format provided","THEME_INVALID":"Invalid theme provided","THEME_MIME_INVALID":"The theme's MIME type is invalid","THEME_TITLE_INVALID":"The specified theme title is invalid","Timeout":"Timeout while fetching data","TIMEZONE_INVALID":"","TITLE_INVALID":"The specified stickerpack title is invalid","TMP_PASSWORD_DISABLED":"The temporary password is disabled","TMP_PASSWORD_INVALID":"The passed tmp_password is invalid","TO_LANG_INVALID":"The specified destination language is invalid","TOKEN_EMPTY":"The specified token is empty","TOKEN_INVALID":"The provided token is invalid","TOKEN_TYPE_INVALID":"The specified token type is invalid","TOPIC_CLOSE_SEPARATELY":"The `close` flag cannot be provided together with any of the other flags","TOPIC_CLOSED":"This topic was closed, you can't send messages to it anymore","TOPIC_DELETED":"The specified topic was deleted","TOPIC_HIDE_SEPARATELY":"The `hide` flag cannot be provided together with any of the other flags","TOPIC_ID_INVALID":"The specified topic ID is invalid","TOPIC_NOT_MODIFIED":"The updated topic info is equal to the current topic info, nothing was changed","TOPIC_TITLE_EMPTY":"The specified topic title is empty.","TOPICS_EMPTY":"You specified no topic IDs.","TRANSCRIPTION_FAILED":"Audio transcription failed","TRANSLATE_REQ_QUOTA_EXCEEDED":"","TTL_DAYS_INVALID":"The provided TTL is invalid","TTL_MEDIA_INVALID":"Invalid media Time To Live was provided","TTL_PERIOD_INVALID":"The specified TTL period is invalid","TYPES_EMPTY":"No top peer type was provided","UNTIL_DATE_INVALID":"Invalid until date provided","UPDATE_APP_TO_LOGIN":"Please update to the latest version of MadelineProto to login.","URL_INVALID":"Invalid URL provided","USAGE_LIMIT_INVALID":"The specified usage limit is invalid","USER_ADMIN_INVALID":"You're not an admin","USER_ALREADY_INVITED":"You have already invited this user","USER_ALREADY_PARTICIPANT":"The user is already in the group","USER_BANNED_IN_CHANNEL":"You're banned from sending messages in supergroups\/channels","USER_BLOCKED":"User blocked","USER_BOT":"Bots can only be admins in channels.","USER_BOT_INVALID":"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.","USER_BOT_REQUIRED":"This method can only be called by a bot","USER_CHANNELS_TOO_MUCH":"One of the users you tried to add is already in too many channels\/supergroups","USER_CREATOR":"You can't leave this channel, because you're its creator","USER_DEACTIVATED":"The current account was deleted by the user","USER_DEACTIVATED_BAN":"The current account was deleted and banned by Telegram's antispam system","USER_DELETED":"You can't send this secret message because the other participant deleted their account.","USER_ID_INVALID":"The provided user ID is invalid","USER_INVALID":"Invalid user provided","USER_IS_BLOCKED":"You were blocked by this user","USER_IS_BOT":"Bots can't send messages to other bots","USER_KICKED":"This user was kicked from this supergroup\/channel","USER_MIGRATE_%d":"Your account is associated to DC %d, please re-send the query to that DC.","USER_NOT_MUTUAL_CONTACT":"The provided user is not a mutual contact","USER_NOT_PARTICIPANT":"You're not a member of this supergroup\/channel","USER_PRIVACY_RESTRICTED":"The user's privacy settings do not allow you to do this","USER_PUBLIC_MISSING":"Cannot generate a link to stories posted by a peer without a username.","USER_RESTRICTED":"You're spamreported, you can't create channels or chats.","USER_VOLUME_INVALID":"The specified user volume is invalid","USERNAME_INVALID":"The provided username is not valid","USERNAME_NOT_MODIFIED":"The username was not modified","USERNAME_NOT_OCCUPIED":"The provided username is not occupied","USERNAME_OCCUPIED":"The provided username is already occupied","USERNAME_PURCHASE_AVAILABLE":"The specified username can be purchased on https:\/\/fragment.com","USERNAMES_ACTIVE_TOO_MUCH":"The maximum number of active usernames was reached","USERPIC_PRIVACY_REQUIRED":"You need to disable privacy settings for your profile picture in order to make your geolocation public.","USERPIC_UPLOAD_REQUIRED":"You must have a profile picture to publish your geolocation","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)","VENUE_ID_INVALID":"The specified venue ID is invalid","VIDEO_CONTENT_TYPE_INVALID":"The video's content type is invalid","VIDEO_FILE_INVALID":"The specified video file is invalid","VIDEO_PAUSE_FORBIDDEN":"You cannot pause the video stream","VIDEO_STOP_FORBIDDEN":"You cannot stop the video stream","VIDEO_TITLE_EMPTY":"The specified video title is empty","VOICE_MESSAGES_FORBIDDEN":"This user's privacy settings forbid you from sending voice messages","WALLPAPER_FILE_INVALID":"The specified wallpaper file is invalid","WALLPAPER_INVALID":"The specified wallpaper is invalid","WALLPAPER_MIME_INVALID":"The specified wallpaper MIME type is invalid","WALLPAPER_NOT_FOUND":"The specified wallpaper could not be found","WC_CONVERT_URL_INVALID":"WC convert URL invalid","WEBDOCUMENT_INVALID":"Invalid webdocument URL provided","WEBDOCUMENT_MIME_INVALID":"Invalid webdocument mime type provided","WEBDOCUMENT_SIZE_TOO_BIG":"Webdocument is too big!","WEBDOCUMENT_URL_EMPTY":"The passed web document URL is empty","WEBDOCUMENT_URL_INVALID":"The specified webdocument URL is invalid","WEBPAGE_CURL_FAILED":"Failure while fetching the webpage with cURL","WEBPAGE_MEDIA_EMPTY":"Webpage media empty","WEBPAGE_NOT_FOUND":"A preview for the specified webpage `url` could not be generated","WEBPAGE_URL_INVALID":"The specified webpage `url` is invalid","WEBPUSH_AUTH_INVALID":"The specified web push authentication secret is invalid.","WEBPUSH_KEY_INVALID":"The specified web push elliptic curve Diffie-Hellman public key is invalid.","WEBPUSH_TOKEN_INVALID":"The specified web push token is invalid.","YOU_BLOCKED_USER":"You blocked this user","YOUR_PRIVACY_RESTRICTED":"You cannot fetch the read date of this message because you have disallowed other users to do so for *your* messages; to fix, allow other users to see *your* exact last online date OR purchase a [Telegram Premium](https:\/\/core.telegram.org\/api\/premium) subscription."}} \ No newline at end of file From 049d2342843ec2480787f217e75ebbec8c17d908 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 26 Jun 2024 23:56:34 +0200 Subject: [PATCH 11/15] Fix IPC issue --- src/Ipc/Client.php | 25 +++++++++++++++++++++++++ src/Ipc/Wrapper.php | 6 +++++- src/Ipc/Wrapper/Cancellation.php | 13 +++++++++++-- 3 files changed, 41 insertions(+), 3 deletions(-) diff --git a/src/Ipc/Client.php b/src/Ipc/Client.php index a9836f66a..f501925eb 100644 --- a/src/Ipc/Client.php +++ b/src/Ipc/Client.php @@ -81,6 +81,31 @@ final class Client extends ClientAbstract self::$instances[$session->getSessionDirectoryPath()] = $this; EventLoop::queue($this->loopInternal(...)); } + + /** + * Call function. + * + * @param string|int $function Function name + * @param array|Wrapper $arguments Arguments + */ + public function __call(string|int $function, array|Wrapper $arguments) + { + if (\is_array($arguments) && $arguments) { + foreach ($arguments as &$arg) { + if ($arg instanceof Cancellation) { + break; + } + } + if ($arg instanceof Cancellation) { + $wrapper = Wrapper::create($arguments, $this->session, $this->logger); + $wrapper->wrap($arg); + unset($arg, $arguments); + $arguments = $wrapper; + } + } + return parent::__call($function, $arguments); + } + /** @internal */ public function getSession(): SessionPaths { diff --git a/src/Ipc/Wrapper.php b/src/Ipc/Wrapper.php index 2d1583a09..5c6754fdf 100644 --- a/src/Ipc/Wrapper.php +++ b/src/Ipc/Wrapper.php @@ -28,6 +28,7 @@ use danog\MadelineProto\Ipc\Wrapper\Obj; use danog\MadelineProto\Ipc\Wrapper\ReadableStream; use danog\MadelineProto\Ipc\Wrapper\SeekableReadableStream; use danog\MadelineProto\Ipc\Wrapper\SeekableWritableStream; +use danog\MadelineProto\Ipc\Wrapper\WrappedCancellation; use danog\MadelineProto\Ipc\Wrapper\WritableStream; use danog\MadelineProto\Logger; use danog\MadelineProto\SessionPaths; @@ -108,6 +109,9 @@ final class Wrapper extends ClientAbstract public function wrap(mixed &$callback, bool $wrapObjects = true): void { if (\is_object($callback) && $wrapObjects) { + if ($callback instanceof Cancellation) { + $callback = new WrappedCancellation($callback); + } if ($callback instanceof FileCallbackInterface) { $file = $callback->getFile(); if ($file instanceof ByteStreamReadableStream) { @@ -128,7 +132,7 @@ final class Wrapper extends ClientAbstract $class = method_exists($callback, 'seek') ? SeekableWritableStream::class : WritableStream::class; } elseif ($callback instanceof FileCallbackInterface) { $class = FileCallback::class; - } elseif ($callback instanceof Cancellation) { + } elseif ($callback instanceof WrappedCancellation) { $class = WrapperCancellation::class; } if (!$class) { diff --git a/src/Ipc/Wrapper/Cancellation.php b/src/Ipc/Wrapper/Cancellation.php index bb2472093..7f19c8073 100644 --- a/src/Ipc/Wrapper/Cancellation.php +++ b/src/Ipc/Wrapper/Cancellation.php @@ -18,6 +18,7 @@ namespace danog\MadelineProto\Ipc\Wrapper; use Amp\Cancellation as AmpCancellation; use Amp\CancelledException; +use Revolt\EventLoop; /** * @internal @@ -37,7 +38,15 @@ final class Cancellation extends Obj implements AmpCancellation */ public function subscribe(\Closure $callback): string { - return $this->__call('unsubscribe', [$callback]); + $id = $this->__call('getId'); + EventLoop::queue(function () use ($id, $callback): void { + try { + $this->__call('wait', [$id]); + } catch (CancelledException $e) { + $callback($e); + } catch (\Throwable) {} + }); + return $id; } /** @@ -47,7 +56,7 @@ final class Cancellation extends Obj implements AmpCancellation */ public function unsubscribe(string $id): void { - $this->__call('unsubscribe', [$id]); + EventLoop::queue($this->__call(...), 'unsubscribe', [$id]); } /** From 80275df82a4595d92f88a48644d3a99ae37832b5 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Thu, 27 Jun 2024 16:10:08 +0200 Subject: [PATCH 12/15] Allow multiple invocations of reverse IPC methods --- src/Ipc/ClientAbstract.php | 5 +- src/Ipc/Wrapper.php | 5 +- src/Ipc/Wrapper/Cancellation.php | 39 +++++++----- src/Ipc/Wrapper/CancellationInner.php | 80 +++++++++++++++++++++++++ src/Ipc/Wrapper/WrappedCancellation.php | 80 +++++++++++++++++++++++++ 5 files changed, 189 insertions(+), 20 deletions(-) create mode 100644 src/Ipc/Wrapper/CancellationInner.php create mode 100644 src/Ipc/Wrapper/WrappedCancellation.php diff --git a/src/Ipc/ClientAbstract.php b/src/Ipc/ClientAbstract.php index 8263f4ea2..ad109d616 100644 --- a/src/Ipc/ClientAbstract.php +++ b/src/Ipc/ClientAbstract.php @@ -93,11 +93,8 @@ abstract class ClientAbstract if (!isset($this->requests[$id])) { Logger::log("Got response for non-existing ID $id!"); } else { - [, $args, $promise] = $this->requests[$id]; + $promise = $this->requests[$id][2]; unset($this->requests[$id]); - if ($args instanceof Wrapper) { - $args->disconnect(); - } if ($payload instanceof ExitFailure) { $promise->error($payload->getException()); } else { diff --git a/src/Ipc/Wrapper.php b/src/Ipc/Wrapper.php index 5c6754fdf..eb244a43b 100644 --- a/src/Ipc/Wrapper.php +++ b/src/Ipc/Wrapper.php @@ -121,7 +121,8 @@ final class Wrapper extends ClientAbstract } $ids = []; foreach (get_class_methods($callback) as $method) { - $id = $this->id++; + //$id = $this->id++; + $id = $this->id++.'_'.$method; $this->callbacks[$id] = [$callback, $method]; $ids[$method] = $id; } @@ -166,7 +167,7 @@ final class Wrapper extends ClientAbstract EventLoop::queue($this->clientRequest(...), $id++, $payload); } } finally { - EventLoop::queue($this->server->disconnect(...)); + EventLoop::queue($this->server->disconnect(...), "exiting receiverLoop"); } } diff --git a/src/Ipc/Wrapper/Cancellation.php b/src/Ipc/Wrapper/Cancellation.php index 7f19c8073..abd96910a 100644 --- a/src/Ipc/Wrapper/Cancellation.php +++ b/src/Ipc/Wrapper/Cancellation.php @@ -18,13 +18,25 @@ namespace danog\MadelineProto\Ipc\Wrapper; use Amp\Cancellation as AmpCancellation; use Amp\CancelledException; -use Revolt\EventLoop; +use danog\MadelineProto\Ipc\ClientAbstract; /** * @internal */ -final class Cancellation extends Obj implements AmpCancellation +final class Cancellation implements AmpCancellation { + private array $handlers = []; + private CancellationInner $inner; + /** + * Constructor. + * + * @param array $methods + */ + public function __construct(ClientAbstract $wrapper, array $methods) + { + $this->inner = new CancellationInner($wrapper, $methods); + } + /** * Subscribes a new handler to be invoked on a cancellation request. * @@ -38,15 +50,7 @@ final class Cancellation extends Obj implements AmpCancellation */ public function subscribe(\Closure $callback): string { - $id = $this->__call('getId'); - EventLoop::queue(function () use ($id, $callback): void { - try { - $this->__call('wait', [$id]); - } catch (CancelledException $e) { - $callback($e); - } catch (\Throwable) {} - }); - return $id; + return $this->inner->subscribe($callback); } /** @@ -56,7 +60,7 @@ final class Cancellation extends Obj implements AmpCancellation */ public function unsubscribe(string $id): void { - EventLoop::queue($this->__call(...), 'unsubscribe', [$id]); + $this->inner->unsubscribe($id); } /** @@ -64,7 +68,7 @@ final class Cancellation extends Obj implements AmpCancellation */ public function isRequested(): bool { - return $this->__call('isRequested'); + return $this->inner->isRequested(); } /** @@ -74,6 +78,13 @@ final class Cancellation extends Obj implements AmpCancellation */ public function throwIfRequested(): void { - $this->__call('throwIfRequested'); + $this->inner->throwIfRequested(); + } + + public function __destruct() + { + foreach ($this->handlers as $handler) { + $this->inner->unsubscribe($handler); + } } } diff --git a/src/Ipc/Wrapper/CancellationInner.php b/src/Ipc/Wrapper/CancellationInner.php new file mode 100644 index 000000000..9d178350f --- /dev/null +++ b/src/Ipc/Wrapper/CancellationInner.php @@ -0,0 +1,80 @@ +. + * + * @author Daniil Gentili + * @copyright 2016-2023 Daniil Gentili + * @license https://opensource.org/licenses/AGPL-3.0 AGPLv3 + * @link https://docs.madelineproto.xyz MadelineProto documentation + */ + +namespace danog\MadelineProto\Ipc\Wrapper; + +use Amp\Cancellation as AmpCancellation; +use Amp\CancelledException; +use Revolt\EventLoop; + +/** + * @internal + */ +final class CancellationInner extends Obj implements AmpCancellation +{ + /** + * Subscribes a new handler to be invoked on a cancellation request. + * + * This handler might be invoked immediately in case the cancellation has already been requested. Any unhandled + * exceptions will be thrown into the event loop. + * + * @param \Closure(CancelledException) $callback Callback to be invoked on a cancellation request. Will receive a + * `CancelledException` as first argument that may be used to fail the operation. + * + * @return string Identifier that can be used to cancel the subscription. + */ + public function subscribe(\Closure $callback): string + { + $id = $this->__call('getId'); + EventLoop::queue(function () use ($id, $callback): void { + try { + $this->__call('wait', [$id]); + } catch (CancelledException $e) { + $callback($e); + } catch (\Throwable) { + } + }); + return $id; + } + + /** + * Unsubscribes a previously registered handler. + * + * The handler will no longer be called as long as this method isn't invoked from a subscribed callback. + */ + public function unsubscribe(string $id): void + { + EventLoop::queue($this->__call(...), 'unsubscribe', [$id]); + } + + /** + * Returns whether cancellation has been requested yet. + */ + public function isRequested(): bool + { + return $this->__call('isRequested'); + } + + /** + * Throws the `CancelledException` if cancellation has been requested, otherwise does nothing. + * + * @throws CancelledException + */ + public function throwIfRequested(): void + { + $this->__call('throwIfRequested'); + } +} diff --git a/src/Ipc/Wrapper/WrappedCancellation.php b/src/Ipc/Wrapper/WrappedCancellation.php new file mode 100644 index 000000000..a58ae4e04 --- /dev/null +++ b/src/Ipc/Wrapper/WrappedCancellation.php @@ -0,0 +1,80 @@ +. + * + * @author Daniil Gentili + * @copyright 2016-2023 Daniil Gentili + * @license https://opensource.org/licenses/AGPL-3.0 AGPLv3 + * @link https://docs.madelineproto.xyz MadelineProto documentation + */ + +namespace danog\MadelineProto\Ipc\Wrapper; + +use Amp\Cancellation as AmpCancellation; +use Amp\CancelledException; +use Amp\DeferredFuture; + +/** + * @internal + */ +final class WrappedCancellation +{ + public function __construct( + private readonly AmpCancellation $cancellation + ) { + } + + /** + * @var array + */ + private array $handlers = []; + private string $id = 'a'; + public function getId(): string + { + return $this->id++; + } + public function wait(string $id): void + { + $this->handlers[$id] = $deferred = new DeferredFuture; + $id = $this->cancellation->subscribe(function (CancelledException $e) use ($deferred, &$id): void { + unset($this->handlers[$id]); + $deferred->error($e); + }); + $deferred->getFuture()->await(); + } + + /** + * Unsubscribes a previously registered handler. + * + * The handler will no longer be called as long as this method isn't invoked from a subscribed callback. + */ + public function unsubscribe(string $id): void + { + $this->handlers[$id]?->complete(); + unset($this->handlers[$id]); + } + + /** + * Returns whether cancellation has been requested yet. + */ + public function isRequested(): bool + { + return $this->cancellation->isRequested(); + } + + /** + * Throws the `CancelledException` if cancellation has been requested, otherwise does nothing. + * + * @throws CancelledException + */ + public function throwIfRequested(): void + { + $this->cancellation->throwIfRequested(); + } +} From a2583f2bd77eba9c1bf2e1b5983b9f10a147dda7 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Thu, 27 Jun 2024 18:26:14 +0200 Subject: [PATCH 13/15] Fixes --- psalm-baseline.xml | 19 +++++++++++++++++-- src/Ipc/Wrapper.php | 3 +-- src/Ipc/Wrapper/Cancellation.php | 10 ++++++++-- src/Ipc/Wrapper/WrappedCancellation.php | 6 ++++-- 4 files changed, 30 insertions(+), 8 deletions(-) diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 3dd51d5a1..507ce6283 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -2340,6 +2340,7 @@ + @@ -2510,6 +2511,9 @@ + + callbackIds]]> + @@ -2518,10 +2522,13 @@ callbackIds[] = &$callback]]> - + + + + + __call('isRequested')]]> - __call('unsubscribe', [$callback])]]> @@ -2536,6 +2543,14 @@ __call('isReadable')]]> + + + handlers[$id]]]> + + + handlers[$id]?->complete()]]> + + __call('isWritable')]]> diff --git a/src/Ipc/Wrapper.php b/src/Ipc/Wrapper.php index eb244a43b..27b238324 100644 --- a/src/Ipc/Wrapper.php +++ b/src/Ipc/Wrapper.php @@ -121,8 +121,7 @@ final class Wrapper extends ClientAbstract } $ids = []; foreach (get_class_methods($callback) as $method) { - //$id = $this->id++; - $id = $this->id++.'_'.$method; + $id = $this->id++; $this->callbacks[$id] = [$callback, $method]; $ids[$method] = $id; } diff --git a/src/Ipc/Wrapper/Cancellation.php b/src/Ipc/Wrapper/Cancellation.php index abd96910a..eda742929 100644 --- a/src/Ipc/Wrapper/Cancellation.php +++ b/src/Ipc/Wrapper/Cancellation.php @@ -25,6 +25,9 @@ use danog\MadelineProto\Ipc\ClientAbstract; */ final class Cancellation implements AmpCancellation { + /** + * @var array $handlers + */ private array $handlers = []; private CancellationInner $inner; /** @@ -50,7 +53,9 @@ final class Cancellation implements AmpCancellation */ public function subscribe(\Closure $callback): string { - return $this->inner->subscribe($callback); + $id = $this->inner->subscribe($callback); + $this->handlers[$id] = true; + return $id; } /** @@ -60,6 +65,7 @@ final class Cancellation implements AmpCancellation */ public function unsubscribe(string $id): void { + unset($this->handlers[$id]); $this->inner->unsubscribe($id); } @@ -83,7 +89,7 @@ final class Cancellation implements AmpCancellation public function __destruct() { - foreach ($this->handlers as $handler) { + foreach ($this->handlers as $handler => $_) { $this->inner->unsubscribe($handler); } } diff --git a/src/Ipc/Wrapper/WrappedCancellation.php b/src/Ipc/Wrapper/WrappedCancellation.php index a58ae4e04..7b0dbed85 100644 --- a/src/Ipc/Wrapper/WrappedCancellation.php +++ b/src/Ipc/Wrapper/WrappedCancellation.php @@ -56,8 +56,10 @@ final class WrappedCancellation */ public function unsubscribe(string $id): void { - $this->handlers[$id]?->complete(); - unset($this->handlers[$id]); + if (isset($this->handlers[$id])) { + $this->handlers[$id]->complete(); + unset($this->handlers[$id]); + } } /** From cc4e7e15386dd8aac6607828250021632c356b42 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Thu, 27 Jun 2024 18:37:17 +0200 Subject: [PATCH 14/15] Bump --- docs | 2 +- src/API.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs b/docs index 2a6b4556a..2afbbbb00 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 2a6b4556a2bbf2a37837c64143e7110aa7943e75 +Subproject commit 2afbbbb00627b3ceca72ea8bf510f087a50b3e18 diff --git a/src/API.php b/src/API.php index 9ffa3281b..f37cd19c5 100644 --- a/src/API.php +++ b/src/API.php @@ -51,7 +51,7 @@ final class API extends AbstractAPI * * @var string */ - public const RELEASE = '8.1.1'; + public const RELEASE = '8.2.0'; /** * We're not logged in. * From 8e67596b0801e8e0b0a132348e209f3441dfe2dd Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Thu, 27 Jun 2024 18:51:48 +0200 Subject: [PATCH 15/15] Revert TAS-only change --- src/InternalDoc.php | 58 ++++++++++++++++++------------------ tools/AnnotationsBuilder.php | 1 - 2 files changed, 29 insertions(+), 30 deletions(-) diff --git a/src/InternalDoc.php b/src/InternalDoc.php index 1c921d509..73a32433b 100644 --- a/src/InternalDoc.php +++ b/src/InternalDoc.php @@ -180,7 +180,7 @@ abstract class InternalDoc */ final public function acceptCall(int $id, ?\Amp\Cancellation $cancellation = null): void { - $this->wrapper->getAPI()->acceptCall($id, $cancellation ?? $this->wrapper->getRpcDropCancellation()); + $this->wrapper->getAPI()->acceptCall($id, $cancellation); } /** * Accept secret chat. @@ -359,7 +359,7 @@ abstract class InternalDoc */ final public static function canUseFFmpeg(?\Amp\Cancellation $cancellation = null): bool { - return \danog\MadelineProto\Tools::canUseFFmpeg($cancellation ?? $this->wrapper->getRpcDropCancellation()); + return \danog\MadelineProto\Tools::canUseFFmpeg($cancellation); } /** * Cancel a running broadcast. @@ -448,7 +448,7 @@ abstract class InternalDoc */ final public function downloadToBrowser(\danog\MadelineProto\FileCallbackInterface|\danog\MadelineProto\EventHandler\Message|array|string $messageMedia, ?callable $cb = null, ?int $size = null, ?string $name = null, ?string $mime = null, ?\Amp\Cancellation $cancellation = null): void { - $this->wrapper->getAPI()->downloadToBrowser($messageMedia, $cb, $size, $name, $mime, $cancellation ?? $this->wrapper->getRpcDropCancellation()); + $this->wrapper->getAPI()->downloadToBrowser($messageMedia, $cb, $size, $name, $mime, $cancellation); } /** * Download file to callable. @@ -465,7 +465,7 @@ abstract class InternalDoc */ final public function downloadToCallable(mixed $messageMedia, callable $callable, ?callable $cb = null, bool $seekable = true, int $offset = 0, int $end = -1, ?int $part_size = null, ?\Amp\Cancellation $cancellation = null): void { - $this->wrapper->getAPI()->downloadToCallable($messageMedia, $callable, $cb, $seekable, $offset, $end, $part_size, $cancellation ?? $this->wrapper->getRpcDropCancellation()); + $this->wrapper->getAPI()->downloadToCallable($messageMedia, $callable, $cb, $seekable, $offset, $end, $part_size, $cancellation); } /** * Download file to directory. @@ -478,7 +478,7 @@ abstract class InternalDoc */ final public function downloadToDir(mixed $messageMedia, \danog\MadelineProto\FileCallbackInterface|string $dir, ?callable $cb = null, ?\Amp\Cancellation $cancellation = null): string { - return $this->wrapper->getAPI()->downloadToDir($messageMedia, $dir, $cb, $cancellation ?? $this->wrapper->getRpcDropCancellation()); + return $this->wrapper->getAPI()->downloadToDir($messageMedia, $dir, $cb, $cancellation); } /** * Download file. @@ -491,7 +491,7 @@ abstract class InternalDoc */ final public function downloadToFile(mixed $messageMedia, \danog\MadelineProto\FileCallbackInterface|string $file, ?callable $cb = null, ?\Amp\Cancellation $cancellation = null): string { - return $this->wrapper->getAPI()->downloadToFile($messageMedia, $file, $cb, $cancellation ?? $this->wrapper->getRpcDropCancellation()); + return $this->wrapper->getAPI()->downloadToFile($messageMedia, $file, $cb, $cancellation); } /** * Download file to amphp/http-server response. @@ -507,7 +507,7 @@ abstract class InternalDoc */ final public function downloadToResponse(\danog\MadelineProto\FileCallbackInterface|\danog\MadelineProto\EventHandler\Message|array|string $messageMedia, \Amp\Http\Server\Request $request, ?callable $cb = null, ?int $size = null, ?string $mime = null, ?string $name = null, ?\Amp\Cancellation $cancellation = null): \Amp\Http\Server\Response { - return $this->wrapper->getAPI()->downloadToResponse($messageMedia, $request, $cb, $size, $mime, $name, $cancellation ?? $this->wrapper->getRpcDropCancellation()); + return $this->wrapper->getAPI()->downloadToResponse($messageMedia, $request, $cb, $size, $mime, $name, $cancellation); } /** * Download file to an amphp stream, returning it. @@ -519,7 +519,7 @@ abstract class InternalDoc */ final public function downloadToReturnedStream(mixed $messageMedia, ?callable $cb = null, int $offset = 0, int $end = -1, ?\Amp\Cancellation $cancellation = null): \Amp\ByteStream\ReadableStream { - return $this->wrapper->getAPI()->downloadToReturnedStream($messageMedia, $cb, $offset, $end, $cancellation ?? $this->wrapper->getRpcDropCancellation()); + return $this->wrapper->getAPI()->downloadToReturnedStream($messageMedia, $cb, $offset, $end, $cancellation); } /** * Download file to stream. @@ -532,7 +532,7 @@ abstract class InternalDoc */ final public function downloadToStream(mixed $messageMedia, mixed $stream, ?callable $cb = null, int $offset = 0, int $end = -1, ?\Amp\Cancellation $cancellation = null): void { - $this->wrapper->getAPI()->downloadToStream($messageMedia, $stream, $cb, $offset, $end, $cancellation ?? $this->wrapper->getRpcDropCancellation()); + $this->wrapper->getAPI()->downloadToStream($messageMedia, $stream, $cb, $offset, $end, $cancellation); } /** * Asynchronously write to stdout/browser. @@ -619,7 +619,7 @@ abstract class InternalDoc */ final public function fileGetContents(string $url, ?\Amp\Cancellation $cancellation = null): string { - return $this->wrapper->getAPI()->fileGetContents($url, $cancellation ?? $this->wrapper->getRpcDropCancellation()); + return $this->wrapper->getAPI()->fileGetContents($url, $cancellation); } /** * Asynchronously lock a file @@ -765,7 +765,7 @@ abstract class InternalDoc */ final public function getDhConfig(?\Amp\Cancellation $cancellation = null): array { - return $this->wrapper->getAPI()->getDhConfig($cancellation ?? $this->wrapper->getRpcDropCancellation()); + return $this->wrapper->getAPI()->getDhConfig($cancellation); } /** * Get dialog IDs. @@ -1135,7 +1135,7 @@ abstract class InternalDoc */ final public function getStream(\danog\MadelineProto\EventHandler\Message|\danog\MadelineProto\EventHandler\Media|\danog\MadelineProto\LocalFile|\danog\MadelineProto\RemoteUrl|\danog\MadelineProto\BotApiFileId|\Amp\ByteStream\ReadableStream $stream, ?\Amp\Cancellation $cancellation = null, ?int &$size = null): \Amp\ByteStream\ReadableStream { - return $this->wrapper->getAPI()->getStream($stream, $cancellation ?? $this->wrapper->getRpcDropCancellation(), $size); + return $this->wrapper->getAPI()->getStream($stream, $cancellation, $size); } /** * Obtains a pipe that can be used to upload a file from a stream. @@ -1471,7 +1471,7 @@ abstract class InternalDoc */ final public static function openBuffered(\danog\MadelineProto\LocalFile|\danog\MadelineProto\RemoteUrl|\Amp\ByteStream\ReadableStream $stream, ?\Amp\Cancellation $cancellation = null): \Closure { - return \danog\MadelineProto\Tools::openBuffered($stream, $cancellation ?? $this->wrapper->getRpcDropCancellation()); + return \danog\MadelineProto\Tools::openBuffered($stream, $cancellation); } /** * Opens a file in append-only mode. @@ -1737,7 +1737,7 @@ abstract class InternalDoc */ final public function sendAudio(string|int $peer, \danog\MadelineProto\EventHandler\Message|\danog\MadelineProto\EventHandler\Media|\danog\MadelineProto\LocalFile|\danog\MadelineProto\RemoteUrl|\danog\MadelineProto\BotApiFileId|\Amp\ByteStream\ReadableStream $file, \danog\MadelineProto\EventHandler\Message|\danog\MadelineProto\EventHandler\Media|\danog\MadelineProto\LocalFile|\danog\MadelineProto\RemoteUrl|\danog\MadelineProto\BotApiFileId|\Amp\ByteStream\ReadableStream|null $thumb = null, string $caption = '', \danog\MadelineProto\ParseMode $parseMode = \danog\MadelineProto\ParseMode::TEXT, ?callable $callback = null, ?string $fileName = null, ?string $mimeType = null, ?int $duration = null, ?string $title = null, ?string $performer = null, ?int $ttl = null, ?int $replyToMsgId = null, ?int $topMsgId = null, ?array $replyMarkup = null, string|int|null $sendAs = null, ?int $scheduleDate = null, bool $silent = false, bool $noForwards = false, bool $background = false, bool $clearDraft = false, bool $forceResend = false, ?\Amp\Cancellation $cancellation = null): \danog\MadelineProto\EventHandler\Message { - return $this->wrapper->getAPI()->sendAudio($peer, $file, $thumb, $caption, $parseMode, $callback, $fileName, $mimeType, $duration, $title, $performer, $ttl, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $forceResend, $cancellation ?? $this->wrapper->getRpcDropCancellation()); + return $this->wrapper->getAPI()->sendAudio($peer, $file, $thumb, $caption, $parseMode, $callback, $fileName, $mimeType, $duration, $title, $performer, $ttl, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $forceResend, $cancellation); } /** * Sends an updateCustomEvent update to the event handler. @@ -1773,7 +1773,7 @@ abstract class InternalDoc */ final public function sendDocument(string|int $peer, \danog\MadelineProto\EventHandler\Message|\danog\MadelineProto\EventHandler\Media|\danog\MadelineProto\LocalFile|\danog\MadelineProto\RemoteUrl|\danog\MadelineProto\BotApiFileId|\Amp\ByteStream\ReadableStream $file, \danog\MadelineProto\EventHandler\Message|\danog\MadelineProto\EventHandler\Media|\danog\MadelineProto\LocalFile|\danog\MadelineProto\RemoteUrl|\danog\MadelineProto\BotApiFileId|\Amp\ByteStream\ReadableStream|null $thumb = null, string $caption = '', \danog\MadelineProto\ParseMode $parseMode = \danog\MadelineProto\ParseMode::TEXT, ?callable $callback = null, ?string $fileName = null, ?string $mimeType = null, ?int $ttl = null, bool $spoiler = false, ?int $replyToMsgId = null, ?int $topMsgId = null, ?array $replyMarkup = null, string|int|null $sendAs = null, ?int $scheduleDate = null, bool $silent = false, bool $noForwards = false, bool $background = false, bool $clearDraft = false, bool $updateStickersetsOrder = false, bool $forceResend = false, ?\Amp\Cancellation $cancellation = null): \danog\MadelineProto\EventHandler\Message { - return $this->wrapper->getAPI()->sendDocument($peer, $file, $thumb, $caption, $parseMode, $callback, $fileName, $mimeType, $ttl, $spoiler, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $updateStickersetsOrder, $forceResend, $cancellation ?? $this->wrapper->getRpcDropCancellation()); + return $this->wrapper->getAPI()->sendDocument($peer, $file, $thumb, $caption, $parseMode, $callback, $fileName, $mimeType, $ttl, $spoiler, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $updateStickersetsOrder, $forceResend, $cancellation); } /** * Sends a photo. @@ -1801,7 +1801,7 @@ abstract class InternalDoc */ final public function sendDocumentPhoto(string|int $peer, \danog\MadelineProto\EventHandler\Message|\danog\MadelineProto\EventHandler\Media|\danog\MadelineProto\LocalFile|\danog\MadelineProto\RemoteUrl|\danog\MadelineProto\BotApiFileId|\Amp\ByteStream\ReadableStream $file, string $caption = '', \danog\MadelineProto\ParseMode $parseMode = \danog\MadelineProto\ParseMode::TEXT, ?callable $callback = null, ?string $fileName = null, ?int $ttl = null, bool $spoiler = false, ?int $replyToMsgId = null, ?int $topMsgId = null, ?array $replyMarkup = null, string|int|null $sendAs = null, ?int $scheduleDate = null, bool $silent = false, bool $noForwards = false, bool $background = false, bool $clearDraft = false, bool $updateStickersetsOrder = false, bool $forceResend = false, ?\Amp\Cancellation $cancellation = null): \danog\MadelineProto\EventHandler\Message { - return $this->wrapper->getAPI()->sendDocumentPhoto($peer, $file, $caption, $parseMode, $callback, $fileName, $ttl, $spoiler, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $updateStickersetsOrder, $forceResend, $cancellation ?? $this->wrapper->getRpcDropCancellation()); + return $this->wrapper->getAPI()->sendDocumentPhoto($peer, $file, $caption, $parseMode, $callback, $fileName, $ttl, $spoiler, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $updateStickersetsOrder, $forceResend, $cancellation); } /** * Sends a gif. @@ -1832,7 +1832,7 @@ abstract class InternalDoc */ final public function sendGif(string|int $peer, \danog\MadelineProto\EventHandler\Message|\danog\MadelineProto\EventHandler\Media|\danog\MadelineProto\LocalFile|\danog\MadelineProto\RemoteUrl|\danog\MadelineProto\BotApiFileId|\Amp\ByteStream\ReadableStream $file, \danog\MadelineProto\EventHandler\Message|\danog\MadelineProto\EventHandler\Media|\danog\MadelineProto\LocalFile|\danog\MadelineProto\RemoteUrl|\danog\MadelineProto\BotApiFileId|\Amp\ByteStream\ReadableStream|null $thumb = null, string $caption = '', \danog\MadelineProto\ParseMode $parseMode = \danog\MadelineProto\ParseMode::TEXT, ?callable $callback = null, ?string $fileName = null, ?int $ttl = null, bool $spoiler = false, ?int $duration = null, ?int $width = null, ?int $height = null, string $thumbSeek = '00:00:01.000', ?int $replyToMsgId = null, ?int $topMsgId = null, ?array $replyMarkup = null, string|int|null $sendAs = null, ?int $scheduleDate = null, bool $silent = false, bool $noForwards = false, bool $background = false, bool $clearDraft = false, bool $forceResend = false, ?\Amp\Cancellation $cancellation = null): \danog\MadelineProto\EventHandler\Message { - return $this->wrapper->getAPI()->sendGif($peer, $file, $thumb, $caption, $parseMode, $callback, $fileName, $ttl, $spoiler, $duration, $width, $height, $thumbSeek, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $forceResend, $cancellation ?? $this->wrapper->getRpcDropCancellation()); + return $this->wrapper->getAPI()->sendGif($peer, $file, $thumb, $caption, $parseMode, $callback, $fileName, $ttl, $spoiler, $duration, $width, $height, $thumbSeek, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $forceResend, $cancellation); } /** * Sends a message. @@ -1854,7 +1854,7 @@ abstract class InternalDoc */ final public function sendMessage(string|int $peer, string $message, \danog\MadelineProto\ParseMode $parseMode = \danog\MadelineProto\ParseMode::TEXT, ?int $replyToMsgId = null, ?int $topMsgId = null, ?array $replyMarkup = null, string|int|null $sendAs = null, ?int $scheduleDate = null, bool $silent = false, bool $noForwards = false, bool $background = false, bool $clearDraft = false, bool $noWebpage = false, bool $updateStickersetsOrder = false, ?\Amp\Cancellation $cancellation = null): \danog\MadelineProto\EventHandler\Message { - return $this->wrapper->getAPI()->sendMessage($peer, $message, $parseMode, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $noWebpage, $updateStickersetsOrder, $cancellation ?? $this->wrapper->getRpcDropCancellation()); + return $this->wrapper->getAPI()->sendMessage($peer, $message, $parseMode, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $noWebpage, $updateStickersetsOrder, $cancellation); } /** * Sends a message to all report peers (admins of the bot). @@ -1872,7 +1872,7 @@ abstract class InternalDoc */ final public function sendMessageToAdmins(string $message, \danog\MadelineProto\ParseMode $parseMode = \danog\MadelineProto\ParseMode::TEXT, ?array $replyMarkup = null, ?int $scheduleDate = null, bool $silent = false, bool $noForwards = false, bool $background = false, bool $clearDraft = false, bool $noWebpage = false, ?\Amp\Cancellation $cancellation = null): array { - return $this->wrapper->getAPI()->sendMessageToAdmins($message, $parseMode, $replyMarkup, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $noWebpage, $cancellation ?? $this->wrapper->getRpcDropCancellation()); + return $this->wrapper->getAPI()->sendMessageToAdmins($message, $parseMode, $replyMarkup, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $noWebpage, $cancellation); } /** * Sends a photo. @@ -1900,7 +1900,7 @@ abstract class InternalDoc */ final public function sendPhoto(string|int $peer, \danog\MadelineProto\EventHandler\Message|\danog\MadelineProto\EventHandler\Media|\danog\MadelineProto\LocalFile|\danog\MadelineProto\RemoteUrl|\danog\MadelineProto\BotApiFileId|\Amp\ByteStream\ReadableStream $file, string $caption = '', \danog\MadelineProto\ParseMode $parseMode = \danog\MadelineProto\ParseMode::TEXT, ?callable $callback = null, ?string $fileName = null, ?int $ttl = null, bool $spoiler = false, ?int $replyToMsgId = null, ?int $topMsgId = null, ?array $replyMarkup = null, string|int|null $sendAs = null, ?int $scheduleDate = null, bool $silent = false, bool $noForwards = false, bool $background = false, bool $clearDraft = false, bool $updateStickersetsOrder = false, bool $forceResend = false, ?\Amp\Cancellation $cancellation = null): \danog\MadelineProto\EventHandler\Message { - return $this->wrapper->getAPI()->sendPhoto($peer, $file, $caption, $parseMode, $callback, $fileName, $ttl, $spoiler, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $updateStickersetsOrder, $forceResend, $cancellation ?? $this->wrapper->getRpcDropCancellation()); + return $this->wrapper->getAPI()->sendPhoto($peer, $file, $caption, $parseMode, $callback, $fileName, $ttl, $spoiler, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $updateStickersetsOrder, $forceResend, $cancellation); } /** * Sends a sticker. @@ -1929,7 +1929,7 @@ abstract class InternalDoc '_' => 'inputStickerSetEmpty', ], ?callable $callback = null, ?string $fileName = null, ?int $ttl = null, ?int $replyToMsgId = null, ?int $topMsgId = null, ?array $replyMarkup = null, string|int|null $sendAs = null, ?int $scheduleDate = null, bool $silent = false, bool $noForwards = false, bool $background = false, bool $clearDraft = false, bool $updateStickersetsOrder = false, bool $forceResend = false, ?\Amp\Cancellation $cancellation = null): \danog\MadelineProto\EventHandler\Message { - return $this->wrapper->getAPI()->sendSticker($peer, $file, $mimeType, $emoji, $stickerSet, $callback, $fileName, $ttl, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $updateStickersetsOrder, $forceResend, $cancellation ?? $this->wrapper->getRpcDropCancellation()); + return $this->wrapper->getAPI()->sendSticker($peer, $file, $mimeType, $emoji, $stickerSet, $callback, $fileName, $ttl, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $updateStickersetsOrder, $forceResend, $cancellation); } /** * Sends a video. @@ -1966,7 +1966,7 @@ abstract class InternalDoc */ final public function sendVideo(string|int $peer, \danog\MadelineProto\EventHandler\Message|\danog\MadelineProto\EventHandler\Media|\danog\MadelineProto\LocalFile|\danog\MadelineProto\RemoteUrl|\danog\MadelineProto\BotApiFileId|\Amp\ByteStream\ReadableStream $file, \danog\MadelineProto\EventHandler\Message|\danog\MadelineProto\EventHandler\Media|\danog\MadelineProto\LocalFile|\danog\MadelineProto\RemoteUrl|\danog\MadelineProto\BotApiFileId|\Amp\ByteStream\ReadableStream|null $thumb = null, string $caption = '', \danog\MadelineProto\ParseMode $parseMode = \danog\MadelineProto\ParseMode::TEXT, ?callable $callback = null, ?string $fileName = null, string $mimeType = 'video/mp4', ?int $ttl = null, bool $spoiler = false, bool $roundMessage = false, bool $supportsStreaming = true, bool $noSound = false, ?int $duration = null, ?int $width = null, ?int $height = null, string $thumbSeek = '00:00:01.000', ?int $replyToMsgId = null, ?int $topMsgId = null, ?array $replyMarkup = null, string|int|null $sendAs = null, ?int $scheduleDate = null, bool $silent = false, bool $noForwards = false, bool $background = false, bool $clearDraft = false, bool $forceResend = false, bool $updateStickersetsOrder = false, ?\Amp\Cancellation $cancellation = null): \danog\MadelineProto\EventHandler\Message { - return $this->wrapper->getAPI()->sendVideo($peer, $file, $thumb, $caption, $parseMode, $callback, $fileName, $mimeType, $ttl, $spoiler, $roundMessage, $supportsStreaming, $noSound, $duration, $width, $height, $thumbSeek, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $forceResend, $updateStickersetsOrder, $cancellation ?? $this->wrapper->getRpcDropCancellation()); + return $this->wrapper->getAPI()->sendVideo($peer, $file, $thumb, $caption, $parseMode, $callback, $fileName, $mimeType, $ttl, $spoiler, $roundMessage, $supportsStreaming, $noSound, $duration, $width, $height, $thumbSeek, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $forceResend, $updateStickersetsOrder, $cancellation); } /** * Sends a voice. @@ -1997,7 +1997,7 @@ abstract class InternalDoc */ final public function sendVoice(string|int $peer, \danog\MadelineProto\EventHandler\Message|\danog\MadelineProto\EventHandler\Media|\danog\MadelineProto\LocalFile|\danog\MadelineProto\RemoteUrl|\danog\MadelineProto\BotApiFileId|\Amp\ByteStream\ReadableStream $file, string $caption = '', \danog\MadelineProto\ParseMode $parseMode = \danog\MadelineProto\ParseMode::TEXT, ?callable $callback = null, ?string $fileName = null, ?int $ttl = null, ?int $duration = null, ?array $waveform = null, ?int $replyToMsgId = null, ?int $topMsgId = null, ?array $replyMarkup = null, string|int|null $sendAs = null, ?int $scheduleDate = null, bool $silent = false, bool $noForwards = false, bool $background = false, bool $clearDraft = false, bool $forceResend = false, ?\Amp\Cancellation $cancellation = null): \danog\MadelineProto\EventHandler\Message { - return $this->wrapper->getAPI()->sendVoice($peer, $file, $caption, $parseMode, $callback, $fileName, $ttl, $duration, $waveform, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $forceResend, $cancellation ?? $this->wrapper->getRpcDropCancellation()); + return $this->wrapper->getAPI()->sendVoice($peer, $file, $caption, $parseMode, $callback, $fileName, $ttl, $duration, $waveform, $replyToMsgId, $topMsgId, $replyMarkup, $sendAs, $scheduleDate, $silent, $noForwards, $background, $clearDraft, $forceResend, $cancellation); } /** * Set NOOP update handler, ignoring all updates. @@ -2220,7 +2220,7 @@ abstract class InternalDoc */ final public function upload($file, string $fileName = '', ?callable $cb = null, bool $encrypted = false, ?\Amp\Cancellation $cancellation = null): array { - return $this->wrapper->getAPI()->upload($file, $fileName, $cb, $encrypted, $cancellation ?? $this->wrapper->getRpcDropCancellation()); + return $this->wrapper->getAPI()->upload($file, $fileName, $cb, $encrypted, $cancellation); } /** * Upload file to secret chat. @@ -2233,7 +2233,7 @@ abstract class InternalDoc */ final public function uploadEncrypted($file, string $fileName = '', ?callable $cb = null, ?\Amp\Cancellation $cancellation = null): array { - return $this->wrapper->getAPI()->uploadEncrypted($file, $fileName, $cb, $cancellation ?? $this->wrapper->getRpcDropCancellation()); + return $this->wrapper->getAPI()->uploadEncrypted($file, $fileName, $cb, $cancellation); } /** * Upload file from callable. @@ -2253,7 +2253,7 @@ abstract class InternalDoc */ final public function uploadFromCallable(callable $callable, int $size = 0, string $mime = 'application/octet-stream', string $fileName = '', ?callable $cb = null, bool $seekable = true, bool $encrypted = false, ?\Amp\Cancellation $cancellation = null): array { - return $this->wrapper->getAPI()->uploadFromCallable($callable, $size, $mime, $fileName, $cb, $seekable, $encrypted, $cancellation ?? $this->wrapper->getRpcDropCancellation()); + return $this->wrapper->getAPI()->uploadFromCallable($callable, $size, $mime, $fileName, $cb, $seekable, $encrypted, $cancellation); } /** * Upload file from stream. @@ -2269,7 +2269,7 @@ abstract class InternalDoc */ final public function uploadFromStream(mixed $stream, int $size = 0, string $mime = 'application/octet-stream', string $fileName = '', ?callable $cb = null, bool $encrypted = false, ?\Amp\Cancellation $cancellation = null): array { - return $this->wrapper->getAPI()->uploadFromStream($stream, $size, $mime, $fileName, $cb, $encrypted, $cancellation ?? $this->wrapper->getRpcDropCancellation()); + return $this->wrapper->getAPI()->uploadFromStream($stream, $size, $mime, $fileName, $cb, $encrypted, $cancellation); } /** * Reupload telegram file. @@ -2282,7 +2282,7 @@ abstract class InternalDoc */ final public function uploadFromTgfile(mixed $media, ?callable $cb = null, bool $encrypted = false, ?\Amp\Cancellation $cancellation = null): array { - return $this->wrapper->getAPI()->uploadFromTgfile($media, $cb, $encrypted, $cancellation ?? $this->wrapper->getRpcDropCancellation()); + return $this->wrapper->getAPI()->uploadFromTgfile($media, $cb, $encrypted, $cancellation); } /** * Upload file from URL. @@ -2296,7 +2296,7 @@ abstract class InternalDoc */ final public function uploadFromUrl(\danog\MadelineProto\FileCallbackInterface|string $url, int $size = 0, string $fileName = '', ?callable $cb = null, bool $encrypted = false, ?\Amp\Cancellation $cancellation = null): array { - return $this->wrapper->getAPI()->uploadFromUrl($url, $size, $fileName, $cb, $encrypted, $cancellation ?? $this->wrapper->getRpcDropCancellation()); + return $this->wrapper->getAPI()->uploadFromUrl($url, $size, $fileName, $cb, $encrypted, $cancellation); } /** * Perform static analysis on a certain event handler class, to make sure it satisfies some performance requirements. diff --git a/tools/AnnotationsBuilder.php b/tools/AnnotationsBuilder.php index 04b1e1cd9..2a041b0cf 100644 --- a/tools/AnnotationsBuilder.php +++ b/tools/AnnotationsBuilder.php @@ -522,7 +522,6 @@ final class Blacklist { } $paramList .= '$'.$param->getName(); if ($param->getName() === 'cancellation') { - $paramList .= ' ?? $this->wrapper->getRpcDropCancellation()'; $hasCancellation = true; } $paramList .= ', ';