diff --git a/v1.json b/v1.json index 3f1d052..f75dfd2 100644 --- a/v1.json +++ b/v1.json @@ -255,6 +255,12 @@ "MESSAGE_ID_INVALID", "PEER_ID_INVALID" ], + "messages.setGameScore": [ + "BOT_SCORE_NOT_MODIFIED", + "MESSAGE_ID_INVALID", + "PEER_ID_INVALID", + "USER_BOT_REQUIRED" + ], "channels.setDiscussionGroup": [ "BROADCAST_ID_INVALID", "CHANNEL_INVALID", @@ -814,7 +820,8 @@ "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_ID_INVALID", - "PEER_ID_INVALID" + "PEER_ID_INVALID", + "USAGE_LIMIT_INVALID" ], "messages.getOnlines": [ "CHANNEL_PRIVATE", @@ -1242,11 +1249,6 @@ "MESSAGE_ID_INVALID", "PEER_ID_INVALID" ], - "messages.setGameScore": [ - "MESSAGE_ID_INVALID", - "PEER_ID_INVALID", - "USER_BOT_REQUIRED" - ], "messages.setInlineGameScore": [ "MESSAGE_ID_INVALID", "USER_BOT_REQUIRED" @@ -1458,6 +1460,9 @@ "users.setSecureValueErrors": [ "USER_ID_INVALID" ], + "messages.checkHistoryImportPeer": [ + "USER_NOT_MUTUAL_CONTACT" + ], "account.checkUsername": [ "USERNAME_INVALID" ], @@ -2329,6 +2334,9 @@ "photos.deletePhotos": [ "Timeout" ], + "photos.getUserPhotos": [ + "Timeout" + ], "photos.updateProfilePhoto": [ "Timeout" ], @@ -2467,6 +2475,9 @@ "BOT_RESPONSE_TIMEOUT": [ "A timeout occurred while fetching data from the bot" ], + "BOT_SCORE_NOT_MODIFIED": [ + "The score wasn't modified" + ], "BOTS_TOO_MUCH": [ "There are too many bots in this chat\/channel" ], @@ -3427,6 +3438,9 @@ "URL_INVALID": [ "Invalid URL provided" ], + "USAGE_LIMIT_INVALID": [ + "The specified usage limit is invalid" + ], "USER_ADMIN_INVALID": [ "You're not an admin" ], diff --git a/v2.json b/v2.json index 3b585e8..ed1e02e 100644 --- a/v2.json +++ b/v2.json @@ -3785,6 +3785,11 @@ "error_message": "MSG_ID_INVALID", "error_description": "Invalid message ID provided" }, + { + "error_code": -503, + "error_message": "Timeout", + "error_description": "Timeout while fetching data" + }, { "error_code": 400, "error_message": "USER_ID_INVALID", @@ -4110,6 +4115,28 @@ "error_description": "The provided sticker is invalid" } ], + "messages.setGameScore": [ + { + "error_code": 400, + "error_message": "BOT_SCORE_NOT_MODIFIED", + "error_description": "The score wasn't modified" + }, + { + "error_code": 400, + "error_message": "MESSAGE_ID_INVALID", + "error_description": "The provided message id is invalid" + }, + { + "error_code": 400, + "error_message": "PEER_ID_INVALID", + "error_description": "The provided peer id is invalid" + }, + { + "error_code": 400, + "error_message": "USER_BOT_REQUIRED", + "error_description": "This method can only be called by a bot" + } + ], "messages.getPollVotes": [ { "error_code": 403, @@ -5133,6 +5160,11 @@ "error_code": 400, "error_message": "PEER_ID_INVALID", "error_description": "The provided peer id is invalid" + }, + { + "error_code": 400, + "error_message": "USAGE_LIMIT_INVALID", + "error_description": "The specified usage limit is invalid" } ], "messages.getOnlines": [ @@ -6330,23 +6362,6 @@ "error_description": "The provided peer id is invalid" } ], - "messages.setGameScore": [ - { - "error_code": 400, - "error_message": "MESSAGE_ID_INVALID", - "error_description": "The provided message id is invalid" - }, - { - "error_code": 400, - "error_message": "PEER_ID_INVALID", - "error_description": "The provided peer id is invalid" - }, - { - "error_code": 400, - "error_message": "USER_BOT_REQUIRED", - "error_description": "This method can only be called by a bot" - } - ], "messages.setInlineGameScore": [ { "error_code": 400, @@ -6974,6 +6989,13 @@ "error_description": "Invalid user provided" } ], + "messages.checkHistoryImportPeer": [ + { + "error_code": 400, + "error_message": "USER_NOT_MUTUAL_CONTACT", + "error_description": "The provided user is not a mutual contact" + } + ], "account.uploadWallPaper": [ { "error_code": 400, diff --git a/v3.json b/v3.json index 71dcfb5..43f3e13 100644 --- a/v3.json +++ b/v3.json @@ -255,6 +255,12 @@ "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", + "USER_BOT_REQUIRED": "USER_BOT_REQUIRED" + }, "channels.setDiscussionGroup": { "BROADCAST_ID_INVALID": "BROADCAST_ID_INVALID", "CHANNEL_INVALID": "CHANNEL_INVALID", @@ -814,7 +820,8 @@ "CHANNEL_PRIVATE": "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED": "CHAT_ADMIN_REQUIRED", "CHAT_ID_INVALID": "CHAT_ID_INVALID", - "PEER_ID_INVALID": "PEER_ID_INVALID" + "PEER_ID_INVALID": "PEER_ID_INVALID", + "USAGE_LIMIT_INVALID": "USAGE_LIMIT_INVALID" }, "messages.getOnlines": { "CHANNEL_PRIVATE": "CHANNEL_PRIVATE", @@ -1242,11 +1249,6 @@ "MESSAGE_ID_INVALID": "MESSAGE_ID_INVALID", "PEER_ID_INVALID": "PEER_ID_INVALID" }, - "messages.setGameScore": { - "MESSAGE_ID_INVALID": "MESSAGE_ID_INVALID", - "PEER_ID_INVALID": "PEER_ID_INVALID", - "USER_BOT_REQUIRED": "USER_BOT_REQUIRED" - }, "messages.setInlineGameScore": { "MESSAGE_ID_INVALID": "MESSAGE_ID_INVALID", "USER_BOT_REQUIRED": "USER_BOT_REQUIRED" @@ -1458,6 +1460,9 @@ "users.setSecureValueErrors": { "USER_ID_INVALID": "USER_ID_INVALID" }, + "messages.checkHistoryImportPeer": { + "USER_NOT_MUTUAL_CONTACT": "USER_NOT_MUTUAL_CONTACT" + }, "account.checkUsername": { "USERNAME_INVALID": "USERNAME_INVALID" }, @@ -2626,6 +2631,9 @@ "photos.deletePhotos": { "Timeout": "Timeout" }, + "photos.getUserPhotos": { + "Timeout": "Timeout" + }, "photos.updateProfilePhoto": { "Timeout": "Timeout" }, @@ -2698,6 +2706,7 @@ "BOT_METHOD_INVALID": "This method cannot be run by a bot", "BOT_MISSING": "This method can only be run by a bot", "BOT_RESPONSE_TIMEOUT": "A timeout occurred while fetching data from the bot", + "BOT_SCORE_NOT_MODIFIED": "The score wasn't modified", "BOTS_TOO_MUCH": "There are too many bots in this chat\/channel", "BROADCAST_FORBIDDEN": "", "BROADCAST_ID_INVALID": "Broadcast ID invalid", @@ -3018,6 +3027,7 @@ "UNTIL_DATE_INVALID": "Invalid until date provided", "UPLOAD_NO_VOLUME": "An internal error occurred", "URL_INVALID": "Invalid URL provided", + "USAGE_LIMIT_INVALID": "The specified usage limit is invalid", "USER_ADMIN_INVALID": "You're not an admin", "USER_ALREADY_PARTICIPANT": "The user is already in the group", "USER_BANNED_IN_CHANNEL": "You're banned from sending messages in supergroups\/channels", diff --git a/v4.json b/v4.json index 4cb3642..9cb0c09 100644 --- a/v4.json +++ b/v4.json @@ -93,6 +93,9 @@ "messages.getBotCallbackAnswer", "messages.getInlineBotResults" ], + "BOT_SCORE_NOT_MODIFIED": [ + "messages.setGameScore" + ], "BOTS_TOO_MUCH": [ "channels.editAdmin", "channels.inviteToChannel" @@ -1380,6 +1383,9 @@ "URL_INVALID": [ "messages.setBotCallbackAnswer" ], + "USAGE_LIMIT_INVALID": [ + "messages.exportChatInvite" + ], "USER_ADMIN_INVALID": [ "channels.editBanned" ], @@ -1467,7 +1473,8 @@ ], "USER_NOT_MUTUAL_CONTACT": [ "channels.editAdmin", - "channels.inviteToChannel" + "channels.inviteToChannel", + "messages.checkHistoryImportPeer" ], "USER_NOT_PARTICIPANT": [ "channels.getParticipant", @@ -2211,6 +2218,7 @@ "messages.setTyping", "messages.uploadMedia", "photos.deletePhotos", + "photos.getUserPhotos", "photos.updateProfilePhoto", "photos.uploadProfilePhoto", "stats.getBroadcastStats", @@ -2260,6 +2268,7 @@ "BOT_METHOD_INVALID": "This method cannot be run by a bot", "BOT_MISSING": "This method can only be run by a bot", "BOT_RESPONSE_TIMEOUT": "A timeout occurred while fetching data from the bot", + "BOT_SCORE_NOT_MODIFIED": "The score wasn't modified", "BOTS_TOO_MUCH": "There are too many bots in this chat\/channel", "BROADCAST_FORBIDDEN": "", "BROADCAST_ID_INVALID": "Broadcast ID invalid", @@ -2580,6 +2589,7 @@ "UNTIL_DATE_INVALID": "Invalid until date provided", "UPLOAD_NO_VOLUME": "An internal error occurred", "URL_INVALID": "Invalid URL provided", + "USAGE_LIMIT_INVALID": "The specified usage limit is invalid", "USER_ADMIN_INVALID": "You're not an admin", "USER_ALREADY_PARTICIPANT": "The user is already in the group", "USER_BANNED_IN_CHANNEL": "You're banned from sending messages in supergroups\/channels",